|void||halOccupancyStateChangedCallback (HalOccupancyState occupancyState)|
|Occupancy state has changed. |
These callbacks are contributed by the Occupancy PYD-1698 plugin.
This callback is called when the occupancy sensor state changes.
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.