From a77d499e2dae37d7b549f5c1954db1582763fd12 Mon Sep 17 00:00:00 2001 From: Simon Moser Date: Wed, 30 Oct 2024 09:57:32 +0100 Subject: [PATCH] doc: fix body length in SMP UART transport In the description of the partial-final frame of the SMP UART transport specification was a typo in the maximum allowed raw body size. The size must not be larger than MTU - 5 because there are 5 bytes occupied by total length (2), frame termination (1) and crc (2). Signed-off-by: Simon Moser --- doc/services/device_mgmt/smp_transport.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/services/device_mgmt/smp_transport.rst b/doc/services/device_mgmt/smp_transport.rst index d0130047576..644ef7c484e 100644 --- a/doc/services/device_mgmt/smp_transport.rst +++ b/doc/services/device_mgmt/smp_transport.rst @@ -179,7 +179,7 @@ taking form: | Content | Size | Description | +===============+===============+===========================+ | body | no more than | Raw body data fragment | - | | MTU - 3 | | + | | MTU - 5 | | +---------------+---------------+---------------------------+ | crc16 | 2 bytes | CRC16 of entire packet | | | | body, preceding length |