nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches

◆ series_entry

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.

Note
The 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.
Parameters
[in]cliSensor client receiving the message.
[in]ctxMessage context.
[in]sensorSensor instance.
[in]indexIndex of this entry in the list of entries received.
[in]countTotal number of entries received.
[in]entrySingle sensor series entry.