![]() |
nRF Connect SDK API 3.3.99
|
| int(*const bt_mesh_sensor_format_cb::compare) (const struct bt_mesh_sensor_value *op1, const struct bt_mesh_sensor_value *op2) |
Compare two bt_mesh_sensor_value instances.
op1 and op1 must have the same format.
| [in] | op1 | The first value to compare. |
| [in] | op2 | The second value to compare. |
op1 == op2, 1 if op1 > op2, -1 otherwise (including if op1 and op2 are not comparable).