Xsens DOT iOS SDK  ©2022 Xsens Technologies - Version: 2022.0.0
XsensDotOtaManager Class Reference

#import <XsensDotOtaManager.h>

Inheritance diagram for XsensDotOtaManager:

Instance Methods

(void) - startOta:
 
(void) - clearCache
 
(void) - stopOta:
 
(void) - checkOtaUpdates:
 
(void) - checkOtaRollback:
 
(void) - checkOtaRollbackAndDownload:
 
(void) - checkOtaUpdatesAndDownload:
 

Class Methods

(void) + setOtaManagerDelegate:
 

Properties

XsensDotOtaManagerdefaultManager
 
float cacheSize
 

Detailed Description

OTA Manager class , you can use this class to do anything related to OTA

To get a instance you need to use [XsensDotOtaManager defaultManager]

Method Documentation

◆ checkOtaRollback:

- (void) checkOtaRollback: (XsensDotDevice *)  device

Check if there is available file for firmware rollback.

Parameters
deviceThe XsensDotDevice object

◆ checkOtaRollbackAndDownload:

- (void) checkOtaRollbackAndDownload: (XsensDotDevice *)  device

Check if there is available file for firmware updating and download the mfw upgrade file.

Parameters
deviceThe XsensDotDevice object

◆ checkOtaUpdates:

- (void) checkOtaUpdates: (XsensDotDevice *)  device

Check if there is available file for firmware updating.

Parameters
deviceThe XsensDotDevice object

◆ checkOtaUpdatesAndDownload:

- (void) checkOtaUpdatesAndDownload: (XsensDotDevice *)  device

Check if there is available file for firmware rollback and download the mfw downgrade file.

Parameters
deviceThe XsensDotDevice object

◆ clearCache

- (void) clearCache

Clear the firmware files in the local folder

◆ setOtaManagerDelegate:

+ (void) setOtaManagerDelegate: (nullable id< XsesnDotOtaManagerDelegate >)  delegate

Set the XsensDotOtaManager delegate

Parameters
delegateThe XsesnDotOtaManagerDelegate object

◆ startOta:

- (void) startOta: (XsensDotDevice *)  device

Start OTA process

Please make sure the DOT has udpate or rollback before call this method

Parameters
deviceThe XsensDotDevice object

◆ stopOta:

- (void) stopOta: (XsensDotDevice *)  device

Stop the OTA

Property Documentation

◆ cacheSize

- (float) cacheSize
readnonatomicassign

The OTA file size

◆ defaultManager

- (XsensDotOtaManager*) defaultManager
readatomicstrong

The default manager


The documentation for this class was generated from the following file: