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

◆ bt_mesh_sensor_cli_setting_set_unack()

int bt_mesh_sensor_cli_setting_set_unack ( struct bt_mesh_sensor_cli * cli,
struct bt_mesh_msg_ctx * ctx,
const struct bt_mesh_sensor_type * sensor,
const struct bt_mesh_sensor_type * setting,
const struct bt_mesh_sensor_value * value )

#include <include/bluetooth/mesh/sensor_cli.h>

Set a setting value for a sensor without requesting a response.

Parameters
[in]cliSensor client instance.
[in]ctxMessage context parameters, or NULL to use the configured publish parameters.
[in]sensorSensor instance present on the targeted sensor server.
[in]settingSetting to change.
[in]valueNew setting value. Must contain values for all channels described by setting.
Return values
0Successfully changed the setting.
-EADDRNOTAVAILA message context was not provided and publishing is not configured.
-EAGAINThe device has not been provisioned.