Groups Server#
Callbacks for Groups Server Component.
Callbacks#
void
sl_zigbee_af_groups_server_get_group_name_cb(uint8_t endpoint, uint16_t groupId, uint8_t *groupName)
Get a group name.
void
sl_zigbee_af_groups_server_set_group_name_cb(uint8_t endpoint, uint16_t groupId, uint8_t *groupName)
Set a group name.
bool
sl_zigbee_af_groups_server_group_names_supported_cb(uint8_t endpoint)
Return supported group names.
void
sl_zigbee_af_groups_cluster_clear_group_table_cb(uint8_t endpoint)
Clear the group table.
Callbacks Documentation#
sl_zigbee_af_groups_server_get_group_name_cb#
void sl_zigbee_af_groups_server_get_group_name_cb (uint8_t endpoint, uint16_t groupId, uint8_t * groupName)
Get a group name.
Parameters
Type | Direction | Argument Name | Description |
---|---|---|---|
uint8_t | N/A | endpoint | Endpoint Ver.: always |
uint16_t | N/A | groupId | Group ID Ver.: always |
uint8_t * | N/A | groupName | Group Name Ver.: always |
This function returns the name of a group with the provided group ID, if it exists.
sl_zigbee_af_groups_server_set_group_name_cb#
void sl_zigbee_af_groups_server_set_group_name_cb (uint8_t endpoint, uint16_t groupId, uint8_t * groupName)
Set a group name.
Parameters
Type | Direction | Argument Name | Description |
---|---|---|---|
uint8_t | N/A | endpoint | Endpoint Ver.: always |
uint16_t | N/A | groupId | Group ID Ver.: always |
uint8_t * | N/A | groupName | Group Name Ver.: always |
This function sets the name of a group with the provided group ID.
sl_zigbee_af_groups_server_group_names_supported_cb#
bool sl_zigbee_af_groups_server_group_names_supported_cb (uint8_t endpoint)
Return supported group names.
Parameters
Type | Direction | Argument Name | Description |
---|---|---|---|
uint8_t | N/A | endpoint | Endpoint Ver.: always |
This function returns whether or not group names are supported.
sl_zigbee_af_groups_cluster_clear_group_table_cb#
void sl_zigbee_af_groups_cluster_clear_group_table_cb (uint8_t endpoint)
Clear the group table.
Parameters
Type | Direction | Argument Name | Description |
---|---|---|---|
uint8_t | N/A | endpoint | The endpoint. Ver.: always |
This function is called by the framework when the application should clear the group table.