nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ bt_mesh_sensor_value_status_is_numeric()

static bool bt_mesh_sensor_value_status_is_numeric ( enum bt_mesh_sensor_value_status  status)
inlinestatic

#include <include/bluetooth/mesh/sensor.h>

Returns true if status is a value which can be represented by a number, meaning one of BT_MESH_SENSOR_VALUE_NUMBER, BT_MESH_SENSOR_VALUE_MIN_OR_LESS, BT_MESH_SENSOR_VALUE_MAX_OR_GREATER and BT_MESH_SENSOR_VALUE_CLAMPED.

Parameters
[in]statusThe value to check.
Returns
true if status is numeric, false otherwise.