Skip to content

The SDL SDK didn't inform the app the connection is disconnected #1649

@AndreLee-2019

Description

@AndreLee-2019

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
  1. Install a BT SDL app (Like HearMeOut) and one USB SDL sample app on a mobile device.
  2. Connect the BT to the SDL supported HU.
  3. Connect the USB cable to the SDL supported HU.
  4. 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.
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions