diff options
Diffstat (limited to 'src/components/include/protocol/common.h')
-rw-r--r-- | src/components/include/protocol/common.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/components/include/protocol/common.h b/src/components/include/protocol/common.h index ce4c4adf6f..00d57a9bf5 100644 --- a/src/components/include/protocol/common.h +++ b/src/components/include/protocol/common.h @@ -56,8 +56,9 @@ const uint8_t PROTOCOL_HEADER_V2_SIZE = 12; *\brief Protocol versions constants * First 4-bit field of AppLink protocol packet */ -enum { - +enum MajorProtocolVersion { + PROTOCOL_VERSION_UNKNOWN = -1, + PROTOCOL_VERSION_HMI = 0x00, /** *\brief Constant: number of protocol version (1). */ @@ -85,6 +86,12 @@ enum { */ PROTOCOL_VERSION_4 = 0x04, /** + *@brief Constant: number of protocol version (5). + * Supports constructed payloads for protocol packets + * SDL4.4 feature. + */ + PROTOCOL_VERSION_5 = 0x05, + /** *\brief Maximum value of packet version field (size 4-bit) specified AppLink *Protocol v.7 */ |