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

discoverServices doesn't emit any result #309

Closed
vladiulianbogdan opened this issue Jan 30, 2019 · 4 comments
Closed

discoverServices doesn't emit any result #309

vladiulianbogdan opened this issue Jan 30, 2019 · 4 comments

Comments

@vladiulianbogdan
Copy link
Contributor

vladiulianbogdan commented Jan 30, 2019

Describe the bug

The problem is that in our code we have multiple places where we discover services. The peripheral that the app connects to is also sometimes emitting a service change indication (I don't know if it is relevant).

What I've seen is that sometimes the discoverServices does not emit anything. I've deep dived into the code and the problem is around remainingServicesDiscoveryRequest. Sometimes the value in remainingServicesDiscoveryRequest remains unbalanced (it has value 1).

I will keep you posted if I discover what is causing the variable to be unbalanced.

Expected behavior

discoverServices should always emit the discovered services.

Environment:

  • Device: iPod, MacBook Pro 2018
  • OS: 10.13.6
  • Library version 5.1.3
  • Swift version 4.2
@c0diq
Copy link
Contributor

c0diq commented Feb 5, 2019

Probably related to #287

@minixT
Copy link
Collaborator

minixT commented Apr 13, 2019

@vladiulianbogdan can you confirm that this issue is fixed in version 5.2.0?

@vladiulianbogdan
Copy link
Contributor Author

Yes. I can't reproduce the problem anymore.

@c0diq
Copy link
Contributor

c0diq commented May 16, 2019

Can we close this now?

@minixT minixT closed this as completed May 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants