Line data Source code
1 1 : /** @file
2 : * @brief Configuration Server Model APIs.
3 : */
4 :
5 : /*
6 : * Copyright (c) 2017 Intel Corporation
7 : *
8 : * SPDX-License-Identifier: Apache-2.0
9 : */
10 : #ifndef ZEPHYR_INCLUDE_BLUETOOTH_MESH_CFG_SRV_H_
11 : #define ZEPHYR_INCLUDE_BLUETOOTH_MESH_CFG_SRV_H_
12 :
13 : /**
14 : * @brief Configuration Server Model
15 : * @defgroup bt_mesh_cfg_srv Configuration Server Model
16 : * @ingroup bt_mesh
17 : * @{
18 : */
19 :
20 : #ifdef __cplusplus
21 : extern "C" {
22 : #endif
23 :
24 : /**
25 : * @brief Generic Configuration Server model composition data entry.
26 : */
27 1 : #define BT_MESH_MODEL_CFG_SRV \
28 : BT_MESH_MODEL_CNT_CB(BT_MESH_MODEL_ID_CFG_SRV, \
29 : bt_mesh_cfg_srv_op, NULL, \
30 : NULL, 1, 0, &bt_mesh_cfg_srv_cb)
31 :
32 : /** @cond INTERNAL_HIDDEN */
33 : extern const struct bt_mesh_model_op bt_mesh_cfg_srv_op[];
34 : extern const struct bt_mesh_model_cb bt_mesh_cfg_srv_cb;
35 : /** @endcond */
36 :
37 : #ifdef __cplusplus
38 : }
39 : #endif
40 :
41 : /**
42 : * @}
43 : */
44 :
45 : #endif /* ZEPHYR_INCLUDE_BLUETOOTH_MESH_CFG_SRV_H_ */
|