Enumerations

teCLD_OnOff_ClusterID

The following structure contains the enumerations used to identify the attributes of the On/Off cluster.

typedef enum 
{
    E_CLD_ONOFF_ATTR_ID_ONOFF                           = 0x0000,
    E_CLD_ONOFF_ATTR_ID_GLOBAL_SCENE_CONTROL            = 0x4000,
    E_CLD_ONOFF_ATTR_ID_ON_TIME,          
    E_CLD_ONOFF_ATTR_ID_OFF_WAIT_TIME,  
    #ifdef CLD_ONOFF_ATTR_STARTUP_ONOFF
    /* ZLO extension for OnOff Cluster    */             
    E_CLD_ONOFF_ATTR_ID_STARTUP_ONOFF,                         
    #endif
} teCLD_OnOff_ClusterID;  

Parent topic:Enumerations

teCLD_OOSC_SwitchType (On/Off Switch Types)

typedef enum 
{
    E_CLD_OOSC_TYPE_TOGGLE,
    E_CLD_OOSC_TYPE_MOMENTARY
} teCLD_OOSC_SwitchType;

Parent topic:Enumerations

teCLD_OOSC_SwitchAction (On/Off Switch Actions)

typedef enum 
{
    E_CLD_OOSC_ACTION_S2ON_S1OFF,
    E_CLD_OOSC_ACTION_S2OFF_S1ON,
    E_CLD_OOSC_ACTION_TOGGLE
} teCLD_OOSC_SwitchAction;

Parent topic:Enumerations

Parent topic:On/Off Cluster