![]() |
nRF Connect SDK API 3.4.99
|
| int bt_mesh_sensor_cli_cadence_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_cadence_status * | cadence ) |
#include <sensor_cli.h>
Set the cadence state for the given sensor without requesting a response.
| [in] | cli | Sensor client instance. |
| [in] | ctx | Message context parameters, or NULL to use the configured publish parameters. |
| [in] | sensor | Sensor instance present on the targeted sensor server. |
| [in] | cadence | New sensor cadence for the sensor. |
| 0 | Successfully received the cadence. |
| -EADDRNOTAVAIL | A message context was not provided and publishing is not configured. |
| -EAGAIN | The device has not been provisioned. |