This is the second 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/framework_laptop.html#ChargeLimitControlModes)
- `EC_CMD_TEMP_SENSOR_GET_INFO` - [` temp_sensor_get_info()`](https://steve-tech.github.io/CrOS_EC_Python/cros_ec_python/commands/thermal.html#temp_sensor_get_info)
**Framework Specific Commands (`framework_laptop`)**
- `EC_CMD_CHARGE_LIMIT_CONTROL` - [`get_charge_limit()`](https://steve-tech.github.io/CrOS_EC_Python/cros_ec_python/commands/framework_laptop.html#get_charge_limit)
- `EC_CMD_PWM_GET_FAN_ACTUAL_RPM` - [`pwm_get_fan_rpm()`](https://steve-tech.github.io/CrOS_EC_Python/cros_ec_python/commands/framework_laptop.html#pwm_get_fan_rpm)
- `EC_CMD_CHASSIS_INTRUSION` - [`get_chassis_intrusion()`](https://steve-tech.github.io/CrOS_EC_Python/cros_ec_python/commands/framework_laptop.html#get_chassis_intrusion)
- `EC_CMD_FP_LED_LEVEL_CONTROL` - [`set_fp_led_level()`](https://steve-tech.github.io/CrOS_EC_Python/cros_ec_python/commands/framework_laptop.html#set_fp_led_level)
- `EC_CMD_CHASSIS_OPEN_CHECK` - [`get_chassis_open_check()`](https://steve-tech.github.io/CrOS_EC_Python/cros_ec_python/commands/framework_laptop.html#get_chassis_open_check)
- `EC_CMD_PRIVACY_SWITCHES_CHECK_MODE` - [`get_privacy_switches()`](https://steve-tech.github.io/CrOS_EC_Python/cros_ec_python/commands/framework_laptop.html#get_privacy_switches)
- `EC_CMD_CHASSIS_COUNTER` - [`get_chassis_counter()`](https://steve-tech.github.io/CrOS_EC_Python/cros_ec_python/commands/framework_laptop.html#get_chassis_counter)
- `EC_CMD_GET_SIMPLE_VERSION` - [`get_simple_version()`](https://steve-tech.github.io/CrOS_EC_Python/cros_ec_python/commands/framework_laptop.html#get_simple_version)
- `EC_CMD_GET_ACTIVE_CHARGE_PD_CHIP` - [`get_active_charge_pd_chip()`](https://steve-tech.github.io/CrOS_EC_Python/cros_ec_python/commands/framework_laptop.html#get_active_charge_pd_chip)
- `EC_CMD_FP_CONTROL` - [`fp_control()`](https://steve-tech.github.io/CrOS_EC_Python/cros_ec_python/commands/framework_laptop.html#fp_control)
- `EC_CMD_BATTERY_EXTENDER` - [`get_battery_extender()`](https://steve-tech.github.io/CrOS_EC_Python/cros_ec_python/commands/framework_laptop.html#get_battery_extender)
---
**Full Changelog**: https://github.com/Steve-Tech/CrOS_EC_Python/compare/0.0.1...0.0.2