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

◆ bt_mesh_sensor_cli_cadence_set_unack()

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 <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]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]cadenceNew sensor cadence for the sensor.
Return values
0Successfully received the cadence.
-EADDRNOTAVAILA message context was not provided and publishing is not configured.
-EAGAINThe device has not been provisioned.