Skip to content

Commit

Permalink
doc: services: device_mgmt: smp_groups: Fix OP values
Browse files Browse the repository at this point in the history
Fixes an issue with the wrong OP values in some parts of the
documentation

Signed-off-by: Jamie McCrae <[email protected]>
(cherry picked from commit 84e4ffc)
  • Loading branch information
nordicjm authored and jgl-meta committed Aug 8, 2023
1 parent 05c79b7 commit 22813dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions doc/services/device_mgmt/smp_groups/smp_group_0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ OS management group defines following commands:
| ``1`` | Console/Terminal echo control; |
| | unimplemented by Zephyr |
+-------------------+-----------------------------------------------+
| ``2`` | Statistics |
| ``2`` | Task Statistics |
+-------------------+-----------------------------------------------+
| ``3`` | Memory pool statistics |
+-------------------+-----------------------------------------------+
Expand Down Expand Up @@ -410,7 +410,7 @@ Date-time set response header fields:
+--------+--------------+----------------+
| ``OP`` | ``Group ID`` | ``Command ID`` |
+========+==============+================+
| ``1`` | ``0`` | ``4`` |
| ``3`` | ``0`` | ``4`` |
+--------+--------------+----------------+

The command sends an empty CBOR map as data if successful. In case of error the
Expand Down Expand Up @@ -543,7 +543,7 @@ MCUmgr parameters response header fields
+--------+--------------+----------------+
| ``OP`` | ``Group ID`` | ``Command ID`` |
+========+==============+================+
| ``2`` | ``0`` | ``6`` |
| ``1`` | ``0`` | ``6`` |
+--------+--------------+----------------+

CBOR data of successful response:
Expand Down Expand Up @@ -646,7 +646,7 @@ OS/Application info response header fields
+--------+--------------+----------------+
| ``OP`` | ``Group ID`` | ``Command ID`` |
+========+==============+================+
| ``2`` | ``0`` | ``7`` |
| ``1`` | ``0`` | ``7`` |
+--------+--------------+----------------+

CBOR data of response:
Expand Down
1 change: 0 additions & 1 deletion doc/services/device_mgmt/smp_groups/smp_group_1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ Set state of image request header fields:

CBOR data of request:


.. code-block:: none
{
Expand Down

0 comments on commit 22813dd

Please sign in to comment.