GithubHelp home page GithubHelp logo

Comments (4)

dariuszseweryn avatar dariuszseweryn commented on June 4, 2024

Hello, two questions:

  • is your peripheral bonded?
  • does your app scan the peripheral before trying to connect?

I guess that to both questions the answer is: no. There is a (pretty outdated, but still valid) wiki section about this problem.

from rxandroidble.

dariuszseweryn avatar dariuszseweryn commented on June 4, 2024

Closing due to lack of information and inactivity of the original poster.

When more data will be available—feel free to add that information and reopen this issue.

Best Regards

from rxandroidble.

neowhoru avatar neowhoru commented on June 4, 2024

Hello Darius,
sorry i just was out of order a bit.
I will try to answer:

Hello, two questions:

* is your peripheral bonded?

* does your app scan the peripheral before trying to connect?

I guess that to both questions the answer is: no. There is a (pretty outdated, but still valid) wiki section about this problem.

Yep it was bounded before and normally it does a scan but not on devices that are "already bounded".
However we found out its not an issue with RxAndroidBle - its an issue with the Android Ble Stack and the Google Pixel 5.

Also you don't need to wait 2 days.

To reproduce the issue:

  • bound a device with your custom app as usual
  • on your google pixel 5 disable bluetooth and re-enable it
  • your bounded devices is no longer in the "bounded" device list and not bounded anymore

We don't know why and we don't know which devices this occurs but on Samungs devices for example same app same device works pretty well.

I just post here for the guys who might search for the same :)

from rxandroidble.

dariuszseweryn avatar dariuszseweryn commented on June 4, 2024

Good that you've pinpointed the issue. You may probably workaround it by always scanning your peripheral before attempting to connect.

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.