GPIO Sensor Interface Callbacks
Functions |
|
void | emberAfPluginGpioSensorStateChangedCallback (uint8_t newSensorState) |
State Changed.
|
Detailed Description
These callbacks are contributed by the GPIO Sensor Interface plugin.
Function Documentation
void emberAfPluginGpioSensorStateChangedCallback | ( | uint8_t |
newSensorState
|
) |
This function is called whenever the gpio sensor detects a change in state
- 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