SDL PoliciesManager needs this notification for updating the data in policies database. Information about unpaired device will cause SDL PoliciesManager to remove all data related to it from the database.
Notify SDL when the state of bluetooth paired device has been changed.
SDL ignores all invalid notifications which come from HMI (invalid JSON, invalid data types/bounds etc).
Unpairing of the device is NOT a trigger for new PTU sequence.
Name | Type | Mandatory | Additional |
---|---|---|---|
deviceState | Common.DeviceState | true | |
deviceInternalId | String | true | minlength: 0 maxlength: 500 |
deviceId | Common.DeviceInfo | false |
{ "jsonrpc" : "2.0", "method" : "SDL.OnDeviceStateChanged", "params" : { "deviceInternalId":"0017CAF56A51", "deviceState":"UNPAIRED" } }