Line data Source code
1 0 : /* 2 : * Copyright (c) 2020 Nordic Semiconductor ASA 3 : * 4 : * SPDX-License-Identifier: Apache-2.0 5 : */ 6 : 7 : #ifndef ZEPHYR_INCLUDE_BT_MESH_RPR_SRV_H__ 8 : #define ZEPHYR_INCLUDE_BT_MESH_RPR_SRV_H__ 9 : 10 : #include <zephyr/bluetooth/bluetooth.h> 11 : #include <zephyr/bluetooth/mesh/access.h> 12 : #include <zephyr/bluetooth/mesh/rpr.h> 13 : 14 : #ifdef __cplusplus 15 : extern "C" { 16 : #endif 17 : 18 : /** 19 : * @defgroup bt_mesh_rpr_srv Remote provisioning server 20 : * @ingroup bt_mesh 21 : * @{ 22 : */ 23 : 24 : /** 25 : * 26 : * @brief Remote Provisioning Server model composition data entry. 27 : */ 28 1 : #define BT_MESH_MODEL_RPR_SRV \ 29 : BT_MESH_MODEL_CB(BT_MESH_MODEL_ID_REMOTE_PROV_SRV, \ 30 : _bt_mesh_rpr_srv_op, NULL, NULL, \ 31 : &_bt_mesh_rpr_srv_cb) 32 : 33 : /** @cond INTERNAL_HIDDEN */ 34 : extern const struct bt_mesh_model_op _bt_mesh_rpr_srv_op[]; 35 : extern const struct bt_mesh_model_cb _bt_mesh_rpr_srv_cb; 36 : /** @endcond */ 37 : 38 : /** @} */ 39 : 40 : #ifdef __cplusplus 41 : } 42 : #endif 43 : 44 : #endif /* ZEPHYR_INCLUDE_BT_MESH_RPR_SRV_H__ */