Detailed Description
Occupancy Sensing cluster has no cluster-specific command support. Cluster attributes can be queried with common commands.
Macro Definition Documentation
◆ ZB_ZCL_DECLARE_OCCUPANCY_SENSING_ATTRIB_LIST
| #define ZB_ZCL_DECLARE_OCCUPANCY_SENSING_ATTRIB_LIST | ( | attr_list, | |
| occupancy, | |||
| occupancy_sensor_type, | |||
| occupancy_sensor_type_bitmap | |||
| ) |
Value:
ZB_ZCL_START_DECLARE_ATTRIB_LIST_CLUSTER_REVISION(attr_list, ZB_ZCL_OCCUPANCY_SENSING) \ ZB_ZCL_SET_ATTR_DESC(ZB_ZCL_ATTR_OCCUPANCY_SENSING_OCCUPANCY_ID, (occupancy)) \ ZB_ZCL_SET_ATTR_DESC(ZB_ZCL_ATTR_OCCUPANCY_SENSING_OCCUPANCY_SENSOR_TYPE_ID, (occupancy_sensor_type)) \ ZB_ZCL_SET_ATTR_DESC(ZB_ZCL_ATTR_OCCUPANCY_SENSING_OCCUPANCY_SENSOR_TYPE_BITMAP_ID, (occupancy_sensor_type_bitmap)) \ ZB_ZCL_FINISH_DECLARE_ATTRIB_LISTDefinition: zb_zcl_occupancy_sensing.h:71
Definition: zb_zcl_occupancy_sensing.h:74
Definition: zb_zcl_occupancy_sensing.h:69
Declare attribute list for Occupancy Sensing cluster.
- Parameters
-
attr_list - attribute list name occupancy - pointer to variable to store Occupancy attribute value occupancy_sensor_type - pointer to variable to store Occupancy Sensor Type attribute value occupancy_sensor_type_bitmap - pointer to variable to store Occupancy Sensor Type Bitmap attribute value
Enumeration Type Documentation
◆ zb_zcl_occupancy_sensing_attr_e
Occupancy Sensing cluster attribute identifiers.
- See also
- ZCL spec, subclause 4.8.2.2
◆ zb_zcl_occupancy_sensing_occupancy_e
◆ zb_zcl_occupancy_sensing_occupancy_sensor_type_e
Permissible values for Occupancy Sensor Type attribute.
- See also
- ZCL spec, subclause 4.8.2.2.1.2