Z-Wave Protocol Controller Reference
OccupancySensing Cluster Mapper

Maps OccupancySensing Cluster incoming Commands to attribute modifications. More...

Collaboration diagram for OccupancySensing Cluster Mapper:

Macros

#define OCCUPANCY_SENSOR_TYPE_PIR   0x00
 

Functions

bool occupancy_sensing_cluster_mapper_init (void)
 Intitialise the OccupancySensing cluster mapper. More...
 
int occupancy_sensing_cluster_mapper_teardown (void)
 Tears down the Occupancy cluster mapper from all its content. More...
 
void occupancy_sensing_motion_detection_update_callback (attribute_store_node_t updated_node, attribute_store_change_t change)
 Callback for the Attribute Store reading the Notification Motion Detected attributes. More...
 
void occupancy_sensing_motion_idle_update_callback (attribute_store_node_t updated_node, attribute_store_change_t change)
 Callback for the Attribute Store reading the Notification Motion Detected attributes. More...
 

Detailed Description

Maps OccupancySensing Cluster incoming Commands to attribute modifications.

Macro Definition Documentation

◆ OCCUPANCY_SENSOR_TYPE_PIR

#define OCCUPANCY_SENSOR_TYPE_PIR   0x00

Function Documentation

◆ occupancy_sensing_cluster_mapper_init()

bool occupancy_sensing_cluster_mapper_init ( void  )

Intitialise the OccupancySensing cluster mapper.

Returns
true on success
false on failure

◆ occupancy_sensing_cluster_mapper_teardown()

int occupancy_sensing_cluster_mapper_teardown ( void  )

Tears down the Occupancy cluster mapper from all its content.

Returns
0 on success

◆ occupancy_sensing_motion_detection_update_callback()

void occupancy_sensing_motion_detection_update_callback ( attribute_store_node_t  updated_node,
attribute_store_change_t  change 
)

Callback for the Attribute Store reading the Notification Motion Detected attributes.

◆ occupancy_sensing_motion_idle_update_callback()

void occupancy_sensing_motion_idle_update_callback ( attribute_store_node_t  updated_node,
attribute_store_change_t  change 
)

Callback for the Attribute Store reading the Notification Motion Detected attributes.