nRF Connect SDK API 0.1.0
|
int bt_mesh_scene_cli_delete_unack | ( | struct bt_mesh_scene_cli * | cli, |
struct bt_mesh_msg_ctx * | ctx, | ||
uint16_t | scene | ||
) |
#include <include/bluetooth/mesh/scene_cli.h>
Delete the given scene without requesting a response.
[in] | cli | Scene client model. |
[in] | ctx | Message context to send with, or NULL to use the configured publication parameters. |
[in] | scene | Scene to delete. Cannot be BT_MESH_SCENE_NONE. |
0 | Successfully sent the delete message. |
-EINVAL | Invalid scene number. |
-EADDRNOTAVAIL | A message context was not provided and publishing is not configured. |
-EAGAIN | The device has not been provisioned. |