Xsens DOT iOS SDK
©2022 Xsens Technologies - Version: 2022.0.0
|
#import <XsensDotOtaManager.h>
Instance Methods | |
(void) | - startOta: |
(void) | - clearCache |
(void) | - stopOta: |
(void) | - checkOtaUpdates: |
(void) | - checkOtaRollback: |
(void) | - checkOtaRollbackAndDownload: |
(void) | - checkOtaUpdatesAndDownload: |
Class Methods | |
(void) | + setOtaManagerDelegate: |
Properties | |
XsensDotOtaManager * | defaultManager |
float | cacheSize |
OTA Manager class , you can use this class to do anything related to OTA
To get a instance you need to use [XsensDotOtaManager defaultManager]
- (void) checkOtaRollback: | (XsensDotDevice *) | device |
Check if there is available file for firmware rollback.
device | The XsensDotDevice object |
- (void) checkOtaRollbackAndDownload: | (XsensDotDevice *) | device |
Check if there is available file for firmware updating and download the mfw upgrade file.
device | The XsensDotDevice object |
- (void) checkOtaUpdates: | (XsensDotDevice *) | device |
Check if there is available file for firmware updating.
device | The XsensDotDevice object |
- (void) checkOtaUpdatesAndDownload: | (XsensDotDevice *) | device |
Check if there is available file for firmware rollback and download the mfw downgrade file.
device | The XsensDotDevice object |
- (void) clearCache |
Clear the firmware files in the local folder
+ (void) setOtaManagerDelegate: | (nullable id< XsesnDotOtaManagerDelegate >) | delegate |
Set the XsensDotOtaManager delegate
delegate | The XsesnDotOtaManagerDelegate object |
- (void) startOta: | (XsensDotDevice *) | device |
Start OTA process
Please make sure the DOT has udpate or rollback before call this method
device | The XsensDotDevice object |
- (void) stopOta: | (XsensDotDevice *) | device |
Stop the OTA
|
readnonatomicassign |
The OTA file size
|
readatomicstrong |
The default manager