-
Notifications
You must be signed in to change notification settings - Fork 160
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
problem with disconnect Polar H10 and OH1 on iOS #190
Comments
Hi @avik-efcom, I tried to reproduce the bug you explained. I took the example app and tried these steps with OH1 and H10: STEPS:
OBSERVATION:
STEPS:
OBSERVATION:
Could you double check you have registered the PolarBleApiObserver for the PolarBleSDK? Done like this in the example code: |
it seems is the device disconnected but I don't know why I did not get it from the deviceDisconnected function I attach the full log from the connection to the disconnection:
|
Hello, When I use the H10 with the Std. CBCentralManager class, "didDisconnectPeripheral" is called about 1 minute after removing the H10 from the strap. Thanks a lot! |
@NiwreRelbag and @avik-efcom I think I found the root cause for the problem. As you described the |
Platform on which you observed the bug:
Device on which you observed the bug:
Describe the bug
Hi,
when I initiate disconnect from the devices it works, but if the device is disconnect (long-distance or turns off(OH1)), the function "devcieDisconected" is not called.
I try to put a print command on disconnect but it never shows
I don't use the auto-connect function so I turn it off
when I try to read the exercise list I got this error
How to Reproduce
only connect and disconnect by long-distance or turn the device off and the function should be called
Expected behavior
the function "devcieDisconected" should call after the device disconnected
Screenshots and logs
on the log, you can see the HR notification stop but the function deviceDisconnected not called
thanks very much
The text was updated successfully, but these errors were encountered: