Zigbee Protocol Controller 1.6.0
zigpc_group_mgmt_mqtt.h File Reference
#include "zigpc_common_zigbee.h"
#include "sl_status.h"

Go to the source code of this file.

Functions

sl_status_t zigpc_group_mqttpub_republish ()
 zigpc_group_mqttpub_republish More...
 
sl_status_t zigpc_group_mqttpub_grouplist (const zigbee_eui64_t eui64, const zigbee_endpoint_id_t endpoint_id, bool is_reported)
 zigpc_group_mqttpub_grouplist Publish on the MQTT groups list topic for either REPORTED or DESIRED More...
 
sl_status_t zigpc_group_mqttpub_member_groupname (const zigbee_eui64_t eui64, const zigbee_endpoint_id_t endpoint_id, const zigbee_group_id_t group_id, bool is_reported)
 zigpc_group_mqttpub_member_groupname Publish the name of a group for a given member More...
 
sl_status_t zigpc_group_mqtt_assemble_topic (const zigbee_eui64_t eui64, const zigbee_endpoint_id_t endpoint_id, const char *base_cstr, unsigned int base_cstr_size, bool is_reported, char *topic_string, unsigned int topic_size)
 zigpc_group_mqtt_assemble_topic More...
 
sl_status_t zigpc_group_mqtt_assemble_group_payload (const zigbee_eui64_t eui64, const zigbee_endpoint_id_t endpoint_id, bool is_reported, char *payload_string, size_t *payload_size)
 Assemble the JSON payload for GroupList attribute. If there are no groupIDs part of a EUI64/endpoint identifer, the payload will be an empty string with payload_size set to 0U; else the payload will be in an array format and the payload_size variable will be set to the resulting payload string size. More...
 
sl_status_t zigpc_group_mqtt_assemble_name_payload (const zigbee_eui64_t eui64, const zigbee_endpoint_id_t endpoint_id, const zigbee_group_id_t group_id, bool is_reported, char *const payload_string, size_t *const payload_size)
 zigpc_group_mqtt_assemble_name_payload Assemble the payload for publishing a group name. For empty group names, the payload with the value formatting is still populated. For group names not found, an empty string is returned More...