Functions | |
void | tr_power_configuration_server_init_cb (void) |
Callback fires when power configuration server cluster is initialized. | |
void | tr_power_configuration_server_write_attr_cb (zb_uint8_t endpoint, zb_uint16_t attr_id, zb_uint8_t *new_value, zb_uint16_t manuf_code) |
Callback fires when a power configuration server attribute is about to be written. | |
void | tr_power_configuration_server_battery_alarm_state_changed_cb (zb_uint8_t endpoint, zb_uint32_t batt_alarm_state) |
Callback fires when the power configuration server battery alarm state attribute is changes. | |
zb_bool_t | tr_power_configuration_server_pre_alarm_send_cb (zb_uint8_t endpoint, zb_uint8_t alarm_code) |
Callback fires when the power configuration server is about to send an alarm. | |
void tr_power_configuration_server_battery_alarm_state_changed_cb | ( | zb_uint8_t | endpoint, |
zb_uint32_t | batt_alarm_state ) |
Callback fires when the power configuration server battery alarm state attribute is changes.
endpoint | device endpoint |
batt_alarm_state | new battery alarm state value |
void tr_power_configuration_server_init_cb | ( | void | ) |
Callback fires when power configuration server cluster is initialized.
zb_bool_t tr_power_configuration_server_pre_alarm_send_cb | ( | zb_uint8_t | endpoint, |
zb_uint8_t | alarm_code ) |
Callback fires when the power configuration server is about to send an alarm.
endpoint | device endpoint |
alarm_code | alarm code to be sent |
void tr_power_configuration_server_write_attr_cb | ( | zb_uint8_t | endpoint, |
zb_uint16_t | attr_id, | ||
zb_uint8_t * | new_value, | ||
zb_uint16_t | manuf_code ) |
Callback fires when a power configuration server attribute is about to be written.
endpoint | device endpoint |
attr_id | ZCL attribute id |
new_value | pointer to the new attribute value |
manuf_code | manufacturer specific code |