nRF Connect SDK API 0.1.0
|
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.
[in] | cli | Power OnOff client to send the message on. |
[in] | ctx | Context of the message, or NULL to send with the configured publish parameters. |
[in] | on_power_up | New OnPowerUp state of the server. |
0 | Successfully sent a set message. |
-EADDRNOTAVAIL | A message context was not provided and publishing is not configured. |
-EAGAIN | The device has not been provisioned. |