#include <include/bluetooth/mesh/sensor_cli.h>
Set the cadence state for the given sensor without requesting a response.
- Note
- Only single-channel sensors support cadence.
- Parameters
-
| [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. |
- Return values
-
| 0 | Successfully received the cadence. |
| -EADDRNOTAVAIL | A message context was not provided and publishing is not configured. |
| -EAGAIN | The device has not been provisioned. |