polarofficial / polar-ble-sdk

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

Extract PP intervals with Matlab #441

Closed Ax06 closed 4 months ago

Ax06 commented 4 months ago

Platform your question concerns:

Device:

Description:

Hello,

I am currently working on an application using the Polar OH1 under the Matlab environment. I have successfully retrieved the heart rate data using the code snippet below, but I don't know how to extract the PP intervals for conducting HRV analyses. Do you know if this is possible with Matlab?

Thank you in advance for your assistance.

OH1 = ble(device_name) hr = characteristic(OH1,'Heart Rate', Heart Rate Measurement'); data = read(HR)

jimmyzumthurm commented 4 months ago

Hi @Ax06 ,

PPI data is transferred over Polar proprietary BLE service that might not supported from MATLAB, so you would need to implement the service characteristics yourself to start the PPI streaming and subscribe to data.

As Polar we only officially supports iOS and Android platforms with the SDK, so unfortunately we won't be able to support you with that, but if you would like to port such functionality to other platforms the Android/iOS code is open source and be ported to any platform.