ZCL on off switch configuration

Zigbee Cluster Library (ZCL) on off switch config cluster usage definition for ESP Zigbee SDK.

Header File

Enumerations

enum esp_zb_zcl_on_off_switch_configuration_switch_type_t

on-off switch type attribute

Values:

enumerator ESP_ZB_ZCL_ON_OFF_SWITCH_CONFIGURATION_SWITCH_TYPE_TOGGLE

Toggle switch

enumerator ESP_ZB_ZCL_ON_OFF_SWITCH_CONFIGURATION_SWITCH_TYPE_MOMENTARY

Momentary switch

enumerator ESP_ZB_ZCL_ON_OFF_SWITCH_CONFIGURATION_SWITCH_TYPE_MULTIFUNCTION

Multifunction switch

enum esp_zb_zcl_on_off_switch_configuration_switch_actions_t

on-off switch actions attribute

Values:

enumerator ESP_ZB_ZCL_ON_OFF_SWITCH_CONFIGURATION_SWITCH_ACTIONS_TYPE1

First type command pattern

enumerator ESP_ZB_ZCL_ON_OFF_SWITCH_CONFIGURATION_SWITCH_ACTIONS_TYPE2

Second type command pattern

enumerator ESP_ZB_ZCL_ON_OFF_SWITCH_CONFIGURATION_SWITCH_ACTIONS_TOGGLE

Toggle command pattern