Adding requestConnectionPriority for Android API 21 and greater #136
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.