Releases: polarofficial/polar-ble-sdk
Releases · polarofficial/polar-ble-sdk
Polar Ble SDK v.3.2.7
iOS SDK updates:
- Swift Package Manager support added
Android SDK updates:
- Android SDK target changed from 29 to 31
- minor enhancements
Polar Ble SDK v.3.2.6
iOS SDK updates:
- The minimum deployment target is 13 (earlier was 12)
- If the dependency to Polar BLE SDK project is done using the Cocoapods the Pod file on the client side don't need the post_install section anymore
- The new dependency to Swift-Protobuf is required
Android SDK updates:
- No changes
Polar Ble SDK v.3.2.5
Polar Ble SDK v.3.2.4
Polar Ble SDK v.3.2.3
Polar Ble SDK v.3.2.2
Polar Ble SDK v.3.2.1
Polar Ble SDK v.3.2.0
Android SDK updates:
- earlier the usage of the feature FEATURE_POLAR_FILE_TRANSFER required the separate .aar to be included on client application. Now required code is bundled to polar-ble-sdk.aar so there is no need for additional .aar files to be added to the client project. Please see the android-getting-started section on ReadMe.
- earlier the package name of the Polar BLE SDK was
polar.com.sdk
, that is now changed tocom.polar.sdk
to better follow the traditional Java package name conventions. This change requires that client application must fix its import statements.
iOS SDK updates:
- minor enhancements and bug fixes
Polar Ble SDK v.3.1.1
iOS SDK updates:
- fixed issue that data streams were not stop if SDK mode was enabled/disabled.
- other minor changes
Android SDK updates:
- fixed issue that data streams were not stop if SDK mode was enabled/disabled.
- other minor changes
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);