![]() |
nRF Connect SDK API 3.3.99
|
| bool(*const bt_mesh_sensor_format_cb::delta_check) (const struct bt_mesh_sensor_value *current, const struct bt_mesh_sensor_value *previous, const struct bt_mesh_sensor_deltas *delta) |
Perform a delta check between two bt_mesh_sensor_value instances.
current and previous must have the same format.
| [in] | current | The current value. |
| [in] | previous | The previous sensor value to compare against. |
| [in] | delta | The delta to use when checking. |
true if the difference between current and previous is bigger than the relevant delta specified in delta, false otherwise.