Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding requestConnectionPriority for Android API 21 and greater #136

Merged
merged 3 commits into from
Feb 27, 2015

Conversation

kgillespieatmosphere
Copy link
Contributor

This series of commits give the BluetoothLE plugin the ability to request a connection priority with the latest version of the Android API. If you set your target system to build and API version 19 or 20 the new code will not do anything if called. This new code does require a users manual change their project.properties file and then set "target=android-21" instead of "target=android-19".

Have done extensive benchmarking on this new patch but I have confirmed that the Android device does request to the BLE device that it is connected with to change it's hopping interval speed and therefor increase the theoretical bandwidth.

@randdusing
Copy link
Owner

I want to run a couple verifications, and then I'll merge it. Then I'm going to add some extra error handling and update the documentation, but that can wait.

@randdusing
Copy link
Owner

Sorry for the delay. Checking this out right now.

@randdusing randdusing mentioned this pull request Feb 26, 2015
@randdusing randdusing merged commit 9b9830f into randdusing:master Feb 27, 2015
@randdusing randdusing mentioned this pull request Mar 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants