From 22813dda0fb3c7bcbd04d0343fbb569ad2b6aa62 Mon Sep 17 00:00:00 2001 From: Jamie McCrae Date: Mon, 7 Aug 2023 09:37:39 +0100 Subject: [PATCH] doc: services: device_mgmt: smp_groups: Fix OP values Fixes an issue with the wrong OP values in some parts of the documentation Signed-off-by: Jamie McCrae (cherry picked from commit 84e4ffcd56348f96ea532ece89f5eda9c62e8c56) --- doc/services/device_mgmt/smp_groups/smp_group_0.rst | 8 ++++---- doc/services/device_mgmt/smp_groups/smp_group_1.rst | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/doc/services/device_mgmt/smp_groups/smp_group_0.rst b/doc/services/device_mgmt/smp_groups/smp_group_0.rst index 26cc553d414462..148f37593f59ae 100644 --- a/doc/services/device_mgmt/smp_groups/smp_group_0.rst +++ b/doc/services/device_mgmt/smp_groups/smp_group_0.rst @@ -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 | +-------------------+-----------------------------------------------+ @@ -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 @@ -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: @@ -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: diff --git a/doc/services/device_mgmt/smp_groups/smp_group_1.rst b/doc/services/device_mgmt/smp_groups/smp_group_1.rst index 482361178c69c6..fa18b42b472a27 100644 --- a/doc/services/device_mgmt/smp_groups/smp_group_1.rst +++ b/doc/services/device_mgmt/smp_groups/smp_group_1.rst @@ -219,7 +219,6 @@ Set state of image request header fields: CBOR data of request: - .. code-block:: none {