Code Monkey home page Code Monkey logo

Comments (6)

farmazon3000 avatar farmazon3000 commented on July 30, 2024

Even when I try to disconnect later it's queued but not proceeded (i.e. when I unsubscribe from connection subscription I see in logs RxBle#Radio: QUEUED RxBleRadioOperationDisconnect(237327482) and then silence - it's not proceeded).

from rxandroidble.

farmazon3000 avatar farmazon3000 commented on July 30, 2024

It (of course :)) seems to be some kind of problem with BT on Android itself as it does not occur always. And sometimes it may be fixed but switching off/on BT. Sometimes I have to reset whole device.

from rxandroidble.

dariuszseweryn avatar dariuszseweryn commented on July 30, 2024

Could you share more info about this issue? Do you connect to a device that is changing it's services or something?

from rxandroidble.

farmazon3000 avatar farmazon3000 commented on July 30, 2024

Do you connect to a device that is changing it's services or something? No, the device I am connecting to definitly does not change its services. It seems that I was so long messing around with BLE on my Moto G that it was the time when nothing works and you have to restart BT or restart Moto G. After 2 years working with BLE in Android I can tell that it happens every once in a while (especially when you make some stress tests and connect/disconnect to multiple devices very frequently). But it would be nice to have at least some way to try to solve this issue.

from rxandroidble.

aldoborrero avatar aldoborrero commented on July 30, 2024

Or at least to warn the programmer like SweetBlue does with its UhOhListener:

The native stack's bluetooth service can sometimes get into states where it can't be turned on, or even can't be turned off. SweetBlue cannot fix this, but is does detect and report this issue through UhOhListener. Usually this means a phone restart is required.

Just an idea (that unfortunately can't be translated directly).

from rxandroidble.

dariuszseweryn avatar dariuszseweryn commented on July 30, 2024

Long time no see.
The hanging discovery issue should be fixed (+ a workaround) #86

UhOh is a totally different topic.

Best Regards

from rxandroidble.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.