There's a Bluetooth mesh sensor server, which realize, for example:
- present ambient temperature property and
- desired ambient temperature property.
A Bluetooth mesh sensor client can read its temperature from sensor server requesting data using bt_mesh_sensor_cli_get function or it can listen to messages, which were sent using bt_mesh_sensor_srv_pub function. But how can the Buetooth mesh sensor client set up the desired temperature in the Bluetooth mesh sensor server? There's no a function kinda bt_mesh_sensor_cli_set. Should I use bt_mesh_sensor_cli_setting_set? And in this case I have to be able to read the desired value, using bt_mesh_sensor_cli_setting_get, as I understand. In those functions, bt_mesh_sensor_cli_setting_get and bt_mesh_sensor_cli_setting_set, const struct bt_mesh_sensor_type *sensor has to be a pointer to a bt_mesh_sensor_desired_amb_temp, but I don't see which value I should pass as a const struct bt_mesh_sensor_type *setting. Could you explain, please, how a sensor client can set up a sensor server value by the example of the desired ambient temperature property?
If it's worth to mention, I use nRF52840 DK with nRF Connect SDK 1.4.1.
Thank you in advance.