GPIO Sensor Interface Callbacks

Functions

void emberAfPluginGpioSensorStateChangedCallback (uint8_t newSensorState)
Called whenever the GPIO sensor detects a change in state.

Detailed Description

These callbacks are contributed by the GPIO Sensor Interface plugin.

Function Documentation

void emberAfPluginGpioSensorStateChangedCallback ( uint8_t newSensorState )
Parameters
newSensorState The new state of the sensor based alarm (EMBER_AF_PLUGIN_GPIO_SENSOR_ACTIVE or EMBER_AF_PLUGIN_GPIO_SENSOR_NOT_ACTIVE) Ver.: always