xref: /nrf52832-nimble/packages/NimBLE-latest/nimble/host/mesh/src/light_model.h (revision 042d53a763ad75cb1465103098bb88c245d95138)
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