nRF Connect SDK API
2.8.99
Loading...
Searching...
No Matches
models.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2019 - 2020 Nordic Semiconductor ASA
3
*
4
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5
*/
6
7
#ifndef BT_MESH_MODELS_H__
8
#define BT_MESH_MODELS_H__
9
10
#include <zephyr/bluetooth/mesh.h>
11
12
#include <
bluetooth/mesh/model_types.h
>
13
14
/* Foundation models */
15
#include <zephyr/bluetooth/mesh/cfg_cli.h>
16
#include <zephyr/bluetooth/mesh/cfg_srv.h>
17
#include <zephyr/bluetooth/mesh/health_cli.h>
18
#include <zephyr/bluetooth/mesh/health_srv.h>
19
20
/* Generic models */
21
#include <
bluetooth/mesh/gen_onoff_srv.h
>
22
#include <
bluetooth/mesh/gen_onoff_cli.h
>
23
#include <
bluetooth/mesh/gen_lvl_srv.h
>
24
#include <
bluetooth/mesh/gen_lvl_cli.h
>
25
#include <
bluetooth/mesh/gen_dtt_srv.h
>
26
#include <
bluetooth/mesh/gen_dtt_cli.h
>
27
#include <
bluetooth/mesh/gen_ponoff_srv.h
>
28
#include <
bluetooth/mesh/gen_ponoff_cli.h
>
29
#include <
bluetooth/mesh/gen_plvl_srv.h
>
30
#include <
bluetooth/mesh/gen_plvl_cli.h
>
31
#include <
bluetooth/mesh/gen_battery_srv.h
>
32
#include <
bluetooth/mesh/gen_battery_cli.h
>
33
#include <
bluetooth/mesh/gen_loc_srv.h
>
34
#include <
bluetooth/mesh/gen_loc_cli.h
>
35
#include <
bluetooth/mesh/gen_prop_srv.h
>
36
#include <
bluetooth/mesh/gen_prop_cli.h
>
37
38
/* Sensor models */
39
#include <
bluetooth/mesh/sensor_types.h
>
40
#include <
bluetooth/mesh/sensor_srv.h
>
41
#include <
bluetooth/mesh/sensor_cli.h
>
42
43
/* Lighting models */
44
#include <
bluetooth/mesh/lightness_srv.h
>
45
#include <
bluetooth/mesh/lightness_cli.h
>
46
#include <
bluetooth/mesh/light_ctrl_srv.h
>
47
#include <
bluetooth/mesh/light_ctrl_cli.h
>
48
#include <
bluetooth/mesh/light_ctl_cli.h
>
49
#include <
bluetooth/mesh/light_temp_srv.h
>
50
#include <
bluetooth/mesh/light_ctl_srv.h
>
51
#include <
bluetooth/mesh/light_xyl_cli.h
>
52
#include <
bluetooth/mesh/light_xyl_srv.h
>
53
#include <
bluetooth/mesh/light_hsl_cli.h
>
54
#include <
bluetooth/mesh/light_hsl_srv.h
>
55
#include <
bluetooth/mesh/light_sat_srv.h
>
56
#include <
bluetooth/mesh/light_hue_srv.h
>
57
58
/* Time and Scene models */
59
#include <
bluetooth/mesh/time_cli.h
>
60
#include <
bluetooth/mesh/time_srv.h
>
61
#include <
bluetooth/mesh/scene_cli.h
>
62
#include <
bluetooth/mesh/scene_srv.h
>
63
#include <
bluetooth/mesh/scheduler_cli.h
>
64
#include <
bluetooth/mesh/scheduler_srv.h
>
65
71
#define BT_MESH_NLC_PROFILE_ID_AMBIENT_LIGHT_SENSOR 0x1600
73
#define BT_MESH_NLC_PROFILE_ID_BASIC_LIGHTNESS_CONTROLLER 0x1601
75
#define BT_MESH_NLC_PROFILE_ID_BASIC_SCENE_SELECTOR 0x1602
77
#define BT_MESH_NLC_PROFILE_ID_DIMMING_CONTROL 0x1603
79
#define BT_MESH_NLC_PROFILE_ID_ENERGY_MONITOR 0x1604
81
#define BT_MESH_NLC_PROFILE_ID_OCCUPANCY_SENSOR 0x1605
92
bool
bt_mesh_model_pub_is_unicast
(
const
struct
bt_mesh_model *model);
93
95
#define BT_MESH_MODEL_LIST(...) ((struct bt_mesh_model[]){ __VA_ARGS__ })
96
97
#endif
/* BT_MESH_MODELS_H__ */
gen_battery_cli.h
gen_battery_srv.h
gen_dtt_cli.h
gen_dtt_srv.h
gen_loc_cli.h
gen_loc_srv.h
gen_lvl_cli.h
gen_lvl_srv.h
gen_onoff_cli.h
gen_onoff_srv.h
gen_plvl_cli.h
gen_plvl_srv.h
gen_ponoff_cli.h
gen_ponoff_srv.h
gen_prop_cli.h
gen_prop_srv.h
light_ctl_cli.h
light_ctl_srv.h
light_ctrl_cli.h
light_ctrl_srv.h
light_hsl_cli.h
light_hsl_srv.h
light_hue_srv.h
light_sat_srv.h
light_temp_srv.h
light_xyl_cli.h
light_xyl_srv.h
lightness_cli.h
lightness_srv.h
model_types.h
bt_mesh_model_pub_is_unicast
bool bt_mesh_model_pub_is_unicast(const struct bt_mesh_model *model)
Check whether the model publishes to a unicast address.
scene_cli.h
scene_srv.h
scheduler_cli.h
scheduler_srv.h
sensor_cli.h
sensor_srv.h
sensor_types.h
time_cli.h
time_srv.h
include
bluetooth
mesh
models.h
Generated on Tue Nov 5 2024 13:54:05 for nRF Connect SDK API by
1.12.0