ref: b4ff1f9ca24fa7ca7d89000cbd1402d120b0054e
src/libs/mynewt-nimble/nimble/host/mesh/src/light_model.h
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
/* * Copyright (c) 2017 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ #ifndef __BT_MESH_LIGHT_MODEL_H #define __BT_MESH_LIGHT_MODEL_H #include "syscfg/syscfg.h" #include "mesh/mesh.h" int light_model_gen_onoff_get(struct bt_mesh_model *model, uint8_t *state); int light_model_gen_onoff_set(struct bt_mesh_model *model, uint8_t state); int light_model_gen_level_get(struct bt_mesh_model *model, int16_t *level); int light_model_gen_level_set(struct bt_mesh_model *model, int16_t level); int light_model_light_lightness_get(struct bt_mesh_model *model, int16_t *lightness); int light_model_light_lightness_set(struct bt_mesh_model *model, int16_t lightness); #endif |