question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

API feature to close/release all connections or clean the cached devices

See original GitHub issue

Is your feature request related to a problem? Please describe. I’m using the library to scan and read some characteristics from other phones while everything is working perfect with relatively new phones with android 8 or higher, old phones with android 7 are failing to close the connections and after couple of hours they are ending up in status 133:

com.polidea.rxandroidble2.exceptions.BleDisconnectedException: Disconnected from MAC='XX:XX:XX:XX:XX:XX' with status 133 (GATT_ERROR)

and they are not able to scan until the device is rebooted.

This might be a bug in my code or the library, but since new phones are working flawlessly. i suspect it is related to android os.

Describe the solution you’d like Would it be possible to kill the connections and release them using an api call in the library? Or If this is caching related issue, to clean cached devices, via this library ?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:22 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
dariuszseweryncommented, Jun 8, 2020

Though it seems to be quite away from the original topic — that is some interesting idea. I will extract it as a separate issue. I have quite a lot on my stack now and definitely not enough time unfortunately.

1reaction
SmartShepherdUsercommented, Jun 8, 2020

So to get back to the point, would it be possible to produce a warning before those version specific thresholds were reached? I can help testing and perhaps have some code to contribute. Also need to reiterate this is not an rxandroidble issue but could make it a killer feature.

Read more comments on GitHub >

github_iconTop Results From Across the Web

API feature to close/release all connections or clean ... - GitHub
Is your feature request related to a problem? Please describe. I'm using the library to scan and read some characteristics from other phones...
Read more >
Clear-Site-Data - HTTP - MDN Web Docs
The Clear-Site-Data header clears browsing data (cookies, storage, cache) associated with the requesting website.
Read more >
Angular app has to clear cache after new deployment
We have an Angular 6 application. It's served on Nginx. And SSL is on. When we deploy new codes, most of new features...
Read more >
CLEAR CACHE | Databricks on AWS
Removes the entries and associated data from the in-memory and/or on-disk cache for all cached tables and views in Apache Spark cache.
Read more >
How to Clear Cache for All Major Browsers - Kinsta
The Advanced tab offers more data items to clean the cache. Google Chrome has multiple ways to look at your cache data and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found