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

◆ bt_mesh_scene_cli_recall_unack()

int bt_mesh_scene_cli_recall_unack ( struct bt_mesh_scene_cli * cli,
struct bt_mesh_msg_ctx * ctx,
uint16_t scene,
const struct bt_mesh_model_transition * transition )

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

Recall the given scene without requesting a response.

All models that participate in the scene will transition to the stored scene state with the given transition parameters.

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