Skip to content

[SDL 0230] SPP resource management for Android #1132

@theresalech

Description

@theresalech

Proposal: SPP resource management for Android

RFCOMM is a connection-oriented, streaming transport over Bluetooth, which is known as Serial Port Profile (SPP) in Android. SDL Proxy uses BluetoothServerSocket to listen on a SPP channel, and it is used for primary transport. On an Android device, the number of SPP resources is limited, and BluetoothServerSocket fails to accept connections when SPP channel runs out of available resources. Current SDL Proxy does not handle that case very well. This proposal is to improve the SPP resource management in SDL Android.

Review: smartdevicelink/sdl_evolution#730

Steering Committee Decision:

During the Steering Committee discussion of this issue, it was noted that the Steering Committee had previously considered the possibility of pointing the user to a URL/Webpage with regards to the SDLNotificationActivity component, and came to the conclusion that a notification with "Too many apps are using Bluetooth" dialog would be best as to not overcomplicate the UX and take advantage of the Android system's internationalization. Additional information about this item can be found in the review issue comments.

It was also specified that by accepting the proposal, members understood that the notification implemented by the feature will be "noisy" including lights, vibration, and sound. Additionally, the notification will display the following message to the user "Too many apps are using Bluetooth" (in English). It was understood by members that the English string would be accepted by accepting the proposal, and there would be an additional review period for SDLC Members to review translations of this string.

Ultimately, the proposal was accepted with the revisions included in the author's comment here.

The proposal .md file was updated to reflect these revisions on 7/25/19.

Metadata

Metadata

Assignees

No one assigned

    Labels

    androidRelating to the android part of the libraryproposalAccepted SDL Evolution Proposaltransport-bluetoothRelating to the BT transport

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions