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 <simon.github@mailbox.org>
This commit is contained in:
Simon Moser 2024-10-30 09:57:32 +01:00 committed by Mahesh Mahadevan
parent 32b1140066
commit a77d499e2d

View file

@ -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 |