Skip to content

Commit c480aa3

Browse files
smnmsrnashif
authored andcommitted
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 <[email protected]> (cherry picked from commit a77d499)
1 parent 713d8c8 commit c480aa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/services/device_mgmt/smp_transport.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ taking form:
179179
| Content | Size | Description |
180180
+===============+===============+===========================+
181181
| body | no more than | Raw body data fragment |
182-
| | MTU - 3 | |
182+
| | MTU - 5 | |
183183
+---------------+---------------+---------------------------+
184184
| crc16 | 2 bytes | CRC16 of entire packet |
185185
| | | body, preceding length |

0 commit comments

Comments
 (0)