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>
(cherry picked from commit a77d499e2d)
This commit is contained in:
@@ -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 |
|
||||
|
||||
Reference in New Issue
Block a user