doc: mgmt: mcumgr: Fix double maps

Fixes an issue where double maps were shown for some items,
and one whereby there was excess text.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae 2023-07-10 11:52:04 +01:00 committed by Carles Cufí
parent ec46da444e
commit c81f8d7721
2 changed files with 9 additions and 16 deletions

View file

@ -223,10 +223,8 @@ CBOR data of request:
.. code-block:: none .. code-block:: none
{ {
{ (str,opt)"hash" : (str)
(str,opt)"hash" : (str) (str)"confirm" : (bool)
(str)"confirm" : (bool)
}
} }
If "confirm" is false or not provided, an image with the "hash" will be set for If "confirm" is false or not provided, an image with the "hash" will be set for
@ -267,14 +265,12 @@ CBOR data of request:
.. code-block:: none .. code-block:: none
{ {
{ (str,opt)"image" : (uint)
(str,opt)"image" : (uint) (str,opt)"len" : (uint)
(str,opt)"len" : (uint) (str)"off" : (uint)
(str)"off" : (uint) (str,opt)"sha" : (byte str)
(str,opt)"sha" : (byte str) (str,opt)"data" : (byte str)
(str,opt)"data" : (byte str) (str,opt)"upgrade" : (bool)
(str,opt)"upgrade" : (bool)
}
} }
where: where:
@ -412,9 +408,7 @@ CBOR data of request:
.. code-block:: none .. code-block:: none
{ {
{ (str,opt)"slot" : (uint)
(str,opt)"slot" : (uint)
}
} }
where: where:

View file

@ -511,7 +511,6 @@ CBOR data of successful response:
.. code-block:: none .. code-block:: none
format (0 = int, 1 = byte array)
{ {
(str)"types" : { (str)"types" : {
(str)<hash_checksum_name> : { (str)<hash_checksum_name> : {