-
Notifications
You must be signed in to change notification settings - Fork 80
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
Provide ability to request connection priority #36
Comments
Hey, just checking on status for this... Any updates? We're experimenting with kable in our app and so far, liking it quite a bit! I think this is the one feature it's missing that we'd find really helpful, as we transfer large amounts of data over BLE and this would speed things up quite a bit. Thanks for the great library! |
We try to prioritize issues based on number of 👍 . After each release we try to shuffle issues into appropriate target milestones based on their upvote count (as much as feasible at least). That being said, internally we'll be wanting this feature as well, so we'll be getting to it sooner rather than later regardless of number of upvotes.
Thanks for the kind words. 😄 |
Great, thanks for the update! |
@mtrewartha looked into it really quick and found the implementation to be super simple. As mentioned in #125, When you have a chance, you can give it a try: repositories {
maven("https://oss.sonatype.org/content/repositories/snapshots")
}
dependencies {
implementation("com.juul.kable:core:0.5.1-issue-125-1-SNAPSHOT")
} peripheral.connect()
peripheral.requestConnectionPriority(Priority.High) // or Priority.Low or Priority.Balanced |
Works great 👍🏼 Thanks again for the great library! The API is quite intuitive and so far, it's been reliable for me. I was able to replace all BLE code in our app and move it from our Android app module to a shared module in a matter of a day, all thanks to this library. |
Android BLE API supports requesting various connection priorities. Kable should expose this functionality for platforms that support it.
Implemented in Able via JuulLabs/able#95.
The text was updated successfully, but these errors were encountered: