cfg_srv.h 970 B

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