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:
parent
0a5525358c
commit
492e2ed741
|
@ -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
|
||||
=====================
|
||||
|
|
Loading…
Reference in a new issue