nRF Connect SDK API 2.8.99
|
#define BT_MESH_SENSOR_VALUE_IN_RANGE | ( | _value, | |
_start, | |||
_end ) |
#include <include/bluetooth/mesh/sensor.h>
Returns whether or not encoded sensor value _value is in the range [_start, _end], inclusive.
[in] | _value | The value to check. |
[in] | _start | Start point of the range to check, inclusive. |
[in] | _end | End point of the range to check, inclusive. |