Occupancy Sensor Server Cluster Callbacks

Functions

void emberZclOccupancySensingServerOccupancyStateChangedCallback (HalOccupancyState occupancyState)
Occupancy state changed.

Detailed Description

These callbacks are contributed by the Occupancy Sensor Server Cluster plugin.

Function Documentation

void emberZclOccupancySensingServerOccupancyStateChangedCallback ( HalOccupancyState occupancyState )

This callback is generated when the occupancy measurement server receives a new occupancy status.

Parameters
occupancyState The bitmap used to determine occupancy state. At present, only bit 0 is used, and will be set to either HAL_OCCUPANCY_STATE_OCCUPIED or HAL_OCCUPANCY_STATE_UNOCCUPIED. Ver.: always