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

Refresh cache feature #48

Open
MikhailNatalenko opened this issue Jun 7, 2019 · 1 comment
Open

Refresh cache feature #48

MikhailNatalenko opened this issue Jun 7, 2019 · 1 comment

Comments

@MikhailNatalenko
Copy link

MikhailNatalenko commented Jun 7, 2019

Hello!

I have a weird issue with one of my test phones (it's Huawei P Smart 2017) I don't know how, but it looks like cache corrupts somehow and I can't connect one more time after disconnect. I can clear the cache with nRF connect app and it work's like a charm. I want to have this feature too

It's hidden in BluetoothGatt class.

https://stackoverflow.com/questions/22596951/how-to-programmatically-force-bluetooth-low-energy-service-discovery-on-android

Maybe we could have an additional parameter clearCache = false in disconnect() / close()?

@LouisCAD
Copy link
Collaborator

Hello,
I'm open to adding this feature.
Do you want to submit a PR for this feature?

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

2 participants