polarofficial / polar-ble-sdk

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

Polar H10 Internal Recording doesn't work for long measurement - 24 hrs #396

Open carldatu opened 9 months ago

carldatu commented 9 months ago

Platform on which you observed the bug:

Device on which you observed the bug:

Describe the bug I tried to start internal recording with Polar H10 device for 24 hrs. After finish the training, I could not get the recording sample data from Polar H10 device.

How to Reproduce Start internal recording for long time (ex. 24 hrs). Finish recording. When try to get recording data from that exercise, app doesn't work.

Expected behavior Polar H10 Manual says max internal recording duration is 30 hrs. so for 24 hrs internal recording, it should work properly.

Screenshots and logs Here is log when get the recording data from 24 hrs measurement. So basically, To get recording sample data, app call the fetchExercise api for Android and it raise the below error. com.polar.androidcommunications.api.ble.model.gatt.client.psftp.BlePsFtpUtils$PftpOperationTimeout: Air packet was not received in required timeline

Here is logs

2023-09-13 15:53:33.447 9412-9412 ViewRootIm...nActivity] com.polar.androidblesdk I ViewPostIme pointer 0 2023-09-13 15:53:33.677 9412-9412 ViewRootIm...nActivity] com.polar.androidblesdk I ViewPostIme pointer 1 2023-09-13 15:53:34.193 1736-1736 LayerHistory surfaceflinger I com.polar.androidblesdk/com.polar.androidblesdk.MainActivity$_9412#17648 Max (can't resolve refresh rate) 2023-09-13 15:53:55.302 2494-4542 SGM:GameManager system_server D identifyForegroundApp. com.polar.androidblesdk, mCurrentUserId: 0, callerUserId: 0 2023-09-13 15:53:55.302 2494-4542 SGM:PkgDataHelper system_server D getGamePkgData(). com.polar.androidblesdk 2023-09-13 15:53:55.967 9412-9741 BluetoothGatt com.polar.androidblesdk D onClientConnectionState() - status=0 clientIf=6 device=C943FC_2 2023-09-13 15:53:55.978 9412-9625 BluetoothGatt com.polar.androidblesdk D setCharacteristicNotification() - uuid: 00002a37-0000-1000-8000-00805f9b34fb enable: false 2023-09-13 15:53:55.986 9412-9625 BluetoothGatt com.polar.androidblesdk D close() 2023-09-13 15:53:55.993 9412-9412 MainActivity com.polar.androidblesdk E Failed to read exercise. Reason: java.lang.Exception: com.polar.androidcommunications.api.ble.model.gatt.client.psftp.BlePsFtpUtils$PftpOperationTimeout: Air packet was not received in required timeline 2023-09-13 15:53:55.996 9412-9625 BluetoothGatt com.polar.androidblesdk D unregisterApp() - mClientIf=6

samulimaa commented 8 months ago

Hello,

Thanks for reporting this, I have created an internal ticket for further investigation.

Best regards, Samuli

carldatu commented 6 months ago

Thanks, I hope to fix it ASAP.

infomus commented 4 months ago

We're experiencing the same issue on Android A8 Tab when calling startRecording. Is there any update on this yet?

orestesgaolin commented 3 months ago

Wondering if there's any update on Air packet was not received in required timeline issues?

smyffanon commented 1 month ago

Wondering if there's any update on Air packet was not received in required timeline issues? for me the frequency of the issue went way down when my Moto g8 power broke and I went to a google 6a.

It's was happening now once every 3 to six months instead of 2x per month.

and a after I experienced that reduction for maybe 8 months I got some time and installed a new version of the API that the staff here said would reduce the frequency of the issue, and I think it reduced a bit more.