-
Notifications
You must be signed in to change notification settings - Fork 32
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
Not receiving response from discoverServices #66
Comments
Hi, |
Hi @manolofdez, sorry for the delay. At the moment i can't figure out the issue. The only time when it happens is after a peripheral restore or after a consequent peripheral disconnection (caused by |
@andr3a88-amk could it be connected to this issue https://forums.developer.apple.com/forums/thread/742497 ? |
@nonameplum yes is possible, but from my logs I cannot see a peripheral with same UUID but different memory address. When a peripheral is restored i use the method
|
Hi @manolofdez, I have a question about the behavior of Does this method return immediately after initiating the connection request (after the call), or does it stay in an await state until the connection is fully established?
|
Hi, I am experiencing an issue with my connection flow when using the library. Occasionally, the code gets stuck after calling
discoverServices
, and the process ends with a peripheral disconnection error (the peripheral has a timeout of 5 minutes)Below is the relevant part of my code:
The logs indicate that
discoverServices
does not return the expected services. The connection seems successfully initiated (state = connected
), but the discoverServices call appears to hang and does not return the services. This mainly occurs whenperipheral.state
isconnected
Could this be a bug in the library, or is there something I might be missing in the connection flow?
Are there any known issues with discoverServices in similar scenarios?
The text was updated successfully, but these errors were encountered: