HMI can send this RPC to notify SDL that the timeout needs to be reset for an RPC request. BC.OnResetTimeout
can be used for functions in all interfaces.
BC.OnResetTimeout
to SDL in case HMI needs more time to process a request from a mobile application.Currently, there is no version negotiation between HMI and Core, so older HMI implementations will not work with Core 8.0 version.
Name | Type | Mandatory | Additional | Description |
---|---|---|---|---|
requestID | Integer | true | minvalue: 0 maxvalue: 65535 |
Id between HMI and SDL which SDL used to send the request for method in question, for which timeout needs to be reset |
methodName | String | true | Name of the function for which timeout needs to be reset | |
resetPeriod | Integer | false | minvalue: 0 maxvalue: 1000000 |
Timeout period in milliseconds, for the method for which timeout needs to be reset. If omitted, timeout would be reset by defaultTimeout specified in smartDeviceLink.ini |
{ "jsonrpc" : "2.0", "method" : "BasicCommunication.OnResetTimeout", "params" : { "requestID" : 123, "methodName" : "TTS.Speak", "resetPeriod" : 10000 } }