polarofficial / polar-ble-sdk

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

ignite 3 - getting the ppi through BLE-SDK #448

Closed TinDogDev closed 3 months ago

TinDogDev commented 3 months ago

Platform your question concerns:

Device:

Description: Hi, As maintained at the Readme file, the Ignite 3 has a support for the BLE-SDK. It supposed to provide PPI, HR and ACC. When I used the sdk, and checked it using the getAvailableOnlineStreamDataTypes call, it is indeed supports the needed features. The Issue is that i fail to get the PPI from the SDK. I get the following message: PPI stream failed. Reason com.polar.androidcommunications.api.ble.exceptions.BleControlPointCommandError: pmd cp command REQUEST_MEASUREMENT_START error: ERROR_INVALID_STATE

Can you please help me to understand why?

When i also tried to enable the SDK on the phone itself and at the app afterwards, i got the following error: SDK mode enable failed: com.polar.androidcommunications.api.ble.exceptions.BleControlPointCommandError: pmd cp command REQUEST_MEASUREMENT_START error: ERROR_NOT_SUPPORTED

I don't understand what's the issue and would be happy for your support as soon as possible.

lsl-88 commented 2 months ago

@TinDogDev - Could you please share your solutions with me? I am also using Polar Ignite 3 and the application that my team developed built using the SDK was unable to pull the PPI data.

orestesgaolin commented 1 week ago

From what I understand using the Ignite 3, user needs to enable activity mode to get HR data. Not sure if this applies to PPI, but probably that's the case. Maybe alternatively it's possible to get the low level data when SDK mode is enabled?