smartdevicelink / sdl_core

SmartDeviceLink In-Vehicle Software and Sample HMI
BSD 3-Clause "New" or "Revised" License
241 stars 245 forks source link

Apps cannot be registered if MaxSupportedProtocolVersion is set to 1 #3818

Closed jacobkeeler closed 2 years ago

jacobkeeler commented 2 years ago

Bug Report

If MaxSupportedProtocolVersion=1 is set in the INI file, no apps are allowed to register. This is because Core returns UNSUPPORTED_VERSION to protocol v1 apps.

Minimum value for MaxSupportedProtocolVersion should be changed to 2, since Core does not support protocol v1.

Reproduction Steps
  1. Set MaxSupportedProtocolVersion=1 in smartDeviceLink.ini
  2. Start Core
  3. Register App
Expected Behavior

App registers

Observed Behavior

App does not register

OS & Version Information
jacobkeeler commented 2 years ago

Closed via #3801