Trident IoT Zigbee SDK
 
Loading...
Searching...
No Matches
+ Collaboration diagram for Groups Client Callbacks:

Functions

void tr_groups_client_init_cb (void)
 Callback fires when groups client cluster is initialized.
 
zb_bool_t tr_groups_client_add_group_resp_cb (zb_uint8_t endpoint, zb_uint16_t group_id, zb_uint8_t status)
 Callback that fires on receipt of groups client cluster add group response command.
 
zb_bool_t tr_groups_client_view_group_resp_cb (zb_uint8_t endpoint, zb_uint16_t group_id, zb_char_t *group_name, zb_uint8_t status)
 Callback that fires on receipt of groups client cluster view group response command.
 
zb_bool_t tr_groups_client_get_group_membership_resp_cb (zb_uint8_t endpoint, zb_uint8_t capacity, zb_uint8_t group_count, zb_uint16_t *group_id_list)
 Callback that fires on receipt of groups client cluster get group membership response command.
 
zb_bool_t tr_groups_client_remove_group_resp_cb (zb_uint8_t endpoint, zb_uint16_t group_id, zb_uint8_t status)
 Callback that fires on receipt of groups client cluster remove group response command.
 

Detailed Description



Function Documentation

◆ tr_groups_client_add_group_resp_cb()

zb_bool_t tr_groups_client_add_group_resp_cb ( zb_uint8_t endpoint,
zb_uint16_t group_id,
zb_uint8_t status )

Callback that fires on receipt of groups client cluster add group response command.

Parameters
endpointendpoint that received the command
group_idgroup id that was added
statusresulting status
Returns
ZB_FALSE to allow framework to continue processing the command

◆ tr_groups_client_get_group_membership_resp_cb()

zb_bool_t tr_groups_client_get_group_membership_resp_cb ( zb_uint8_t endpoint,
zb_uint8_t capacity,
zb_uint8_t group_count,
zb_uint16_t * group_id_list )

Callback that fires on receipt of groups client cluster get group membership response command.

Parameters
endpointendpoint that received the command
capacitynumber of group entries remaining in the groups table
group_countnumber of groups that exist
group_id_listlist of group ids retrieved by the command
Returns
ZB_FALSE to allow framework to continue processing the command

◆ tr_groups_client_init_cb()

void tr_groups_client_init_cb ( void )

Callback fires when groups client cluster is initialized.

◆ tr_groups_client_remove_group_resp_cb()

zb_bool_t tr_groups_client_remove_group_resp_cb ( zb_uint8_t endpoint,
zb_uint16_t group_id,
zb_uint8_t status )

Callback that fires on receipt of groups client cluster remove group response command.

Parameters
endpointendpoint that received the command
group_idgroup id that was removed
statusresulting status
Returns
ZB_FALSE to allow framework to continue processing the command

◆ tr_groups_client_view_group_resp_cb()

zb_bool_t tr_groups_client_view_group_resp_cb ( zb_uint8_t endpoint,
zb_uint16_t group_id,
zb_char_t * group_name,
zb_uint8_t status )

Callback that fires on receipt of groups client cluster view group response command.

Parameters
endpointendpoint that received the command
group_idgroup id that was viewed
group_namegroup name that was viewed
statusresulting status
Returns
ZB_FALSE to allow framework to continue processing the command