Z-Wave Protocol Controller Reference
ZPC Group dispatch

ZPC dispatching component, that will distribute an incoming command to all members of a given group. More...

Collaboration diagram for ZPC Group dispatch:

Functions

void zpc_dotdot_mqtt_group_dispatch (uint16_t group_id, const char *cluster_name, const char *command, const char *message, size_t message_length, mqtt_message_callback_t callback)
 ZPC callback functions that will dispatch incoming group commands to individual UNID-endpoints that are part of the group. More...
 
sl_status_t zpc_dotdot_mqtt_group_dispatch_init ()
 Initializes the ZPC Group dispatch resources. More...
 

Detailed Description

ZPC dispatching component, that will distribute an incoming command to all members of a given group.

Function Documentation

◆ zpc_dotdot_mqtt_group_dispatch()

void zpc_dotdot_mqtt_group_dispatch ( uint16_t  group_id,
const char *  cluster_name,
const char *  command,
const char *  message,
size_t  message_length,
mqtt_message_callback_t  callback 
)

ZPC callback functions that will dispatch incoming group commands to individual UNID-endpoints that are part of the group.

Parameters
group_idGroup ID of the group to dispatch.
cluster_nameThe name of the Cluster for which the command was received
commandThe Command that was received within the Cluster.
messageThe MQTT message/payload received for the command
message_lengthThe length of the MQTT message/payload received for the Command.
callbackMQTT subscription callback that is normally used for individual Command dispatch for the cluster.

◆ zpc_dotdot_mqtt_group_dispatch_init()

sl_status_t zpc_dotdot_mqtt_group_dispatch_init ( )

Initializes the ZPC Group dispatch resources.

Here is the caller graph for this function: