NimBLE-Arduino 2.1.2
Loading...
Searching...
No Matches
light_model.h
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 "nimble/porting/nimble/include/syscfg/syscfg.h"
10#include "../include/mesh/mesh.h"
11
12int light_model_gen_onoff_get(struct bt_mesh_model *model, uint8_t *state);
13int light_model_gen_onoff_set(struct bt_mesh_model *model, uint8_t state);
14int light_model_gen_level_get(struct bt_mesh_model *model, int16_t *level);
15int light_model_gen_level_set(struct bt_mesh_model *model, int16_t level);
16int light_model_light_lightness_get(struct bt_mesh_model *model, int16_t *lightness);
17int light_model_light_lightness_set(struct bt_mesh_model *model, int16_t lightness);
18
19#endif
Definition access.h:444