Z-Stack API Reference
4.20.00.11
|
Macros | |
#define | ATTRID_ON_OFF_SWITCH_TYPE 0x0000 |
#define | ATTRID_ON_OFF_SWITCH_ACTIONS 0x0010 |
#define | ON_OFF_SWITCH_TYPE_TOGGLE 0x00 |
#define | ON_OFF_SWITCH_TYPE_MOMENTARY 0x01 |
#define | ON_OFF_SWITCH_TYPE_MULTIFUNCTION 0x02 |
#define | ON_OFF_SWITCH_ACTIONS_ON 0x00 |
#define | ON_OFF_SWITCH_ACTIONS_OFF 0x01 |
#define | ON_OFF_SWITCH_ACTIONS_TOGGLE 0x02 |
#define ATTRID_ON_OFF_SWITCH_ACTIONS 0x0010 |
The SwitchActions attribute is 8 bits in length and specifies the commands of the On/Off cluster
#define ATTRID_ON_OFF_SWITCH_TYPE 0x0000 |
The SwitchType attribute specifies the basic functionality of the On/Off switching device.