Functions | |
| zb_bool_t | zb_zcl_process_groups_commands_srv (zb_uint8_t param) |
| zb_bool_t | zb_zcl_process_groups_commands_cli (zb_uint8_t param) |
Groups cluster attributes | |
| enum | zb_zcl_groups_attr_e { ZB_ZCL_ATTR_GROUPS_NAME_SUPPORT_ID = 0 } |
| Groups cluster attribute identifiers. More... | |
| enum | zb_zcl_groups_name_support_e { ZB_ZCL_ATTR_GROUPS_NAME_NOT_SUPPORTED = 0, ZB_ZCL_ATTR_GROUPS_NAME_SUPPORTED = 1 << 7 } |
| Values for NameSupport attribute. More... | |
| #define | ZB_ZCL_GROUPS_CLUSTER_REVISION_DEFAULT ((zb_uint16_t)0x0003u) |
| Default value for Groups cluster revision global attribute. | |
| #define | ZB_ZCL_DECLARE_GROUPS_ATTRIB_LIST(attr_list, name_support) |
| Declare attribute list for Groups cluster. More... | |
Groups cluster command identifiers | |
| enum | zb_zcl_groups_cmd_e { ZB_ZCL_CMD_GROUPS_ADD_GROUP = 0x00, ZB_ZCL_CMD_GROUPS_VIEW_GROUP = 0x01, ZB_ZCL_CMD_GROUPS_GET_GROUP_MEMBERSHIP = 0x02, ZB_ZCL_CMD_GROUPS_REMOVE_GROUP = 0x03, ZB_ZCL_CMD_GROUPS_REMOVE_ALL_GROUPS = 0x04, ZB_ZCL_CMD_GROUPS_ADD_GROUP_IF_IDENTIFYING = 0x05 } |
| Groups cluster command identifiers. More... | |
| enum | zb_zcl_groups_cmd_resp_e { ZB_ZCL_CMD_GROUPS_ADD_GROUP_RES = 0x00, ZB_ZCL_CMD_GROUPS_VIEW_GROUP_RES = 0x01, ZB_ZCL_CMD_GROUPS_GET_GROUP_MEMBERSHIP_RES = 0x02, ZB_ZCL_CMD_GROUPS_REMOVE_GROUP_RES = 0x03 } |
| Groups cluster response command identifiers. More... | |
Detailed Description
Groups cluster defined in ZCL spec, clause 3.6. Currently no group name attribute support is implemented. However, this attribute must be supported for sending and receiving in commands' payload, so it is being sent as zero string (i. e. single zero byte). On receipt of the command is 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.
Macro Definition Documentation
◆ ZB_ZCL_DECLARE_GROUPS_ATTRIB_LIST
| #define ZB_ZCL_DECLARE_GROUPS_ATTRIB_LIST | ( | attr_list, | |
| name_support | |||
| ) |
Value:
ZB_ZCL_START_DECLARE_ATTRIB_LIST_CLUSTER_REVISION(attr_list, ZB_ZCL_GROUPS) \ ZB_ZCL_SET_ATTR_DESC(ZB_ZCL_ATTR_GROUPS_NAME_SUPPORT_ID, (name_support)) \ ZB_ZCL_FINISH_DECLARE_ATTRIB_LIST
Declare attribute list for Groups cluster.
- Parameters
-
attr_list - attribute list name. name_support - pointer to variable to store name_support attribute value
Enumeration Type Documentation
◆ zb_zcl_groups_attr_e
| enum zb_zcl_groups_attr_e |
◆ zb_zcl_groups_cmd_e
| enum zb_zcl_groups_cmd_e |
Groups cluster command identifiers.
- See also
- ZCL spec, subclause 3.6.2.2.2.
◆ zb_zcl_groups_cmd_resp_e
Groups cluster response command identifiers.
- See also
- ZCL spec, subclause 3.6.2.3
◆ zb_zcl_groups_name_support_e
Function Documentation
◆ zb_zcl_process_groups_commands_cli()
| zb_bool_t zb_zcl_process_groups_commands_cli | ( | zb_uint8_t | param | ) |
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
◆ zb_zcl_process_groups_commands_srv()
| zb_bool_t zb_zcl_process_groups_commands_srv | ( | zb_uint8_t | param | ) |
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