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 482361178c6..61622ee71b2 100644 --- a/doc/services/device_mgmt/smp_groups/smp_group_1.rst +++ b/doc/services/device_mgmt/smp_groups/smp_group_1.rst @@ -223,10 +223,8 @@ CBOR data of request: .. code-block:: none { - { - (str,opt)"hash" : (str) - (str)"confirm" : (bool) - } + (str,opt)"hash" : (str) + (str)"confirm" : (bool) } 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 { - { - (str,opt)"image" : (uint) - (str,opt)"len" : (uint) - (str)"off" : (uint) - (str,opt)"sha" : (byte str) - (str,opt)"data" : (byte str) - (str,opt)"upgrade" : (bool) - } + (str,opt)"image" : (uint) + (str,opt)"len" : (uint) + (str)"off" : (uint) + (str,opt)"sha" : (byte str) + (str,opt)"data" : (byte str) + (str,opt)"upgrade" : (bool) } where: @@ -412,9 +408,7 @@ CBOR data of request: .. code-block:: none { - { - (str,opt)"slot" : (uint) - } + (str,opt)"slot" : (uint) } where: diff --git a/doc/services/device_mgmt/smp_groups/smp_group_8.rst b/doc/services/device_mgmt/smp_groups/smp_group_8.rst index 3ed8add1cc8..d86208346f8 100644 --- a/doc/services/device_mgmt/smp_groups/smp_group_8.rst +++ b/doc/services/device_mgmt/smp_groups/smp_group_8.rst @@ -511,7 +511,6 @@ CBOR data of successful response: .. code-block:: none - format (0 = int, 1 = byte array) { (str)"types" : { (str) : {