summaryrefslogtreecommitdiff
path: root/src/components/include/protocol/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/include/protocol/common.h')
-rw-r--r--src/components/include/protocol/common.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/include/protocol/common.h b/src/components/include/protocol/common.h
index 2904f383de..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).
*/