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

I am getting service list nil, when i disconnect & connect again, with out killing the app. #37

Closed
ashokKOMARA opened this issue Jan 3, 2019 · 6 comments

Comments

@ashokKOMARA
Copy link

I can able to get services list when i connect firs time with peripheral,then disconnected > connect again, now iam unable to list out any services.

@marcospolanco
Copy link

@ashokKOMARA I am having the exact same issue. Fix?

@ashokKOMARA
Copy link
Author

No, but when i try to reconnect with same peripheral it is working fine. Some times when peripheral is connected in background it is returning the same nil.

@ashokKOMARA ashokKOMARA reopened this Jan 7, 2019
@kshrikant
Copy link

kshrikant commented Apr 19, 2019

Hey @ashokKOMARA , @marcospolanco anyone got the solution on this?

@kshrikant
Copy link

Hi @ashokKOMARA , @marcospolanco @jordanebelanger Anyone know, how to resolve this ?

@Dhaval3110
Copy link

Hello @kshrikant @ashokKOMARA @marcospolanco @jordanebelanger any update on this ? #39 check this also.

@jordanebelanger
Copy link
Owner

jordanebelanger commented Feb 17, 2020

https://developer.apple.com/documentation/corebluetooth/cbperipheral/1518706-discoverservices

"When the peripheral discovers one or more services, it calls the peripheral(_:didDiscoverServices:): method of its delegate object. After a peripheral discovers services, you can access them through the peripheral’s services property."

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

5 participants