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

API for the Scene Server model. More...

Data Structures

struct  bt_mesh_scene_srv
 
struct  bt_mesh_scene_entry
 

Macros

#define CONFIG_BT_MESH_SCENES_MAX   0
 
#define BT_MESH_SCENE_ENTRY_SIG(_name)
 Scene entry type definition for SIG models.
 
#define BT_MESH_SCENE_ENTRY_VND(_name)
 Scene entry type definition for vendor models.
 
#define BT_MESH_MODEL_SCENE_SRV(_srv)
 Scene Server model composition data entry.
 

Functions

void bt_mesh_scene_invalidate (const struct bt_mesh_model *mod)
 Notify the Scene Server that a Scene entry has changed.
 
int bt_mesh_scene_srv_set (struct bt_mesh_scene_srv *srv, uint16_t scene, struct bt_mesh_model_transition *transition)
 Set the current Scene.
 
int bt_mesh_scene_srv_pub (struct bt_mesh_scene_srv *srv, struct bt_mesh_msg_ctx *ctx)
 Publish the current Scene status.
 
uint16_t bt_mesh_scene_srv_current_scene_get (const struct bt_mesh_scene_srv *srv)
 Get the current scene.
 
uint16_t bt_mesh_scene_srv_target_scene_get (const struct bt_mesh_scene_srv *srv)
 Get the target scene.
 

Detailed Description

API for the Scene Server model.