sdl_core icon indicating copy to clipboard operation
sdl_core copied to clipboard

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

Open GetmanetsIrina opened this issue 3 years ago • 0 comments

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
  • OS/Version: 18.04
  • SDL Core Version: https://github.com/smartdevicelink/sdl_core/tree/develop (65947fd)
  • Testing Against: ATF: latest, Scripts: https://github.com/smartdevicelink/sdl_atf_test_scripts/pull/2691
Logs

logs.zip

GetmanetsIrina avatar Jun 23 '22 13:06 GetmanetsIrina