|
enum | zb_zcl_power_config_attr_ha_e {
ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_REMAINING_HA_ID = 0x0021,
ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_VOLTAGE_THRESHOLD1_ID = 0x0037,
ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_VOLTAGE_THRESHOLD2_ID = 0x0038,
ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_VOLTAGE_THRESHOLD3_ID = 0x0039,
ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_PERCENTAGE_MIN_THRESHOLD_ID = 0x003a,
ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_PERCENTAGE_THRESHOLD1_ID = 0x003b,
ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_PERCENTAGE_THRESHOLD2_ID = 0x003c,
ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_PERCENTAGE_THRESHOLD3_ID = 0x003d,
ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_ALARM_STATE_ID = 0x003e,
ZB_ZCL_ATTR_POWER_CONFIG_BATTERY2_VOLTAGE_ID = 0x0040,
ZB_ZCL_ATTR_POWER_CONFIG_BATTERY2_REMAINING_HA_ID = 0x0041,
ZB_ZCL_ATTR_POWER_CONFIG_BATTERY2_SIZE_ID = 0x0051,
ZB_ZCL_ATTR_POWER_CONFIG_BATTERY2_QUANTITY_ID = 0x0053,
ZB_ZCL_ATTR_POWER_CONFIG_BATTERY2_RATED_VOLTAGE_ID = 0x0054,
ZB_ZCL_ATTR_POWER_CONFIG_BATTERY2_ALARM_MASK_ID = 0x0055,
ZB_ZCL_ATTR_POWER_CONFIG_BATTERY2_VOLTAGE_MIN_THRESHOLD_ID = 0x0056,
ZB_ZCL_ATTR_POWER_CONFIG_BATTERY2_VOLTAGE_THRESHOLD1_ID = 0x0057,
ZB_ZCL_ATTR_POWER_CONFIG_BATTERY2_VOLTAGE_THRESHOLD2_ID = 0x0058,
ZB_ZCL_ATTR_POWER_CONFIG_BATTERY2_VOLTAGE_THRESHOLD3_ID = 0x0059,
ZB_ZCL_ATTR_POWER_CONFIG_BATTERY2_PERCENTAGE_MIN_THRESHOLD_ID = 0x005a,
ZB_ZCL_ATTR_POWER_CONFIG_BATTERY2_PERCENTAGE_THRESHOLD1_ID = 0x005b,
ZB_ZCL_ATTR_POWER_CONFIG_BATTERY2_PERCENTAGE_THRESHOLD2_ID = 0x005c,
ZB_ZCL_ATTR_POWER_CONFIG_BATTERY2_PERCENTAGE_THRESHOLD3_ID = 0x005d,
ZB_ZCL_ATTR_POWER_CONFIG_BATTERY2_ALARM_STATE_ID = 0x005e
} |
| Power Configuration cluster - extension for HA attribute identifiers. More...
|
|
enum | zb_zcl_power_config_battery_alarm_mask_ha_e { ZB_ZCL_POWER_CONFIG_BATTERY_ALARM_MASK_VOLTAGE_LOW_HA = 0,
ZB_ZCL_POWER_CONFIG_BATTERY_ALARM_MASK_ALARM1 = 1,
ZB_ZCL_POWER_CONFIG_BATTERY_ALARM_MASK_ALARM2 = 2,
ZB_ZCL_POWER_CONFIG_BATTERY_ALARM_MASK_ALARM3 = 3
} |
| Power Configuration BatteryAlarmState attribute flags. More...
|
|
enum | zb_zcl_power_config_battery_alarm_code_ha_e {
ZB_ZCL_POWER_CONFIG_BATTERY_ALARM_CODE_SOURCE1_MIN_THRESHOLD = 0x10,
ZB_ZCL_POWER_CONFIG_BATTERY_ALARM_CODE_SOURCE1_VOLTAGE1 = 0x11,
ZB_ZCL_POWER_CONFIG_BATTERY_ALARM_CODE_SOURCE1_VOLTAGE2 = 0x12,
ZB_ZCL_POWER_CONFIG_BATTERY_ALARM_CODE_SOURCE1_VOLTAGE3 = 0x13,
ZB_ZCL_POWER_CONFIG_BATTERY_ALARM_CODE_SOURCE2_MIN_THRESHOLD = 0x20,
ZB_ZCL_POWER_CONFIG_BATTERY_ALARM_CODE_SOURCE2_VOLTAGE1 = 0x21,
ZB_ZCL_POWER_CONFIG_BATTERY_ALARM_CODE_SOURCE2_VOLTAGE2 = 0x22,
ZB_ZCL_POWER_CONFIG_BATTERY_ALARM_CODE_SOURCE2_VOLTAGE3 = 0x23,
ZB_ZCL_POWER_CONFIG_BATTERY_ALARM_CODE_SOURCE3_MIN_THRESHOLD = 0x30,
ZB_ZCL_POWER_CONFIG_BATTERY_ALARM_CODE_SOURCE3_VOLTAGE1 = 0x31,
ZB_ZCL_POWER_CONFIG_BATTERY_ALARM_CODE_SOURCE3_VOLTAGE2 = 0x32,
ZB_ZCL_POWER_CONFIG_BATTERY_ALARM_CODE_SOURCE3_VOLTAGE3 = 0x33
} |
| Power Configuration Alarm Code for Battery Alarm. More...
|
|
enum | zb_zcl_power_config_battery_alarm_state_ha_e {
ZB_ZCL_POWER_CONFIG_BATTERY_ALARM_STATE_SOURCE1_MIN_THRESHOLD = 1 << 0,
ZB_ZCL_POWER_CONFIG_BATTERY_ALARM_STATE_SOURCE1_VOLTAGE1 = 1 << 1,
ZB_ZCL_POWER_CONFIG_BATTERY_ALARM_STATE_SOURCE1_VOLTAGE2 = 1 << 2,
ZB_ZCL_POWER_CONFIG_BATTERY_ALARM_STATE_SOURCE1_VOLTAGE3 = 1 << 3,
ZB_ZCL_POWER_CONFIG_BATTERY_ALARM_STATE_SOURCE2_MIN_THRESHOLD = 1 << 10,
ZB_ZCL_POWER_CONFIG_BATTERY_ALARM_STATE_SOURCE2_VOLTAGE1 = 1 << 11,
ZB_ZCL_POWER_CONFIG_BATTERY_ALARM_STATE_SOURCE2_VOLTAGE2 = 1 << 12,
ZB_ZCL_POWER_CONFIG_BATTERY_ALARM_STATE_SOURCE2_VOLTAGE3 = 1 << 13,
ZB_ZCL_POWER_CONFIG_BATTERY_ALARM_STATE_SOURCE3_MIN_THRESHOLD = 1l << 20,
ZB_ZCL_POWER_CONFIG_BATTERY_ALARM_STATE_SOURCE3_VOLTAGE1 = 1l << 21,
ZB_ZCL_POWER_CONFIG_BATTERY_ALARM_STATE_SOURCE3_VOLTAGE2 = 1l << 22,
ZB_ZCL_POWER_CONFIG_BATTERY_ALARM_STATE_SOURCE3_VOLTAGE3 = 1l << 23
} |
| Power Configuration Alarm Code for Battery Alarm. More...
|
|
#define | ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_REMAINING_UNKNOWN 0xff |
| Power Configuration BatteryPercentageRemaining attribute unknown value.
|
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_REMAINING_HA_ID(data_ptr) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_VOLTAGE_THRESHOLD1_ID(data_ptr) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_VOLTAGE_THRESHOLD2_ID(data_ptr) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_VOLTAGE_THRESHOLD3_ID(data_ptr) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_PERCENTAGE_MIN_THRESHOLD_ID(data_ptr) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_PERCENTAGE_THRESHOLD1_ID(data_ptr) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_PERCENTAGE_THRESHOLD2_ID(data_ptr) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_PERCENTAGE_THRESHOLD3_ID(data_ptr) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_ALARM_STATE_ID(data_ptr) |
|
#define | ZB_ZCL_POWER_CONFIG_BATTERY_ATTRIB_LIST_HA(bat_num,voltage, size, quantity, rated_voltage, alarm_mask, voltage_min_threshold,remaining, threshold1, threshold2, threshold3, min_threshold, percent_threshold1,percent_threshold2, percent_threshold3, alarm_state) |
|
#define | ZB_ZCL_DECLARE_POWER_CONFIG_ATTRIB_LIST_HA(attr_list,voltage, size, quantity, rated_voltage, alarm_mask, voltage_min_threshold,remaining, threshold1, threshold2, threshold3, min_threshold, percent_threshold1,percent_threshold2, percent_threshold3, alarm_state) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_BATTERY2_VOLTAGE_ID(data_ptr) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_BATTERY2_SIZE_ID(data_ptr) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_BATTERY2_QUANTITY_ID(data_ptr) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_BATTERY2_RATED_VOLTAGE_ID(data_ptr) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_BATTERY2_ALARM_MASK_ID(data_ptr) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_BATTERY2_VOLTAGE_MIN_THRESHOLD_ID(data_ptr) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_BATTERY2_REMAINING_HA_ID(data_ptr) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_BATTERY2_VOLTAGE_THRESHOLD1_ID(data_ptr) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_BATTERY2_VOLTAGE_THRESHOLD2_ID(data_ptr) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_BATTERY2_VOLTAGE_THRESHOLD3_ID(data_ptr) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_BATTERY2_PERCENTAGE_MIN_THRESHOLD_ID(data_ptr) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_BATTERY2_PERCENTAGE_THRESHOLD1_ID(data_ptr) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_BATTERY2_PERCENTAGE_THRESHOLD2_ID(data_ptr) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_BATTERY2_PERCENTAGE_THRESHOLD3_ID(data_ptr) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_BATTERY2_ALARM_STATE_ID(data_ptr) |
|
#define | ZB_ZCL_DECLARE_POWER_CONFIG_ATTRIB_LIST_HA_2_BAT_FULL(attr_list,voltage, size, quantity, rated_voltage, alarm_mask, voltage_min_threshold,remaining, threshold1, threshold2, threshold3, min_threshold, percent_threshold1,percent_threshold2, percent_threshold3, alarm_state, voltage_b2, size_b2, quantity_b2, rated_voltage_b2, alarm_mask_b2, voltage_min_threshold_b2, remaining_b2, threshold1_b2, threshold2_b2, threshold3_b2, min_threshold_b2, percent_threshold1_b2, percent_threshold2_b2, percent_threshold3_b2, alarm_state_b2) |
|
#define | ZB_ZCL_DECLARE_POWER_CONFIG_ATTRIB_LIST_HA_2_BAT_MAINS_FULL(attr_list,voltage_m, frequency_m, alarm_mask_m,voltage_min_threshold_m, voltage_max_threshold_m,dwell_trip_point_m,voltage, size, quantity, rated_voltage, alarm_mask, voltage_min_threshold,remaining, threshold1, threshold2, threshold3, min_threshold, percent_threshold1,percent_threshold2, percent_threshold3, alarm_state, voltage_b2, size_b2, quantity_b2, rated_voltage_b2, alarm_mask_b2, voltage_min_threshold_b2, remaining_b2, threshold1_b2, threshold2_b2, threshold3_b2, min_threshold_b2, percent_threshold1_b2, percent_threshold2_b2, percent_threshold3_b2, alarm_state_b2) |
|
#define | ZB_ZCL_DECLARE_POWER_CONFIG_ATTRIB_LIST_HA_2_BAT_NO_ACCUM(attr_list, voltage, size, quantity, alarm_mask, voltage_min_threshold,threshold1, threshold2, threshold3, alarm_state,voltage_b2, size_b2, quantity_b2, alarm_mask_b2, voltage_min_threshold_b2, threshold1_b2, threshold2_b2, threshold3_b2, alarm_state_b2) |
|
#define | ZB_ZCL_POWER_CONFIG_REPORT_ATTR_COUNT 2 /* Voltage + Alarm State */ |
|
#define | ZB_ZCL_POWER_CONFIG_BAT_PACK_2_REPORT_ATTR_COUNT |
|