Functions | |
| void | tr_power_configuration_server_init_cb (zb_uint8_t endpoint) |
| Callback fires when the Power Configuration server cluster plugin is initialized. | |
| zb_bool_t | tr_power_configuration_server_command_received_cb (zb_zcl_parsed_hdr_t *cmd_info) |
| Callback that user can declare to handle any Power Configuration server commands. | |
| 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 an 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 |
| zb_bool_t tr_power_configuration_server_command_received_cb | ( | zb_zcl_parsed_hdr_t * | cmd_info | ) |
Callback that user can declare to handle any Power Configuration server commands.
| cmd_info | struct that contains zcl header info |
| void tr_power_configuration_server_init_cb | ( | zb_uint8_t | endpoint | ) |
Callback fires when the Power Configuration server cluster plugin is initialized.
| endpoint | device endpoint being 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 an 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 |