107 std::string endpoint_str,
111 const std::string topic,
115 const std::string topic,
119 const std::string topic,
120 std::string &cluster_name);
123 const std::string topic,
124 const std::string payload,
127 std::string &cluster_name,
uint32_t sl_status_t
Definition: sl_status.h:139
uint64_t zigbee_eui64_uint_t
Zigbee Device Identifier (stored as integer)
Definition: zigpc_common_zigbee.h:199
uint8_t zigbee_endpoint_id_t
A representation of the endpoint id used on the Zigbee protocol.
Definition: zigpc_common_zigbee.h:248
enum zigbee_node_network_status zigbee_node_network_status_t
The possible states that a Zigbee node can be in.
sl_status_t parse_unid(std::string unid, zigbee_eui64_uint_t &eui64)
Parse a UCL UNID into Zigbee device identifier.
sl_status_t parse_topic_endpoint(const std::string topic, zigbee_endpoint_id_t &endpoint)
topic_type_t
Types of specific UCL topics that can be build along with variables passed via mqtt::topic_data_t.
Definition: zigpc_ucl.hpp:65
@ BY_UNID_PC_NWMGMT_WRITE
sl_status_t parse_topic_eui64(const std::string topic, zigbee_eui64_uint_t &eui64)
std::string build_unid(zigbee_eui64_uint_t eui64)
Build a UCL UNID based on the Zigbee device identifier.
sl_status_t publish_supported_generated(zigbee_eui64_uint_t eui64, zigbee_endpoint_id_t endpoint_id)
sl_status_t build_topic(zigpc_ucl::mqtt::topic_type_t topic_type, zigpc_ucl::mqtt::topic_data_t topic_data, std::string &topic)
Populate the topic string based on the topic type and data passed in.
sl_status_t parse_endpoint(std::string endpoint_str, zigbee_endpoint_id_t &endpoint)
sl_status_t parse_topic_cluster(const std::string topic, std::string &cluster_name)
sl_status_t parse_binding(const std::string topic, const std::string payload, zigbee_eui64_uint_t &source_eui64, zigbee_endpoint_id_t &source_ep, std::string &cluster_name, zigbee_eui64_uint_t &dest_eui64, zigbee_endpoint_id_t &dest_ep)
sl_status_t remove_node_topics(zigbee_eui64_uint_t eui64)
Unretain all topic for a particular device.
void cleanup_all_node_topics(void)
Unretain all node topics except the node state topic.
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 s...
UCL topic and payload manipulators in the Zigbee Protocol Controller.
Definition: zigpc_ucl.hpp:52
Data that is used to build UCL topics.
Definition: zigpc_ucl.hpp:77
zigbee_eui64_uint_t eui64
Definition: zigpc_ucl.hpp:78
zigbee_endpoint_id_t endpoint_id
Definition: zigpc_ucl.hpp:79