Groups cluster defined in ZCL spec, clause 3.6. Currently no group name attribute support implemented. However, we must support this attribute sending and receiving in commands' payload, so it's being sent as zero string (i. e. single zero byte). On receipt of the command able to contain a scene name in the payload, this field will be ignored as a string.
Cluster requests and responses are documented in submodules.
#define ZB_ZCL_CLUSTER_ID_GROUPS_CLIENT_ROLE_GENERATED_CMD_LIST |
Value:
Definition: zb_zcl_groups.h:98
Definition: zb_zcl_groups.h:96
Definition: zb_zcl_groups.h:94
Definition: zb_zcl_groups.h:95
Definition: zb_zcl_groups.h:100
Definition: zb_zcl_groups.h:99
#define ZB_ZCL_CLUSTER_ID_GROUPS_SERVER_ROLE_GENERATED_CMD_LIST |
Value:
Definition: zb_zcl_groups.h:114
Definition: zb_zcl_groups.h:112
Definition: zb_zcl_groups.h:109
Definition: zb_zcl_groups.h:110
Groups cluster attribute identifiers.
- See also
- ZCL spec, subclause 3.6.2.2
Enumerator |
---|
ZB_ZCL_ATTR_GROUPS_NAME_SUPPORT_ID |
NameSupport attribute.
|
Groups cluster command identifiers.
- See also
- ZCL spec, subclause 3.6.2.2.2.
Enumerator |
---|
ZB_ZCL_CMD_GROUPS_ADD_GROUP |
Add group command identifier.
|
ZB_ZCL_CMD_GROUPS_VIEW_GROUP |
View group command identifier.
|
ZB_ZCL_CMD_GROUPS_GET_GROUP_MEMBERSHIP |
Get group membership command identifier.
|
ZB_ZCL_CMD_GROUPS_REMOVE_GROUP |
Remove group command identifier.
|
ZB_ZCL_CMD_GROUPS_REMOVE_ALL_GROUPS |
Remove all groups command identifier.
|
ZB_ZCL_CMD_GROUPS_ADD_GROUP_IF_IDENTIFYING |
Add group if identifying command identifier.
|
Groups cluster response command identifiers.
- See also
- ZCL spec, subclause 3.6.2.3
Enumerator |
---|
ZB_ZCL_CMD_GROUPS_ADD_GROUP_RES |
Add group response command identifier.
|
ZB_ZCL_CMD_GROUPS_VIEW_GROUP_RES |
View group response command identifier.
|
ZB_ZCL_CMD_GROUPS_GET_GROUP_MEMBERSHIP_RES |
Get group response membership command identifier.
|
ZB_ZCL_CMD_GROUPS_REMOVE_GROUP_RES |
Remove group response command identifier.
|
Values for NameSupport attribute.
Enumerator |
---|
ZB_ZCL_ATTR_GROUPS_NAME_NOT_SUPPORTED |
"Not supported" value
|
ZB_ZCL_ATTR_GROUPS_NAME_SUPPORTED |
"On" value
|
Handler for incoming group commands directed to client
- Parameters
-
param | - reference to buffer containing command |
- Returns
- ZB_TRUE - if command was processed ZB_FALSE - if command is not for client or is not supported
Handler for incoming group commands directed to server
- Parameters
-
param | - reference to buffer containing command |
- Returns
- ZB_TRUE - if command was processed ZB_FALSE - if command is not for server or is not supported