doc/guides/device_mgmt/smp: Extend reset command with force option

The commit documents OS reset command extension that allows to
force reset, when OS responds with busy "rc" code to reset
attempts.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
This commit is contained in:
Dominik Ermel 2022-06-09 12:06:46 +00:00 committed by Carles Cufí
parent 0a5525358c
commit 492e2ed741

View file

@ -431,7 +431,25 @@ System reset request header fields:
| ``2`` | ``0`` | ``5`` |
+--------+--------------+----------------+
The command sends empty CBOR map as data.
Normally the command sends empty CBOR map as data, but if previous
reset attempt has been responded with "rc" code equal ``10`` (busy),
then following map may be send to force the reset:
.. code-block:: none
{
(opt)"force" : (int)
}
where:
.. table::
:align: center
+-----------------------+---------------------------------------------------+
| "force" | Force reset if value > 0, optional if 0. |
+-----------------------+---------------------------------------------------+
System reset response
=====================