nRF Connect SDK API 2.8.99
|
int bt_mesh_sensor_value_compare | ( | const struct bt_mesh_sensor_value * | a, |
const struct bt_mesh_sensor_value * | b ) |
#include <include/bluetooth/mesh/sensor.h>
Compare two bt_mesh_sensor_value instances.
[in] | a | The first value to compare. |
[in] | b | The second value to compare. |
a
== b
, 1 if a
> b
, -1 otherwise (including if a
and b
are not comparable).