GPIO Sensor Interface Callbacks#

These callbacks are contributed by the GPIO Sensor Interface plugin.

Functions#

void

Called whenever the GPIO sensor detects a change in state.

Function Documentation#

emberAfPluginGpioSensorStateChangedCallback#

void emberAfPluginGpioSensorStateChangedCallback (uint8_t newSensorState)

Called whenever the GPIO sensor detects a change in state.

Parameters
N/AnewSensorState

The new state of the sensor based alarm (EMBER_AF_PLUGIN_GPIO_SENSOR_ACTIVE or EMBER_AF_PLUGIN_GPIO_SENSOR_NOT_ACTIVE) Ver.: always


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