Releases: polarofficial/polar-ble-sdk
Releases · polarofficial/polar-ble-sdk
Polar Ble SDK v.3.1.0
SDK Mode feature
- Polar Verity Sense (starting from firmware 1.1.5) has now feature called SDK Mode. The SDK mode is the state which makes available the full capabilities of the sensor, 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.
How to use SDK Mode
- 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 ecosystem, see the help
- Polar BLE SDK provides new API's which are used to enable/disable the SDK mode
- once the SDK mode is enabled you may start the data streams as in normal operation mode
Good to know about SDK Mode
- you may read all the capabilities in the device with the
requestFullStreamSettings
function in any operation mode. However, before starting the stream in any operation mode it is good practice to read currently available settings withrequestStreamSettings
function. - if starting many 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
iOS SDK updates:
- enable SDK mode:
func enableSDKMode(_ identifier: String) -> Completable
- disable SDK mode
func disableSDKMode(_ identifier: String) -> Completable
- requestFullStreamSettings for reading all the capabilities
func requestFullStreamSettings(_ identifier: String, feature: DeviceStreamingFeature) -> Single<PolarSensorSetting>
Android SDK updates:
- enable SDK Mode
public abstract Completable enableSDKMode(@NonNull final String identifier);
- disable SDK Mode
public abstract Completable disableSDKMode(@NonNull final String identifier);
- requestFullStreamSettings for reading all the capabilities
public abstract Single<PolarSensorSetting> requestFullStreamSettings(@NonNull final String identifier, @NonNull DeviceStreamingFeature feature);
Polar Ble SDK v3.0.6-beta0
iOS SDK updates:
- No changes
Android SDK updates:
- Protobuf java changed to Protobuf java-lite. Javalite is the recommended approach on Android projects.
Polar Ble SDK v.3.0.5
iOS SDK updates:
- PolarBleSDK is now possible to add to the application by Carthage. Please read the Readme for detailed instructions.
Android SDK updates:
- No changes, see the Release 3.0.2 for the latest Android release
Polar Ble SDK v.3.0.4
iOS SDK updates:
- PolarBleSDK is now available as a Pod via CocoaPods. Please read the Readme for detailed instructions.
Android SDK updates:
- No changes, see the Release 3.0.2 for the latest Android release
Polar Ble SDK v.3.0.3
iOS SDK updates:
- issue #134 fixed: Bitcode is supported in Polar BLE SDK library
Android SDK updates:
- No changes, see the Release 3.0.2 for the latest Android release
Polar Ble SDK v.3.0.2
iOS SDK updates:
- Fix to issue #130
Android SDK updates:
- Fix to issue #39
- Note the released PolarBleSDK is containing implementation written with Kotlin and this means that applications using Polar BLE SDK must have Kotlin supported. See discussion in issue #136
Polar Ble SDK v.3.0.0
Support for gyroscope and magnetometer data streams, which are provided by Polar Verity Sense
API updates
- small enhancements to API which requires updates on client
- individual stream setting requests replaced with more generic setting request function, i.e.
requestStreamSettings()
replaces call likerequestAccSettings()
- callback indicating the stream feature is ready is now replaced with more generic function, i.e.
streamingFeaturesReady()
replaces callback likeaccFeatureReady
- individual stream setting requests replaced with more generic setting request function, i.e.
Polar Ble SDK v3.0.0-beta0
Support for gyroscope and magnetometer data streams, which are provided by Polar Verity Sense
API updates
- small enhancements to API which requires updates on client
- individual stream setting requests replaced with more generic setting request function, i.e.
requestStreamSettings()
replaces call likerequestAccSettings()
- callback indicating the stream feature is ready is now replaced with more generic function, i.e.
streamingFeaturesReady()
replaces callback likeaccFeatureReady
- individual stream setting requests replaced with more generic setting request function, i.e.
Polar Ble SDK v.2.3.1
iOS SDK updates:
- issue #120 fixed.
- CoreBluetooth dependency removed from PolarSDK project as it is not needed.
Polar Ble SDK v.2.3.0
iOS SDK updates:
- iOS SDK supports Xcode 12 and Swift 5.3 and has a minimum deployment target of iOS 12.
- iOS SDK update to RxSwift 6
- iOS SDK binary is available as XCFramework
Android SDK updates:
- Android Gradle wrapper update to version 4.1.1
- AndroidX migration
- Dependencies update to latest version
- Permission update by removing unneeded permissions
- Other: Example and demo projects updated