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

IsReady

Type
Function
Sender
SDL
Purpose
Request ready state of TTS Module

Request

Note
  1. SDL sends TTS.IsReady request after HMI confirms its readiness via BC.OnReady notification.
  2. If HMI responds with "available":false, SDL will not further communicate over TTS interface with HMI.
  3. If HMI does not respond during SDL's default timeout, SDL will continue to send RPCs over TTS interface to HMI.

Parameters

The request does not have specific parameters.

Response

Must
  1. Check whether TTS component is available and ready.
  2. Respond correspondingly to results of this check.

Parameters

Name Type Mandatory Additional
available Boolean true

Sequence Diagrams

Example Request

{
  "id" : 45,
  "jsonrpc" : "2.0",
  "method" : "TTS.IsReady"
}

Example Response

{
  "id" : 45,
  "jsonrpc" : "2.0",
  "result" :
  {
    "available" : true,
    "code" : 0,
    "method" : "TTS.IsReady"
  }
}

Example Error

{
  "id" : 45,
  "jsonrpc" : "2.0",
  "error" :
  {
    "code" : 11,
    "message" : "Invalid data",
    "data" :
    {
      "method" : "TTS.IsReady"
    }
  }
}
View on GitHub.com
Previous Section Next Section