PolarFirmwareUpdateApi
public protocol PolarFirmwareUpdateApi
Undocumented
-
Checks firmware update to given device.
Requires
Requires SDK feature(s):PolarBleSdkFeature.feature_polar_firmware_updateDeclaration
Swift
func checkFirmwareUpdate(_ identifier: String) -> Observable<CheckFirmwareUpdateStatus>Parameters
identifierPolar device ID or BT address
Return Value
Observable emitting status of firmware update check
-
Updates firmware to given device.
Requires
Requires SDK feature(s):PolarBleSdkFeature.feature_polar_firmware_updateDeclaration
Swift
func updateFirmware(_ identifier: String) -> Observable<FirmwareUpdateStatus>Parameters
identifierPolar device ID or BT address
Return Value
Observable emitting status of firmware update
-
Updates firmware from specific URL.
Requires
Requires SDK feature(s):PolarBleSdkFeature.feature_polar_firmware_updateDeclaration
Swift
func updateFirmware(_ identifier: String, fromFirmwareURL: URL) -> Observable<FirmwareUpdateStatus>Parameters
identifierPolar device ID or BT address
fromFirmwareURLURL to firmware file. Firmware file must be compatible with target device.
Return Value
Observable emitting status of firmware update