Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

GetSystemInfo

  • Type: Function
  • Sender: SDL
  • Purpose: Get head unit system information
Must

The HMI must respond to GetSystemInfo and provide the current head unit software version, language, and country code.

Note

When SDL starts, it sends GetSystemInfo to update the policies database with the latest system data. SDL Stores the ccpu_version when responding to RegisterAppInterfaceRequests.

Request

Parameters

Name Type Mandatory Additional

Response

Parameters

Name Type Mandatory Additional
ccpu_version String true maxlength: 500
language Common.Language true
wersCountryCode String true maxlength: 500

Example Request

{
  "id" : 47,
  "jsonrpc" : "2.0",
  "method" : "BasicCommunication.GetSystemInfo"
}

Example Response

{
  "id" : 47,
  "jsonrpc" : "2.0",
  "result" : {
    "code" : 0,
    "method" : "BasicCommunication.GetSystemInfo",
    "params" : {
        "ccpu_version" : "12.1.3",
        "language" : "EN-US",
        "wersCountryCode" : "WAEGB"
        }
    }
}

Example Error

{
  "id" : 47,
  "jsonrpc" : "2.0",
  "error" :
  {
    "code" : 9,
    "message" : " Error in fetching system information ",
    "data" :
    {
      "method" : "BasicCommunication.GetSystemInfo"
    }
  }
}

Sequence Diagrams

View on GitHub.com
Previous Section Next Section