Zigbee Protocol Controller 1.6.0
|
Functions | |
sl_status_t | publish_state (zigbee_eui64_uint_t eui64, zigbee_node_network_status_t network_status, uint32_t max_cmd_delay) |
Update the device status with the parameters provided. This handler will publish the updated device state on MQTT. More... | |
sl_status_t | remove_node_topics (zigbee_eui64_uint_t eui64) |
Unretain all topic for a particular device. More... | |
void | cleanup_all_node_topics (void) |
Unretain all node topics except the node state topic. More... | |
void zigpc_ucl::node_state::cleanup_all_node_topics | ( | void | ) |
Unretain all node topics except the node state topic.
NOTE: This function should only be run on shutdown.
sl_status_t zigpc_ucl::node_state::publish_state | ( | zigbee_eui64_uint_t | eui64, |
zigbee_node_network_status_t | network_status, | ||
uint32_t | max_cmd_delay | ||
) |
Update the device status with the parameters provided. This handler will publish the updated device state on MQTT.
eui64 | Device identifier. |
network_status | Device network status. |
max_cmd_delay | Device maximum command delay. |
sl_status_t zigpc_ucl::node_state::remove_node_topics | ( | zigbee_eui64_uint_t | eui64 | ) |
Unretain all topic for a particular device.
eui64 | Device identifier. |