
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. More... | |
| #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... | |
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.
| #define ZB_ZCL_DECLARE_GROUPS_ATTRIB_LIST | ( | attr_list, | |
| name_support | |||
| ) |
Declare attribute list for Groups cluster.
| attr_list | - attribute list name. |
| name_support | - pointer to variable to store name_support attribute value |
| #define ZB_ZCL_GROUPS_CLUSTER_REVISION_DEFAULT ((zb_uint16_t)0x0003u) |
Default value for Groups cluster revision global attribute.
| enum zb_zcl_groups_attr_e |
| enum zb_zcl_groups_cmd_e |
Groups cluster command identifiers.
Groups cluster response command identifiers.
| zb_bool_t zb_zcl_process_groups_commands_cli | ( | zb_uint8_t | param | ) |
Handler for incoming group commands directed to client
| param | - reference to buffer containing command |
| zb_bool_t zb_zcl_process_groups_commands_srv | ( | zb_uint8_t | param | ) |
Handler for incoming group commands directed to server
| param | - reference to buffer containing command |