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
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 */
37
38/* Sensor models */
42
43/* Lighting models */
57
58/* Time and Scene models */
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
92bool 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__ */
bool bt_mesh_model_pub_is_unicast(const struct bt_mesh_model *model)
Check whether the model publishes to a unicast address.