nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
Scene Client model

API for the Scene Client model. More...

Data Structures

struct  bt_mesh_scene_register
 
struct  bt_mesh_scene_cli
 

Macros

#define BT_MESH_MODEL_SCENE_CLI(_cli)
 Scene Client model composition data entry.
 

Functions

int bt_mesh_scene_cli_get (struct bt_mesh_scene_cli *cli, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_scene_state *rsp)
 Get the current state of a Scene Server.
 
int bt_mesh_scene_cli_register_get (struct bt_mesh_scene_cli *cli, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_scene_register *rsp)
 Get the full scene register of a Scene Server.
 
int bt_mesh_scene_cli_store (struct bt_mesh_scene_cli *cli, struct bt_mesh_msg_ctx *ctx, uint16_t scene, struct bt_mesh_scene_register *rsp)
 Store the current state as a scene.
 
int bt_mesh_scene_cli_store_unack (struct bt_mesh_scene_cli *cli, struct bt_mesh_msg_ctx *ctx, uint16_t scene)
 Store the current state as a scene without requesting a response.
 
int bt_mesh_scene_cli_delete (struct bt_mesh_scene_cli *cli, struct bt_mesh_msg_ctx *ctx, uint16_t scene, struct bt_mesh_scene_register *rsp)
 Delete the given scene.
 
int bt_mesh_scene_cli_delete_unack (struct bt_mesh_scene_cli *cli, struct bt_mesh_msg_ctx *ctx, uint16_t scene)
 Delete the given scene without requesting a response.
 
int bt_mesh_scene_cli_recall (struct bt_mesh_scene_cli *cli, struct bt_mesh_msg_ctx *ctx, uint16_t scene, const struct bt_mesh_model_transition *transition, struct bt_mesh_scene_state *rsp)
 Recall the given scene.
 
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)
 Recall the given scene without requesting a response.
 

Detailed Description

API for the Scene Client model.