polarofficial / polar-ble-sdk

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

Signal LED blinking cannot be turned off during PPI streaming on Polar Verity Sense and Polar OH1 #478

Open petrnalevka opened 4 months ago

petrnalevka commented 4 months ago

Platform on which you observed the bug:

Device on which you observed the bug:

Describe the bug

When PPI streaming starts user facing LED starts blinking in purple color. Even when I use: PolarBleApi.PolarBleSdkFeature.FEATURE_POLAR_LED_ANIMATION and then calling api.setLedConfig(device.deviceId, LedConfig(false, false)) even when this is called after the PPI stream is established

How to Reproduce

api.startPpiStreaming(device.deviceId) and then call api.setLedConfig(device.deviceId, LedConfig(false, false))

Expected behavior

I expect the LED be turned off when I call api.setLedConfig(device.deviceId, LedConfig(false, false))

Many thanks for looking into this..

jimmyzumthurm commented 4 months ago

Hi @petrnalevka This feature is only supported on Verity Sense with latest firmware (2.2.6). OH1 and older Verity Sense release don't support this.

petrnalevka commented 3 months ago

Hello @jimmyzumthurm big thanks for getting back to me..

I did update firmware on my Polar Verity Sense to 2.2.6..

Screenshot_20240728_153236

I'm calling the setLedConfig(device.deviceId, LedConfig(false, false)) after the LED_ANIMATION feature is ready and then again after the PIP streaming is established, but still the purle bliking led is on..

Any tips what I could try?

Many thanks for your help!

jimmyzumthurm commented 3 months ago

@petrnalevka That is quite surprising. On my side this feature seems to work well... If I enable PPI streaming, then disable the LED it turns it off immediately and re-enabling turns it on immediately as well, I'm not able to reproduce this.

@samulimaa Any ideas?

petrnalevka commented 3 months ago

@jimmyzumthurm many thanks for giving it try, really strange I will do more tests on my end..