polarofficial / polar-ble-sdk

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

exercise not coming off my h10 - possible work around #413

Open smyffanon opened 8 months ago

smyffanon commented 8 months ago

This issue happened to me again - one time for sure. An exercise (8 hours of recording sleeping r-r intervals) would not come off my h10, and I retried around 30 times.

the steps: connected my modified example code from the BLE repo[1] to my h10 started Polar Sensor Logger and connected it back to the example app, list - read

and this read succeeded. This has worked 2 times now (the second time the exercise would not come down I retried 3 times before going to my work around).

Hope this helps someone.

[1] my modification is mostly to do r-r intervals instead of the default heart rate

samulimaa commented 3 months ago

Hello,

Have you tried to add error handling and log error case to get better understanding what goes wrong? Could maybe add some retry policy if error is caught?