summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/appMain/smartDeviceLink.ini2
-rw-r--r--src/components/config_profile/src/profile.cc4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/appMain/smartDeviceLink.ini b/src/appMain/smartDeviceLink.ini
index 56822db0ef..15bba13b86 100644
--- a/src/appMain/smartDeviceLink.ini
+++ b/src/appMain/smartDeviceLink.ini
@@ -237,7 +237,7 @@ CloudAppRetryTimeout = 1000
CloudAppMaxRetryAttempts = 5
[ProtocolHandler]
-; SDL supported protocol version
+; SDL supported protocol version. Minimum value is 2
MaxSupportedProtocolVersion = 5
; Packet with payload bigger than next value will be marked as a malformed
; for protocol v3 or higher
diff --git a/src/components/config_profile/src/profile.cc b/src/components/config_profile/src/profile.cc
index f318ec98f5..38be86c72f 100644
--- a/src/components/config_profile/src/profile.cc
+++ b/src/components/config_profile/src/profile.cc
@@ -2298,8 +2298,8 @@ void Profile::UpdateValues() {
kProtocolHandlerSection,
kMaxSupportedProtocolVersionKey);
- if (max_supported_protocol_version_ < 1) {
- max_supported_protocol_version_ = 1;
+ if (max_supported_protocol_version_ < 2) {
+ max_supported_protocol_version_ = 2;
} else if (max_supported_protocol_version_ >
kDefaultMaxSupportedProtocolVersion) {
max_supported_protocol_version_ = kDefaultMaxSupportedProtocolVersion;