Occupancy PYD-1698 Callbacks#

These callbacks are contributed by the Occupancy PYD-1698 plugin.

Functions#

void
halOccupancyStateChangedCallback(HalOccupancyState occupancyState)

Occupancy state has changed.

Function Documentation#

halOccupancyStateChangedCallback#

void halOccupancyStateChangedCallback (HalOccupancyState occupancyState)

Occupancy state has changed.

Parameters
N/AoccupancyState

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.

This callback is called when the occupancy sensor state changes.


Definition at line 785 of file ./app/ncp/doc/callback.doc