![]() |
nRF Connect SDK API 3.3.99
|
| void(* bt_mesh_sensor_cli_handlers::series_entry) (struct bt_mesh_sensor_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_sensor_type *sensor, uint8_t index, uint8_t count, const struct bt_mesh_sensor_series_entry *entry) |
Series entry callback.
Called when the client receives series entries, either as result of calling one of bt_mesh_sensor_cli_series_entry_get or bt_mesh_sensor_cli_series_entries_get, or as a result of an unsolicited message.
If the received series entry message contains several entries, this callback is called once per entry, with the index and count parameters indicating the progress.
index and count parameters does not necessarily match the total number of series entries of the sensor, as the callback may be the result of a filtered query.| [in] | cli | Sensor client receiving the message. |
| [in] | ctx | Message context. |
| [in] | sensor | Sensor instance. |
| [in] | index | Index of this entry in the list of entries received. |
| [in] | count | Total number of entries received. |
| [in] | entry | Single sensor series entry. |