mgmt/mcumgr: Correct packet length information
The packet length should include length of CRC16. Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
This commit is contained in:
parent
8d40928b2a
commit
d788bc6df0
1 changed files with 2 additions and 1 deletions
|
@ -35,7 +35,8 @@
|
|||
* | -------------- | ------------------------------------------------------- |
|
||||
* | 0x06 0x09 | Byte pair indicating the start of a packet. |
|
||||
* | 0x04 0x14 | Byte pair indicating the start of a continuation frame. |
|
||||
* | Packet length | The combined total length of the *unencoded* body. |
|
||||
* | Packet length | The combined total length of the *unencoded* body plus |
|
||||
* | | the final CRC (2 bytes). Length is in Big-Endian format.|
|
||||
* | Body | The actual SMP data (i.e., 8-byte header and CBOR |
|
||||
* | | key-value map). |
|
||||
* | CRC16 | A CRC16 of the *unencoded* body of the entire packet. |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue