summaryrefslogtreecommitdiff
path: root/src/components/include/protocol/common.h
diff options
context:
space:
mode:
authorjacobkeeler <jacob.keeler@livioradio.com>2017-08-08 13:54:03 -0400
committerjacobkeeler <jacob.keeler@livioradio.com>2017-08-08 13:54:03 -0400
commit0000726af268818012618c84a925c01a7b0cc0bc (patch)
treeed3500432ecf0c71cfeb3c1b41c9faa1080293d2 /src/components/include/protocol/common.h
parent83c9502e5ccb3e78ff40b9ef2f110ced17e914cd (diff)
downloadsdl_core-fix/merge_protocol_version_enums.tar.gz
Use one enum for shorthand Protocol Version rather than twofix/merge_protocol_version_enums
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).
*/