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

◆ bt_mesh_sensor_value_in_column()

bool bt_mesh_sensor_value_in_column ( const struct bt_mesh_sensor_value value,
const struct bt_mesh_sensor_column col 
)

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

Check whether a single channel sensor value lies within a column.

Parameters
[in]valueValue to check. Only the first channel is considered.
[in]colSensor column.
Returns
true if the value belongs in the column, false otherwise.