@@ -28,7 +28,7 @@ one byte lone, and takes the following form:
2828 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
2929 | 7|6|5|4|3|2|1|0|7|6|5|4|3|2|1|0|7|6|5|4|3|2|1|0|7|6|5|4|3|2|1|0|
3030 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
31- | Res | OP | Flags | Data Length |
31+ | Res | Ver | OP | Flags | Data Length |
3232 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
3333 | Group ID | Sequence Num | Command ID |
3434 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
@@ -57,6 +57,14 @@ Where meaning of fields is:
5757 | ``Res `` | This is reserved, not-used field and should be |
5858 | | always set to 0. |
5959 +-------------------+---------------------------------------------------+
60+ | ``Ver `` (Version) | This indicates the version of the protocol being |
61+ | | used, this should be set to 0b01 to use the newer |
62+ | | SMP transport where error codes are more detailed |
63+ | | and returned in the map, otherwise left as 0b00 |
64+ | | to use the legacy SMP protocol. Versions 0b10 and |
65+ | | 0x11 are reserved for future use and should not |
66+ | | be used. |
67+ +-------------------+---------------------------------------------------+
6068 | ``OP `` | :c:enum: `mcumgr_op_t `, determines whether |
6169 | | information is written to a device or requested |
6270 | | from it and whether a packet contains request to |
0 commit comments