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

◆ bt_mesh_light_ctrl_cli_occupancy_enabled_set_unack()

int bt_mesh_light_ctrl_cli_occupancy_enabled_set_unack ( struct bt_mesh_light_ctrl_cli * cli,
struct bt_mesh_msg_ctx * ctx,
bool enabled )

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

Set a Light Lightness Control Server's current Occupancy Mode without requesting a response.

The Occupancy Mode determines whether the Server accepts messages from Occupancy Servers.

Parameters
[in]cliClient model to send on.
[in]ctxMessage context, or NULL to use the configured publish parameters.
[in]enabledThe new Occupancy Mode to set.
Return values
0Successfully sent the message.
-EADDRNOTAVAILA message context was not provided and publishing is not configured.
-EAGAINThe device has not been provisioned.