
Macros | |
| #define | ZB_ZCL_DECLARE_ON_OFF_SWITCH_CONFIGURATION_ATTRIB_LIST(attr_list, switch_type, switch_actions) |
| Declare attribute list for ON/OFF Switch configuration cluster. More... | |
On/Off Switch Configuration cluster has no cluster-specific command support. Cluster attributes can be queried with common commands.
Sample switch config cluster attributes data
| #define ZB_ZCL_DECLARE_ON_OFF_SWITCH_CONFIGURATION_ATTRIB_LIST | ( | attr_list, | |
| switch_type, | |||
| switch_actions | |||
| ) |
Declare attribute list for ON/OFF Switch configuration cluster.
| attr_list | - attribute list name |
| switch_type | - pointer to variable to store switch type attribute value |
| switch_actions | - pointer to variable to store switch action attribute value |
| #define ZB_ZCL_ON_OFF_SWITCH_CONFIGURATION_CLUSTER_REVISION_DEFAULT ((zb_uint16_t)0x0001u) |
Default value for On/off switch configuration cluster revision global attribute.
| #define ZB_ZCL_ON_OFF_SWITCH_CONFIGURATION_SWITCH_ACTIONS_DEFAULT_VALUE (ZB_ZCL_ON_OFF_SWITCH_CONFIGURATION_SWITCH_ACTIONS_TYPE1) |
Default value for Switch actions attribute.
| #define ZB_ZCL_ON_OFF_SWITCH_CONFIGURATION_SWITCH_ACTIONS_MAX_VALUE (ZB_ZCL_ON_OFF_SWITCH_CONFIGURATION_SWITCH_ACTIONS_TOGGLE) |
Maximal value for switch actions attribute.
| #define ZB_ZCL_ON_OFF_SWITCH_CONFIGURATION_SWITCH_TYPE_MAX_VALUE (ZB_ZCL_ON_OFF_SWITCH_CONFIGURATION_SWITCH_TYPE_MULTIFUNCTION) |
Maximal value for switch type attribute.
On/off switch configuration cluster attribute identifiers.
Permissible values for switch actions attribute.
Permissible values for switch type attribute.