Z-Stack API Reference  7.10.00.10
ZCL Closure Shade Config Cluster Macros

This group provides ZCL Closure Shade Config Cluster macros defined in the ZCL v7 specification. More...

Macros

#define ATTRID_SHADE_CONFIGURATION_PHYSICAL_CLOSED_LIMIT   0x0000
 
#define ATTRID_SHADE_CONFIGURATION_MOTOR_STEP_SIZE   0x0001
 
#define ATTRID_SHADE_CONFIGURATION_STATUS   0x0002
 The Status attribute indicates the status of a number of shade functions.
 
#define CLOSURES_STATUS_SHADE_IS_OPERATIONAL   0x01
 Shade operational if set.
 
#define CLOSURES_STATUS_SHADE_IS_ADJUSTING   0x02
 Shade adjusting if set.
 
#define CLOSURES_STATUS_SHADE_DIRECTION   0x04
 Shade direction opening if set.
 
#define CLOSURES_STATUS_SHADE_MOTOR_FORWARD_DIRECTION   0x08
 Direction corresponding to forward direction of motor, opening if set.
 
#define ATTRID_SHADE_CONFIGURATION_CLOSED_LIMIT   0x0010
 
#define ATTRID_SHADE_CONFIGURATION_MODE   0x0011
 The Mode attribute indicates the current operating mode of the shade.
 
#define CLOSURES_MODE_NORMAL_MODE   0x00
 
#define CLOSURES_MODE_CONFIGURE_MODE   0x01
 
#define ZCL_CLOSURES_LOGICAL_CLUSTER_ID_SHADE_CONFIG   0x0010
 

Detailed Description

This group provides ZCL Closure Shade Config Cluster macros defined in the ZCL v7 specification.

Macro Definition Documentation

§ ATTRID_SHADE_CONFIGURATION_CLOSED_LIMIT

#define ATTRID_SHADE_CONFIGURATION_CLOSED_LIMIT   0x0010

The ClosedLimit attribute indicates the most closed position that the shade can move to.

§ ATTRID_SHADE_CONFIGURATION_MOTOR_STEP_SIZE

#define ATTRID_SHADE_CONFIGURATION_MOTOR_STEP_SIZE   0x0001

The MotorStepSize attribute indicates the angle the shade motor moves for one step, measured in 1/10ths of a degree.

§ ATTRID_SHADE_CONFIGURATION_PHYSICAL_CLOSED_LIMIT

#define ATTRID_SHADE_CONFIGURATION_PHYSICAL_CLOSED_LIMIT   0x0000

The PhysicalClosedLimit attribute indicates the most closed (numerically lowest) position that the shade can physically move to.

§ ZCL_CLOSURES_LOGICAL_CLUSTER_ID_SHADE_CONFIG

#define ZCL_CLOSURES_LOGICAL_CLUSTER_ID_SHADE_CONFIG   0x0010

The ClosedLimit attribute indicates the most closed position that the shade can move to.