|
enum | zb_zcl_power_config_attr_e {
ZB_ZCL_ATTR_POWER_CONFIG_MAINS_VOLTAGE_ID = 0x0000,
ZB_ZCL_ATTR_POWER_CONFIG_MAINS_FREQUENCY_ID = 0x0001,
ZB_ZCL_ATTR_POWER_CONFIG_MAINS_ALARM_MASK_ID = 0x0010,
ZB_ZCL_ATTR_POWER_CONFIG_MAINS_VOLTAGE_MIN_THRESHOLD = 0x0011,
ZB_ZCL_ATTR_POWER_CONFIG_MAINS_VOLTAGE_MAX_THRESHOLD = 0x0012,
ZB_ZCL_ATTR_POWER_CONFIG_MAINS_DWELL_TRIP_POINT = 0x0013,
ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_VOLTAGE_ID = 0x0020,
ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_MANUFACTURER_ID = 0x0030,
ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_SIZE_ID = 0x0031,
ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_A_HR_RATING_ID = 0x0032,
ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_QUANTITY_ID = 0x0033,
ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_RATED_VOLTAGE_ID = 0x0034,
ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_ALARM_MASK_ID = 0x0035,
ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_VOLTAGE_MIN_THRESHOLD_ID = 0x0036,
ZB_ZCL_ATTR_POWER_CONFIG_CUSTOM_BATTERY_VOLTAGE_SHARP_ID = 0x8020
} |
| Power Configuration cluster attribute identifiers. More...
|
|
enum | zb_zcl_power_config_mains_alarm_mask_e { ZB_ZCL_POWER_CONFIG_MAINS_ALARM_MASK_VOLTAGE_LOW = 0x01,
ZB_ZCL_POWER_CONFIG_MAINS_ALARM_MASK_VOLTAGE_HIGH = 0x02,
ZB_ZCL_POWER_CONFIG_MAINS_ALARM_MASK_VOLTAGE_UNAVAIL = 0x04
} |
| Power Configuration MainsAlarmMask value see ZCL spec 3.3.2.2.4.7. More...
|
|
enum | zb_zcl_power_config_battery_size_e {
ZB_ZCL_POWER_CONFIG_BATTERY_SIZE_NO_BATTERY = 0,
ZB_ZCL_POWER_CONFIG_BATTERY_SIZE_BUILT_IN = 1,
ZB_ZCL_POWER_CONFIG_BATTERY_SIZE_OTHER = 2,
ZB_ZCL_POWER_CONFIG_BATTERY_SIZE_AA = 3,
ZB_ZCL_POWER_CONFIG_BATTERY_SIZE_AAA = 4,
ZB_ZCL_POWER_CONFIG_BATTERY_SIZE_C = 5,
ZB_ZCL_POWER_CONFIG_BATTERY_SIZE_D = 6,
ZB_ZCL_POWER_CONFIG_BATTERY_SIZE_CR2 = 7,
ZB_ZCL_POWER_CONFIG_BATTERY_SIZE_CR123A = 8,
ZB_ZCL_POWER_CONFIG_BATTERY_SIZE_UNKNOWN = 0xff
} |
| Power Configuration BatterySize value see ZCL spec 3.3.2.2.4.2. More...
|
|
enum | zb_zcl_power_config_battery_alarm_mask_e { ZB_ZCL_POWER_CONFIG_BATTERY_ALARM_MASK_VOLTAGE_LOW = 0
} |
| Power Configuration BatteryAlarmMask value see ZCL spec 3.3.2.2.4.7. More...
|
|
#define | ZB_ZCL_POWER_CONFIG_MAINS_ALARM_MASK_DEFAULT_VALUE ((zb_uint8_t)0x00) |
| Default value for MainsAlarmMask attribute.
|
|
#define | ZB_ZCL_POWER_CONFIG_MAINS_VOLTAGE_MIN_THRESHOLD_DEFAULT_VALUE ((zb_uint16_t)0x0000) |
| Default value for MainsVoltageMinThreshold attribute.
|
|
#define | ZB_ZCL_POWER_CONFIG_MAINS_VOLTAGE_MAX_THRESHOLD_DEFAULT_VALUE ((zb_uint16_t)0xFFFF) |
| Default value for MainsVoltageMaxThreshold attribute.
|
|
#define | ZB_ZCL_POWER_CONFIG_MAINS_DWELL_TRIP_POINT_DEFAULT_VALUE ((zb_uint16_t)0x0000) |
| Default value for MainsDwellTripPoint attribute.
|
|
#define | ZB_ZCL_POWER_CONFIG_BATTERY_VOLTAGE_INVALID 0xff |
| BatteryVoltage attribute invalid value.
|
|
#define | ZB_ZCL_POWER_CONFIG_BATTERY_REMAINING_HA_DEFAULT_VALUE ((zb_uint8_t)0) |
| Default value for BatteryRemainingHA attribute.
|
|
#define | ZB_ZCL_POWER_CONFIG_BATTERY_MANUFACTURER_DEFAULT_VALUE {0} |
| Default value for BatteryManufacturer attribute.
|
|
#define | ZB_ZCL_POWER_CONFIG_BATTERY_SIZE_DEFAULT_VALUE 0xff |
| BatterySize attribute default value.
|
|
#define | ZB_ZCL_POWER_CONFIG_BATTERY_ALARM_MASK_DEFAULT_VALUE 0x00 |
| BatteryAlarmMask attribute default value.
|
|
#define | ZB_ZCL_POWER_CONFIG_BATTERY_VOLTAGE_MIN_THRESHOLD_DEFAULT_VALUE ((zb_uint8_t)0x0000) |
| Default value for BatteryVoltageMinThreshold attribute.
|
|
#define | ZB_ZCL_POWER_CONFIG_BATTERY_VOLTAGE_THRESHOLD1_DEFAULT_VALUE ((zb_uint8_t)0x00) |
| Default value for BatteryVoltageThreshold1 attribute.
|
|
#define | ZB_ZCL_POWER_CONFIG_BATTERY_VOLTAGE_THRESHOLD2_DEFAULT_VALUE ((zb_uint8_t)0x00) |
| Default value for BatteryVoltageThreshold2 attribute.
|
|
#define | ZB_ZCL_POWER_CONFIG_BATTERY_VOLTAGE_THRESHOLD3_DEFAULT_VALUE ((zb_uint8_t)0x00) |
| Default value for BatteryVoltageThreshold3 attribute.
|
|
#define | ZB_ZCL_POWER_CONFIG_BATTERY_PERCENTAGE_MIN_THRESHOLD_DEFAULT_VALUE ((zb_uint8_t)0x00) |
| Default value for BatteryPercentageMinThreshold attribute.
|
|
#define | ZB_ZCL_POWER_CONFIG_BATTERY_PERCENTAGE_THRESHOLD1_DEFAULT_VALUE ((zb_uint8_t)0x00) |
| Default value for BatteryPercentageThreshold1 attribute.
|
|
#define | ZB_ZCL_POWER_CONFIG_BATTERY_PERCENTAGE_THRESHOLD2_DEFAULT_VALUE ((zb_uint8_t)0x00) |
| Default value for BatteryPercentageThreshold2 attribute.
|
|
#define | ZB_ZCL_POWER_CONFIG_BATTERY_PERCENTAGE_THRESHOLD3_DEFAULT_VALUE ((zb_uint8_t)0x00) |
| Default value for BatteryPercentageThreshold3 attribute.
|
|
#define | ZB_ZCL_POWER_CONFIG_BATTERY_ALARM_STATE_DEFAULT_VALUE ((zb_uint32_t)0x00000000) |
| Default value for BatteryAlarmState attribute.
|
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_MAINS_VOLTAGE_ID(data_ptr) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_MAINS_FREQUENCY_ID(data_ptr) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_MAINS_ALARM_MASK_ID(data_ptr) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_MAINS_VOLTAGE_MIN_THRESHOLD(data_ptr) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_MAINS_VOLTAGE_MAX_THRESHOLD(data_ptr) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_MAINS_DWELL_TRIP_POINT(data_ptr) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_VOLTAGE_ID(data_ptr) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_SIZE_ID(data_ptr) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_QUANTITY_ID(data_ptr) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_RATED_VOLTAGE_ID(data_ptr) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_ALARM_MASK_ID(data_ptr) |
|
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_VOLTAGE_MIN_THRESHOLD_ID(data_ptr) |
|
#define | ZB_ZCL_DECLARE_POWER_CONFIG_ATTRIB_LIST(attr_list,voltage, size, quantity, rated_voltage, alarm_mask, voltage_min_threshold) |
|
#define | ZB_ZCL_POWER_CONFIG_MAINS_ATTRIB_LIST(voltage, frequency, alarm_mask, voltage_min_threshold, voltage_max_threshold, dwell_trip_point) |
|
#define | ZB_ZCL_DECLARE_POWER_CONFIG_MAINS_ATTRIB_LIST(attr_list, voltage, frequency, alarm_mask,voltage_min_threshold, voltage_max_threshold, dwell_trip_point) |
|
#define | ZB_ZCL_POWER_CONFIG_REPORT_ATTR_COUNT 1 |
|
#define | ZB_ZCL_POWER_CONFIG_ALARM_CODE 0x10 |
|