• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2017 Intel Corporation
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 #ifndef __BT_MESH_LIGHT_MODEL_H
7 #define __BT_MESH_LIGHT_MODEL_H
8 
9 #include "syscfg/syscfg.h"
10 #include "mesh/mesh.h"
11 
12 int light_model_gen_onoff_get(struct bt_mesh_model *model, u8_t *state);
13 int light_model_gen_onoff_set(struct bt_mesh_model *model, u8_t state);
14 int light_model_gen_level_get(struct bt_mesh_model *model, s16_t *level);
15 int light_model_gen_level_set(struct bt_mesh_model *model, s16_t level);
16 int light_model_light_lightness_get(struct bt_mesh_model *model, s16_t *lightness);
17 int light_model_light_lightness_set(struct bt_mesh_model *model, s16_t lightness);
18 
19 #endif
20