25#ifndef ZIGPC_GROUP_MGMT_MQTT_H
26#define ZIGPC_GROUP_MGMT_MQTT_H
96 const char *base_cstr,
97 unsigned int base_cstr_size,
100 unsigned int topic_size);
123 char *payload_string,
124 size_t *payload_size);
148 char *
const payload_string,
149 size_t *
const payload_size);
uint32_t sl_status_t
Definition: sl_status.h:139
uint8_t zigbee_eui64_t[ZIGBEE_EUI64_SIZE]
Zigbee Device EUI64 ID.
Definition: zigpc_common_zigbee.h:193
uint16_t zigbee_group_id_t
Zigbee Group Id The internal representation of a group_id.
Definition: zigpc_common_zigbee.h:230
uint8_t zigbee_endpoint_id_t
A representation of the endpoint id used on the Zigbee protocol.
Definition: zigpc_common_zigbee.h:248
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 ...
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....
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
sl_status_t zigpc_group_mqttpub_republish()
zigpc_group_mqttpub_republish
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
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