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

Create new API for getting state of RxBleClient #764

Open
dariuszseweryn opened this issue Oct 6, 2021 · 0 comments
Open

Create new API for getting state of RxBleClient #764

dariuszseweryn opened this issue Oct 6, 2021 · 0 comments

Comments

@dariuszseweryn
Copy link
Owner

Is your feature request related to a problem? Please describe.
RxBleClient#observeStateChanges and RxBleClient#getState no longer give valuable insight in what is needed for a particular BLE action to succeed as with API 31 both scanning and connecting need different permissions for instance.

Describe the solution you'd like
An API that would help understand what is still needed for a particular action to succeed

Describe alternatives you've considered
Enhance current API to accommodate new requirements but it seems impossible as scan/connect flows are more detached now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant