polarofficial / polar-ble-sdk

Repository includes SDK and code examples. More info https://polar.com/en/developers
Other
447 stars 147 forks source link

deviceDisconnected not called after PolarH10 disconnected #383

Open AndrezVazz opened 1 year ago

AndrezVazz commented 1 year ago

Platform on which you observed the bug:

Device on which you observed the bug:

Describe the bug After enabling EcgStreaming, if the PolarH10 devices gets disconnected from the band, the deviceDisconnected callback never gets called, and the values of the ecg signals never stops. When this EcgStreaming function is not used, deviceDisconnected is called (even with some delay, around 10 seconds). This happens on the AndroidBleSdkTestApp.

How to Reproduce Enable the startEcgStreaming feature -> Connect the PolarH10 -> Check the values on log -> Remove PolarH10 -> Check that deviceDisconnected is never called.

Expected behavior After removing the device, deviceDisconnected should be called and the EcgStreaming should be stoped, or throw an error

kitkatbonsai commented 11 months ago

Hello @AndrezVazz, could you please tell us in which Android model are you having this problem, please? Thanks in advance.

AndrezVazz commented 11 months ago

Hello @kitkatbonsai ! I'm having trouble in a Xiaomi Mi 11 Lite 5G running Android 13 with mask MIUI Global 14.0.5

andrezzvazz commented 10 months ago

Hi @kitkatbonsai ! Do you have any news on thi topic? Thanks in advance.