Cros-ec-python

Latest version: v0.0.1

Safety actively analyzes 682416 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.0.1

This is the first release of CrOS_EC_Python! Below are the interfaces and command abstractions supported by this release.

Supported interfaces:

- Linux Device - [`CrosEcDev()`](https://steve-tech.github.io/CrOS_EC_Python/cros_ec_python/devices/dev.html#CrosEcDev)
- LPC Bus Interface - [`CrosEcLpc()`](https://steve-tech.github.io/CrOS_EC_Python/cros_ec_python/devices/lpc.html#CrosEcLpc)

Abstracted commands:

**General / test commands (`general`)**

- `EC_CMD_PROTO_VERSION` - [`proto_version()`](https://steve-tech.github.io/CrOS_EC_Python/cros_ec_python/commands/general.html#proto_version)
- `EC_CMD_HELLO` - [`hello()`](https://steve-tech.github.io/CrOS_EC_Python/cros_ec_python/commands/general.html#hello)
- `EC_CMD_GET_VERSION` - [`get_version()`](https://steve-tech.github.io/CrOS_EC_Python/cros_ec_python/commands/general.html#get_version)
- `EC_CMD_GET_BUILD_INFO` - [`get_build_info()`](https://steve-tech.github.io/CrOS_EC_Python/cros_ec_python/commands/general.html#get_build_info)
- `EC_CMD_GET_CHIP_INFO` - [`get_chip_info()`](https://steve-tech.github.io/CrOS_EC_Python/cros_ec_python/commands/general.html#get_chip_info)
- `EC_CMD_GET_BOARD_VERSION` - [`get_board_version()`](https://steve-tech.github.io/CrOS_EC_Python/cros_ec_python/commands/general.html#get_board_version)
- `EC_CMD_GET_CMD_VERSIONS` - [`get_cmd_versions()`](https://steve-tech.github.io/CrOS_EC_Python/cros_ec_python/commands/general.html#get_cmd_versions)
- `EC_CMD_TEST_PROTOCOL` - [`test_protocol()`](https://steve-tech.github.io/CrOS_EC_Python/cros_ec_python/commands/general.html#test_protocol)
- `EC_CMD_GET_PROTOCOL_INFO` - [`get_protocol_info()`](https://steve-tech.github.io/CrOS_EC_Python/cros_ec_python/commands/general.html#get_protocol_info)

**Get features (`features`)**

- `EC_CMD_GET_FEATURES` - [`get_features()`](https://steve-tech.github.io/CrOS_EC_Python/cros_ec_python/commands/features.html#get_features)

**PWM commands (`pwm`)**

- `EC_CMD_PWM_GET_FAN_TARGET_RPM` - [`pwm_get_fan_rpm()`](https://steve-tech.github.io/CrOS_EC_Python/cros_ec_python/commands/pwm.html#pwm_get_fan_rpm)
- `EC_CMD_PWM_SET_FAN_TARGET_RPM` - [`pwm_set_fan_rpm()`](https://steve-tech.github.io/CrOS_EC_Python/cros_ec_python/commands/pwm.html#pwm_set_fan_rpm)
- `EC_CMD_PWM_GET_KEYBOARD_BACKLIGHT` - [`pwm_get_keyboard_backlight()`](https://steve-tech.github.io/CrOS_EC_Python/cros_ec_python/commands/pwm.html#pwm_get_keyboard_backlight)
- `EC_CMD_PWM_SET_KEYBOARD_BACKLIGHT` - [`pwm_set_keyboard_backlight()`](https://steve-tech.github.io/CrOS_EC_Python/cros_ec_python/commands/pwm.html#pwm_set_keyboard_backlight)
- `EC_CMD_PWM_SET_FAN_DUTY` - [`pwm_set_fan_duty()`](https://steve-tech.github.io/CrOS_EC_Python/cros_ec_python/commands/pwm.html#pwm_set_fan_duty)
- `EC_CMD_PWM_SET_DUTY` - [`pwm_set_duty()`](https://steve-tech.github.io/CrOS_EC_Python/cros_ec_python/commands/pwm.html#pwm_set_duty)
- `EC_CMD_PWM_GET_DUTY` - [`pwm_get_duty()`](https://steve-tech.github.io/CrOS_EC_Python/cros_ec_python/commands/pwm.html#pwm_get_duty)

**LED control commands (`leds`)**

- `EC_CMD_LED_CONTROL` - [`led_control()`](https://steve-tech.github.io/CrOS_EC_Python/cros_ec_python/commands/leds.html#led_control)

**Thermal engine commands (`thermal`)**

- `EC_CMD_THERMAL_AUTO_FAN_CTRL` - [`thermal_auto_fan_ctrl()`](https://steve-tech.github.io/CrOS_EC_Python/cros_ec_python/commands/thermal.html#thermal_auto_fan_ctrl)

---

**Full Changelog**: https://github.com/Steve-Tech/CrOS_EC_Python/commits/0.0.1

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.