Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 3.29 KB

SdkModeExplained.md

File metadata and controls

30 lines (24 loc) · 3.29 KB

SDK Mode

The SDK mode is the mode of the sensor in which the wider range of stream capabilities are offered, i.e higher sampling rates, wider (or narrow) ranges etc. For example, in the SDK mode the accelerometer sampling rate can be chosen from values 26Hz, 52Hz, 104Hz, 208Hz or 416Hz compared to 52Hz available in normal operation mode.

Polar Verity Sense (starting from firmware 1.1.5) is the first sensor to support the SDK Mode.

How to use SDK Mode in Polar Verity Sense

  • first of all you need to update the Polar Verity Sense sensor to firmware 1.1.5. Which can be done by registering the sensor to Polar Flow, see the help
  • secondly you will enable or disable SDK Mode using API's provided in Polar BLE SDK library
  • once the SDK mode is enabled you may start the data online stream or offline recording as in normal operation mode

Good to know about SDK Mode in Polar Verity Sense

  • you may read the capabilities available in SDK from the device with the requestFullStreamSettings or requestFullOfflineRecordingSettings function in any operation mode.
  • if starting many online streams on high frequency at the same time, it cannot be guaranteed that all the data is sent over the Bluetooth as traffic may get too high
  • if the online stream or offline recording is currently running on the device, the SDK Mode cannot be changed. Attempting to change the SDK Mode in will result in an "INVALID STATE" error.
  • sample code on how to use SDK mode can seen from Android and iOS examples

SDK Mode capabilities in Polar Verity Sense

Data Operation mode Sampling Rate Range (+-) Resolution
Acc Online streaming 26Hz, 52Hz, 104Hz, 208Hz, 416Hz 2g, 4g, 8g, 16g 16
Acc Offline recording 26Hz, 52Hz 2g, 4g, 8g, 16g 16
Gyro Online streaming 26Hz, 52Hz, 104Hz, 208Hz, 416Hz 250 deg/sec, 500 deg/sec, 1000 deg/sec, 2000 deg/sec 16
Gyro Offline recording 26Hz, 52Hz 250 deg/sec, 500 deg/sec, 1000 deg/sec, 2000 deg/sec 16
Magnetometer Online streaming 10Hz, 20Hz, 50Hz, 100Hz 50 Gauss 16
Magnetometer Offline recording 10Hz, 20Hz, 50Hz 50 Gauss 16
PPG Online streaming 28Hz, 44Hz, 55Hz, 135Hz, 176Hz - 22
PPG Offline recording 28Hz, 44Hz, 55Hz - 22
PPI PPI online stream or offline recording is not supported in SDK MODE