The UpdateAppList request is sent after SDL has found a new device over one of the available transports.
The SDL's default Transport Manager (TM) and Transport Adapters (TA) behave in the following way.
BasicCommunication.UpdateDeviceList
with the name and id of the discovered device to the HMI.OnDeviceChosen(deviceInfo)
or OnFindApplications(deviceInfo)
from the HMI to allow registering applications which are running on the connected device.BasicCommunication.OnAppRegistered
to the HMI BasicCommunication.UpdateDeviceList
to HMI when iOS device was connected over Bluetooth with applications registered and running on SDL and was also connected over USB. BasicCommunication.UpdateDeviceList
with the name, id, and TransportType (AOA, iOS) of the discovered device to the HMI.BasicCommunication.OnAppRegistered
to the HMI and does not wait for OnDeviceChosen
or OnFindApplications
notificationsBasicCommunication.UpdateDeviceList
with the name and id of the discovered device to the HMIBasicCommunication.OnAppRegistered
to the HMI and does not wait for OnDeviceChosen
or OnFindApplications
notificationsBasicCommunication.UpdateDeviceList
with the names, IDs, and transportType: CLOUD_WEBSOCKET for each cloud deviceOnDeviceChosen
and OnFindApplications
notificationsName | Type | Mandatory | Additional |
---|---|---|---|
deviceList | Common.DeviceInfo | true | array: true minsize: 0 maxsize: 100 |
This RPC has no additional parameter requirements
{ "id" : 64, "jsonrpc" : "2.0", "method" : "BasicCommunication.UpdateDeviceList", "params" : { "deviceList" : [ { "name" : "Jerry's Phone", "id" : 3 }, { "name" : "XT910", "id" : 4 } ] } }
{ "id" : 64, "jsonrpc" : "2.0", "result" : { "code" : 0, "method" : "BasicCommunication.UpdateDeviceList" } }
{ "id" : 64, "jsonrpc" : "2.0", "error" : { "code" : 11, "message" : " The data sent is invalid.", "data" : { "method" : "BasicCommunication.UpdateDeviceList" } } }