nRF Connect SDK API 2.8.99
|
#include <bluetooth/mesh/scene.h>
#include <zephyr/settings/settings.h>
#include <zephyr/toolchain.h>
#include <zephyr/sys/slist.h>
Go to the source code of this file.
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. | |