smartdevicelink / sdl_core

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

SDL does not send 0 value in SupportedDiagModes array to mobile app #3935

Open GetmanetsIrina opened 2 years ago

GetmanetsIrina commented 2 years ago

Bug Report

SDL does not send 0 value in supportedDiagModes array to mobile app in RAI response

Reproduction Steps
  1. Change value in smartdeviceLink.ini file: add 0x00 element to the SupportedDiagModes array
  2. Start SDL
  3. Register application
Expected Behavior

According to API https://github.com/smartdevicelink/rpc_spec/blob/20d64e68e1a2af630ac9f33888c971573bcebdd9/MOBILE_API.xml#L5127 min value for supportedDiagModes is 0. So SDL resends supportedDiagModes array with 0 element value to the mobile app in RAI

Observed Behavior

SDL does not send 0 value in supportedDiagModes array to mobile app in RAI response

OS & Version Information
Logs

logs.zip