zephyr/doc/reference/bluetooth/mesh/cfg_srv.rst
Fabio Utzig c79d2ce794 doc: update struct references to use :c:struct:
Sphinx>=3.0 includes the `struct` role in the C domain, which provides a
specific way to link to structs, while the old :c:type: role should be
primary used to typedefs. Update existing references, using :c:type:,
:cpp:type: or emphasized symbols that point to structs to use the new
role.

Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
2020-08-31 09:57:33 -04:00

26 lines
895 B
ReStructuredText

.. _bluetooth_mesh_models_cfg_srv:
Configuration Server
####################
Configuration Server model is a foundation model defined by the Bluetooth Mesh
specification. The Configuration Server model controls most parameters of the
mesh node. It does not have an API of its own, but relies on a
:ref:`bluetooth_mesh_models_cfg_cli` to control it.
The application can configure the initial parameters of the Configuration
Server model through the :c:struct:`bt_mesh_cfg_srv` instance passed to
:c:macro:`BT_MESH_MODEL_CFG_SRV`. Note that if the mesh node stored changes to
this configuration in the settings subsystem, the initial values may be
overwritten upon loading.
The Configuration Server model is mandatory on all Bluetooth Mesh nodes, and
should be instantiated in the first element.
API reference
*************
.. doxygengroup:: bt_mesh_cfg_srv
:project: Zephyr
:members: