You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HMI responds with
{"success":true,"resultCode":"SUCCESS"}
HMI applies appropriate template
Actual result:
for media app
SDL -> HMI [9:36:41:813]: {"id":178,"jsonrpc":"2.0","method":"UI.SetDisplayLayout","params":{"appID":1812981488,"displayLayout":"DEFAULT"}}
UIRPC.js:160 FFW.UI.onRPCRequest
UIRPC.js:506 FFW.UI.SetDisplayLayoutResponse
RPCClient.js:323 HMI -> SDL [9:36:41:815]: {"jsonrpc":"2.0","id":178,"result":{"displayCapabilities":{"displayType":"GEN2_8_DMA","displayName":"SDL_HMI","textFields":[{"name":"mainField1","characterSet":"UTF_8","width":500,"rows":1},{"name":"mainField2","characterSet":"UTF_8","width":500,"rows":1},{"name":"statusBar","characterSet":"UTF_8","width":500,"rows":1},{"name":"mediaClock","characterSet":"UTF_8","width":500,"rows":1},{"name":"mediaTrack","characterSet":"UTF_8","width":500,"rows":1},{"name":"templateTitle","characterSet":"UTF_8","width":100,"rows":1},{"name":"alertText1","characterSet":"UTF_8","width":500,"rows":1},{"name":"alertText2","characterSet":"UTF_8","width":500,"rows":1},{"name":"alertText3","characterSet":"UTF_8","width":500,"rows":1},{"name":"scrollableMessageBody","characterSet":"UTF_8","width":500,"rows":1},{"name":"initialInteractionText","characterSet":"UTF_8","width":500,"rows":1},{"name":"navigationText1","characterSet":"UTF_8","width":500,"rows":1},{"name":"navigationText2","characterSet":"UTF_8","width":500,"rows":1},{"name":"ETA","characterSet":"UTF_8","width":500,"rows":1},{"name":"totalDistance","characterSet":"UTF_8","width":500,"rows":1},{"name":"audioPassThruDisplayText1","characterSet":"UTF_8","width":500,"rows":1},{"name":"audioPassThruDisplayText2","characterSet":"UTF_8","width":500,"rows":1},{"name":"sliderHeader","characterSet":"UTF_8","width":500,"rows":1},{"name":"sliderFooter","characterSet":"UTF_8","width":500,"rows":1},{"name":"menuName","characterSet":"UTF_8","width":500,"rows":1},{"name":"secondaryText","characterSet":"UTF_8","width":500,"rows":1},{"name":"tertiaryText","characterSet":"UTF_8","width":500,"rows":1},{"name":"timeToDestination","characterSet":"UTF_8","width":500,"rows":1},{"name":"turnText","characterSet":"UTF_8","width":500,"rows":1},{"name":"menuTitle","characterSet":"UTF_8","width":10,"rows":1},{"name":"locationName","characterSet":"UTF_8","width":500,"rows":1},{"name":"locationDescription","characterSet":"UTF_8","width":500,"rows":1},{"name":"addressLines","characterSet":"UTF_8","width":500,"rows":1},{"name":"phoneNumber","characterSet":"UTF_8","width":500,"rows":1}],"imageFields":[{"name":"softButtonImage","imageTypeSupported":["GRAPHIC_BMP","GRAPHIC_JPEG","GRAPHIC_PNG"],"imageResolution":{"resolutionWidth":64,"resolutionHeight":64}},{"name":"choiceImage","imageTypeSupported":["GRAPHIC_BMP","GRAPHIC_JPEG","GRAPHIC_PNG"],"imageResolution":{"resolutionWidth":64,"resolutionHeight":64}},{"name":"choiceSecondaryImage","imageTypeSupported":["GRAPHIC_BMP","GRAPHIC_JPEG","GRAPHIC_PNG"],"imageResolution":{"resolutionWidth":64,"resolutionHeight":64}},{"name":"vrHelpItem","imageTypeSupported":["GRAPHIC_BMP","GRAPHIC_JPEG","GRAPHIC_PNG"],"imageResolution":{"resolutionWidth":64,"resolutionHeight":64}},{"name":"turnIcon","imageTypeSupported":["GRAPHIC_BMP","GRAPHIC_JPEG","GRAPHIC_PNG"],"imageResolution":{"resolutionWidth":64,"resolutionHeight":64}},{"name":"menuIcon","imageTypeSupported":["GRAPHIC_BMP","GRAPHIC_JPEG","GRAPHIC_PNG"],"imageResolution":{"resolutionWidth":64,"resolutionHeight":64}},{"name":"cmdIcon","imageTypeSupported":["GRAPHIC_BMP","GRAPHIC_JPEG","GRAPHIC_PNG"],"imageResolution":{"resolutionWidth":64,"resolutionHeight":64}},{"name":"graphic","imageTypeSupported":["GRAPHIC_BMP","GRAPHIC_JPEG","GRAPHIC_PNG"],"imageResolution":{"resolutionWidth":64,"resolutionHeight":64}},{"name":"secondaryGraphic","imageTypeSupported":["GRAPHIC_BMP","GRAPHIC_JPEG","GRAPHIC_PNG"],"imageResolution":{"resolutionWidth":64,"resolutionHeight":64}},{"name":"showConstantTBTIcon","imageTypeSupported":["GRAPHIC_BMP","GRAPHIC_JPEG","GRAPHIC_PNG"],"imageResolution":{"resolutionWidth":64,"resolutionHeight":64}},{"name":"showConstantTBTNextTurnIcon","imageTypeSupported":["GRAPHIC_BMP","GRAPHIC_JPEG","GRAPHIC_PNG"],"imageResolution":{"resolutionWidth":64,"resolutionHeight":64}},{"name":"showConstantTBTNextTurnIcon","imageTypeSupported":["GRAPHIC_BMP","GRAPHIC_JPEG","GRAPHIC_PNG"],"imageResolution":{"resolutionWidth":64,"resolutionHeight":64}},{"name":"alertIcon","imageTypeSupported":["GRAPHIC_BMP","GRAPHIC_JPEG","GRAPHIC_PNG"],"imageResolution":{"resolutionWidth":105,"resolutionHeight":65}}],"mediaClockFormats":["CLOCK1","CLOCK2","CLOCK3","CLOCKTEXT1","CLOCKTEXT2","CLOCKTEXT3","CLOCKTEXT4"],"graphicSupported":true,"imageCapabilities":["DYNAMIC","STATIC"],"templatesAvailable":["MEDIA","NON-MEDIA","NAV_FULLSCREEN_MAP","WEB_VIEW"],"screenParams":{"resolution":{"resolutionWidth":800,"resolutionHeight":480},"touchEventAvailable":{"pressAvailable":true,"multiTouchAvailable":true,"doublePressAvailable":false}},"numCustomPresetsAvailable":10},"buttonCapabilities":[{"name":"PRESET_0","shortPressAvailable":true,"longPressAvailable":true,"upDownAvailable":true},{"name":"PRESET_1","shortPressAvailable":true,"longPressAvailable":true,"upDownAvailable":true},{"name":"PRESET_2","shortPressAvailable":true,"longPressAvailable":true,"upDownAvailable":true},{"name":"PRESET_3","shortPressAvailable":true,"longPressAvailable":true,"upDownAvailable":true},{"name":"PRESET_4","shortPressAvailable":true,"longPressAvailable":true,"upDownAvailable":true},{"name":"PRESET_5","shortPressAvailable":true,"longPressAvailable":true,"upDownAvailable":true},{"name":"PRESET_6","shortPressAvailable":true,"longPressAvailable":true,"upDownAvailable":true},{"name":"PRESET_7","shortPressAvailable":true,"longPressAvailable":true,"upDownAvailable":true},{"name":"PRESET_8","shortPressAvailable":true,"longPressAvailable":true,"upDownAvailable":true},{"name":"PRESET_9","shortPressAvailable":true,"longPressAvailable":true,"upDownAvailable":true},{"name":"OK","shortPressAvailable":true,"longPressAvailable":true,"upDownAvailable":true},{"name":"PLAY_PAUSE","shortPressAvailable":true,"longPressAvailable":true,"upDownAvailable":true},{"name":"SEEKLEFT","shortPressAvailable":true,"longPressAvailable":true,"upDownAvailable":true},{"name":"SEEKRIGHT","shortPressAvailable":true,"longPressAvailable":true,"upDownAvailable":true},{"name":"TUNEUP","shortPressAvailable":true,"longPressAvailable":true,"upDownAvailable":true},{"name":"TUNEDOWN","shortPressAvailable":true,"longPressAvailable":true,"upDownAvailable":true},{"name":"CUSTOM_BUTTON","shortPressAvailable":true,"longPressAvailable":true,"upDownAvailable":true}],"softButtonCapabilities":[{"shortPressAvailable":true,"longPressAvailable":true,"upDownAvailable":true,"imageSupported":true}],"presetBankCapabilities":{"onScreenPresetsAvailable":true},"code":0,"method":"UI.SetDisplayLayout"}}
KeyboardController.js:252 Unmasking keyboard input characters
navigationSubscriptionButtonsView.js:78 Refresh items??? null
KeyboardController.js:252 Unmasking keyboard input characters
navigationSubscriptionButtonsView.js:78 Refresh items??? <SDL.SDLMediaModel:ember28565>
RCRPC.js:529 FFW.RC.OnInteriorVehicleData Notification
RPCClient.js:323 HMI -> SDL [9:36:41:897]: {"jsonrpc":"2.0","method":"RC.OnInteriorVehicleData","params":{"moduleData":{"moduleType":"AUDIO","moduleId":"d38e4a05-b17c-28e3-9d38-e4a05b17c28e","audioControlData":{"source":"MOBILE_APP"}}}}
VM268:1 Uncaught SyntaxError: Unexpected token u in JSON at position 0
at JSON.parse (<anonymous>)
at deepCopy (SDLApp.js:74)
at d.getDisplayCapability (Controller.js:1654)
at d.onRPCRequest (UIRPC.js:574)
at d [as onRPCRequest] (ember-1.0.pre.min.js:14)
at d.onWSMessage (RPCClient.js:190)
at WebSocket.socket.onmessage (RPCClient.js:81)
for non-media app
Refresh items??? <SDL.SDLNonMediaModel:ember37628>
VM541:1 Uncaught SyntaxError: Unexpected token u in JSON at position 0
at JSON.parse (<anonymous>)
at deepCopy (SDLApp.js:74)
at d.getDisplayCapability (Controller.js:1654)
at d.onRPCRequest (UIRPC.js:574)
at d [as onRPCRequest] (ember-1.0.pre.min.js:14)
at d.onWSMessage (RPCClient.js:190)
at WebSocket.socket.onmessage (RPCClient.js:81)
Browser & Version Information
Browser and Version: Chromium (Version 92.0.4515.159)
A DEAULT available template is removed from the display capabilities because it's not defined on the HMI.
The expected result of the issue-609 must be replaced with an error result code.
Description:
HMI Uncaught ReferenceError during processing SetDisplayLayout(displayLayout = DEFAULT) for media and non-media apps
Precondition:
Steps to reproduce:
Expected result:
HMI responds with
{"success":true,"resultCode":"SUCCESS"}
HMI applies appropriate template
Actual result:
for media app
for non-media app
Browser & Version Information
The text was updated successfully, but these errors were encountered: