nRF Connect SDK API 0.1.0
|
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).