The SDL SDK didn't inform the USB SDL app the connection is disconnected. This issue is hard to reproduce, but we have seen it 2~3 times.
When it happened, it will keep printing the logs below. But the USB SDL app didn't know the connection status.
03-25 14:25:58.323 5520 5760 W Sdl Router Service: Unable to send packet through alt transport, it was null03-25 14:25:58.323 5520 5760 E Sdl Router Service: Can't send data, no transport of specified type connected
Reproduction Steps
Install a BT SDL app (Like HearMeOut) and one USB SDL sample app on a mobile device.
Connect the BT to the SDL supported HU.
Connect the USB cable to the SDL supported HU.
Turn off the HU.
Expected Behavior
The USB SDL sample app should receive the onDestroy event in SdlManagerListener.
Observed Behavior
The USB SDL sample app didn't receive the onDestroy event in SdlManagerListener.
And the status cannot recover even we unplug the USB cable.
OS & Version Information
Android Version: Android 10 (Samsung Note9)
SDL Android Version: 4.11.1
Testing Against: Check if the USB SDK sample app can be informed of the disconnection event.
Bug Report
The SDL SDK didn't inform the USB SDL app the connection is disconnected. This issue is hard to reproduce, but we have seen it 2~3 times.
When it happened, it will keep printing the logs below. But the USB SDL app didn't know the connection status.
03-25 14:25:58.323 5520 5760 W Sdl Router Service: Unable to send packet through alt transport, it was null
03-25 14:25:58.323 5520 5760 E Sdl Router Service: Can't send data, no transport of specified type connected
Reproduction Steps
Expected Behavior
The USB SDL sample app should receive the onDestroy event in SdlManagerListener.
Observed Behavior
The USB SDL sample app didn't receive the onDestroy event in SdlManagerListener. And the status cannot recover even we unplug the USB cable.
OS & Version Information
Test Case, Sample Code, and / or Example App
https://smartdevicelink.com/en/docs/android/master/com/smartdevicelink/managers/SdlManagerListener/
Attached the logs of these tags "Sdl Router Service", "SdlProxy", "SdlProtocol". SDL_issue_logs.txt