Skip to content

Commit

Permalink
docs: bluetooth: mesh: Add note about storing runtime configuration
Browse files Browse the repository at this point in the history
All public API declared in cfg.h won't schedule storing of the change
persistently if BT_MESH_VALID flag is not set. The flag is set after the
node is provisioned.

Signed-off-by: Pavel Vasilyev <[email protected]>
  • Loading branch information
PavelVPV committed Jun 6, 2023
1 parent b6d8989 commit 2f1cd0f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/connectivity/bluetooth/api/mesh/cfg.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ cases, the mesh node can't rely on the Configuration Client to detect or determi
local constraints, such as low battery power or changes in topology. For these
scenarios, this API can be used to change the configuration locally.

.. note::
Any changes done to the runtime configuration before the node is provisioned
will not be stored in the :ref:`persistent storage <bluetooth_mesh_persistent_storage>`.

API reference
*************

Expand Down
2 changes: 2 additions & 0 deletions doc/connectivity/bluetooth/api/mesh/core.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ vulnerability and flash wear out.
the RPL between reboots, will make the device vulnerable to replay attacks
and not perform the replay protection required by the spec.
.. _bluetooth_mesh_persistent_storage:

Persistent storage
******************

Expand Down

0 comments on commit 2f1cd0f

Please sign in to comment.