Functions | |
| void | tr_time_client_init_cb (zb_uint8_t endpoint) |
| Callback fires when the Time client cluster plugin is initialized. | |
| zb_bool_t | tr_time_client_command_received_cb (zb_zcl_parsed_hdr_t *cmd_info) |
| Callback that user can declare to handle any Time client commands. | |
| void | tr_time_client_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 Time client attribute is about to be written. | |
| void | tr_time_client_received_time_update_cb (zb_uint8_t endpoint, tr_new_zigbee_time_t *new_time) |
| Callback fires when a Time client receives an update to the time. | |
| void | tr_time_client_server_discovery_complete_cb (zb_bool_t server_found, zb_uint16_t server_address) |
| Callback fires when a Time Server Discovery finishes. | |
| zb_bool_t tr_time_client_command_received_cb | ( | zb_zcl_parsed_hdr_t * | cmd_info | ) |
Callback that user can declare to handle any Time client commands.
| cmd_info | struct that contains zcl header info |
| void tr_time_client_init_cb | ( | zb_uint8_t | endpoint | ) |
Callback fires when the Time client cluster plugin is initialized.
| endpoint | device endpoint being initialized |
| void tr_time_client_received_time_update_cb | ( | zb_uint8_t | endpoint, |
| tr_new_zigbee_time_t * | new_time ) |
Callback fires when a Time client receives an update to the time.
| endpoint | device endpoint |
| new_time | struct with the info on the new time that was received |
| void tr_time_client_server_discovery_complete_cb | ( | zb_bool_t | server_found, |
| zb_uint16_t | server_address ) |
Callback fires when a Time Server Discovery finishes.
| server_found | boolean to say if a server was discovered |
| server_address | if server_found is ZB_TRUE then this is the address discovered |
| void tr_time_client_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 Time client 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 |