1 /*
2  * Copyright (C) 2018-2020 Alibaba Group Holding Limited
3  */
4 
5 #ifndef __GENIE_MODEL_SCENE_H__
6 #define __GENIE_MODEL_SCENE_H__
7 
8 #define GENIE_SCENE_OP_NUM 4
9 
10 typedef enum _genie_scene_e
11 {
12     GENIE_SCENE_NORMAL,
13     GENIE_SCENE_READ = 3,
14     GENIE_SCENE_CINEMA,
15     GENIE_SCENE_WARM,
16     GENIE_SCENE_NIGHT
17 } genie_scene_e;
18 
19 #define SCENE_DEFAULT GENIE_SCENE_NORMAL
20 
21 extern struct bt_mesh_model_pub g_scene_pub;
22 extern const struct bt_mesh_model_op g_scene_op[GENIE_SCENE_OP_NUM];
23 #define MESH_MODEL_SCENE_SRV(_user_data) BT_MESH_MODEL(BT_MESH_MODEL_ID_SCENE_SRV, g_scene_op, &g_scene_pub, _user_data)
24 
25 #endif
26