Logo
Developing with ZBOSS for Zigbee
zb_zcl_on_off_switch_conf.h File Reference

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...
 
#define ZB_ZCL_CLUSTER_ID_ON_OFF_SWITCH_CONFIG_SERVER_ROLE_INIT   zb_zcl_on_off_switch_config_init_server
 
#define ZB_ZCL_CLUSTER_ID_ON_OFF_SWITCH_CONFIG_CLIENT_ROLE_INIT   zb_zcl_on_off_switch_config_init_client
 

Functions

void zb_zcl_on_off_switch_config_init_server (void)
 
void zb_zcl_on_off_switch_config_init_client (void)
 

On/off switch configuration cluster attributes

#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. More...
 
#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. More...
 
#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. More...
 
#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. More...
 
enum  zb_zcl_on_off_switch_configuration_attr_e { ZB_ZCL_ATTR_ON_OFF_SWITCH_CONFIGURATION_SWITCH_TYPE_ID = 0x0000, ZB_ZCL_ATTR_ON_OFF_SWITCH_CONFIGURATION_SWITCH_ACTIONS_ID = 0x0010 }
 On/off switch configuration cluster attribute identifiers. More...
 
enum  zb_zcl_on_off_switch_configuration_switch_type_e { ZB_ZCL_ON_OFF_SWITCH_CONFIGURATION_SWITCH_TYPE_TOGGLE = 0, ZB_ZCL_ON_OFF_SWITCH_CONFIGURATION_SWITCH_TYPE_MOMENTARY = 1, ZB_ZCL_ON_OFF_SWITCH_CONFIGURATION_SWITCH_TYPE_MULTIFUNCTION = 2 }
 Permissible values for switch type attribute. More...
 
enum  zb_zcl_on_off_switch_configuration_switch_actions_e { ZB_ZCL_ON_OFF_SWITCH_CONFIGURATION_SWITCH_ACTIONS_TYPE1 = 0, ZB_ZCL_ON_OFF_SWITCH_CONFIGURATION_SWITCH_ACTIONS_TYPE2 = 1, ZB_ZCL_ON_OFF_SWITCH_CONFIGURATION_SWITCH_ACTIONS_TOGGLE = 2 }
 Permissible values for switch actions attribute. More...
 

Macro Definition Documentation

§ ZB_ZCL_CLUSTER_ID_ON_OFF_SWITCH_CONFIG_CLIENT_ROLE_INIT

#define ZB_ZCL_CLUSTER_ID_ON_OFF_SWITCH_CONFIG_CLIENT_ROLE_INIT   zb_zcl_on_off_switch_config_init_client

§ ZB_ZCL_CLUSTER_ID_ON_OFF_SWITCH_CONFIG_SERVER_ROLE_INIT

#define ZB_ZCL_CLUSTER_ID_ON_OFF_SWITCH_CONFIG_SERVER_ROLE_INIT   zb_zcl_on_off_switch_config_init_server

Function Documentation

§ zb_zcl_on_off_switch_config_init_client()

void zb_zcl_on_off_switch_config_init_client ( void  )

§ zb_zcl_on_off_switch_config_init_server()

void zb_zcl_on_off_switch_config_init_server ( void  )