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

◆ bt_mesh_scene_cli_store_unack()

int bt_mesh_scene_cli_store_unack ( struct bt_mesh_scene_cli cli,
struct bt_mesh_msg_ctx *  ctx,
uint16_t  scene 
)

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

Store the current state as a scene without requesting a response.

Parameters
[in]cliScene client model.
[in]ctxMessage context to send with, or NULL to use the configured publication parameters.
[in]sceneScene number to store. Cannot be BT_MESH_SCENE_NONE.
Return values
0Successfully sent the store message.
-EINVALInvalid scene number.
-EADDRNOTAVAILA message context was not provided and publishing is not configured.
-EAGAINThe device has not been provisioned.