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

◆ bt_mesh_ponoff_cli_on_power_up_set_unack()

int bt_mesh_ponoff_cli_on_power_up_set_unack ( struct bt_mesh_ponoff_cli * cli,
struct bt_mesh_msg_ctx * ctx,
enum bt_mesh_on_power_up on_power_up )

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

Set the OnPowerUp state of a server without requesting a response.

Parameters
[in]cliPower OnOff client to send the message on.
[in]ctxContext of the message, or NULL to send with the configured publish parameters.
[in]on_power_upNew OnPowerUp state of the server.
Return values
0Successfully sent a set message.
-EADDRNOTAVAILA message context was not provided and publishing is not configured.
-EAGAINThe device has not been provisioned.