Xsens DOT iOS SDK
©2022 Xsens Technologies - Version: 2022.0.0
|
#import <XsensDotDevice.h>
Instruction method
- (void) clearCrashInfoData |
Clear crash data
clearCrashInfoData is 150ms later then dumpCrashInfoData .
Extends class XsensDotDevice.
- (void) dumpCrashInfoData |
Dump crash data
Extends class XsensDotDevice.
- (BOOL) enableUsbPowerOn: | (BOOL) | isEnable |
Enable the DOT sensor to power on by USB plugin aditionally.
isEnable | The BOOL value |
Extends class XsensDotDevice.
- (BOOL) eraseData |
Earse recording Data
Extends class XsensDotDevice.
- (BOOL) getExportFileInfo |
Get the export file information , this will be initialize RecordingFile.timeStamap
Extends class XsensDotDevice.
- (BOOL) getFlashInfo |
Get sensor flash information, after called it will be initializing totalSpace and usedSpace
Extends class XsensDotDevice.
- (void) getRecordingStatus |
Get Recording Status, after call this method the recording.recordingStatus will be update
Extends class XsensDotDevice.
- (BOOL) getRecordingTime |
If recording.recordingStatus == XSRecordingIsRecording ,and will be get the recording.recordingDate, recording.recordingTime ,recording.remainingTime
Extends class XsensDotDevice.
- (BOOL) isProductV1 |
The sensor's hardware is V1
Extends class XsensDotDevice.
- (BOOL) isProductV2 |
The sensor's hardware is V2
Extends class XsensDotDevice.
- (BOOL) isUsbPowerOnEnabled |
check if the USB plugin power on is enabled or not.
Extends class XsensDotDevice.
- (void) powerOff |
Power off the sensor
Extends class XsensDotDevice.
- (void) readRSSI: | (void(^)(NSNumber *signal)) | block |
Read the sensor signal strength
block | Return block after read the RSSI |
After read the RSSI the RSSI propertity will also be updated
Extends class XsensDotDevice.
- (void) readStatisticsInfo |
Read statistics info
Extends class XsensDotDevice.
- (void) setDeviceName: | (NSString *) | name |
- (void) setDidButtonCallbackBlock: | (void(^)(int timestamp)) | block |
- (void) setDidMFMProgress: | (void(^)(NSString *address, int progress)) | block |
Set the progress block when start mfm
block | The block from mfm data parse |
Extends class XsensDotDevice.
- (void) setDidMFMResult: | (void(^)(NSString *address, XSDotMFMResultTpye type)) | block |
Set the result block when mfm has been done
block | The block from mfm process done |
Extends class XsensDotDevice.
- (void) setDidParseExportFileDataBlock: | (void(^)(XsensDotPlotData *_Nonnull plotData)) | block |
The block of startExportFileData
block | Return the XsensDotPlotData object |
Extends class XsensDotDevice.
- (void) setDidParsePlotDataBlock: | (void(^)(XsensDotPlotData *_Nonnull plotData)) | block |
The plotting(real-time streaming) data block, after set plotMeasureEnable = YES, this will outout plotData
block | Return the XsensDotPlotData data |
Extends class XsensDotDevice.
- (void) setDidPowerOffBlock: | (void(^)(void)) | block |
- (void) setDidreadRotLocal: | (void(^)(float *_Nonnull rotLocal)) | block |
- (void) setEraseDataDoneBlock: | (void(^)(int success)) | block |
- (void) setExportFileInfoDone: | (void(^)(BOOL success)) | block |
The getExportFileInfo done block
block | Return the success result |
Extends class XsensDotDevice.
- (void) setFirmwareUpdate: | (NSString *) | file |
- (void) setFlashInfoDoneBlock: | (void(^)(XSFlashInfoStatus status)) | block |
The getFlashInfo done block
block | The XSFlashInfoStatus object |
Extends class XsensDotDevice.
- (void) setOutputRate: | (int) | outputRate | |
filterIndex: | (int) | filterIndex | |
Set the outputRate and filterIndex
outputRate | outputRate |
filterIndex | filterIndex |
Extends class XsensDotDevice.
- (void) setPowerSavingTimeout: | (UInt8) | xMinutes | |
xSecond: | (UInt8) | xSeconds | |
yMinutes: | (UInt8) | yMinutes | |
ySeconds: | (UInt8) | ySeconds | |
Set power saving time
xMinutes | The advertisement minutes |
xSeconds | The advertisement seconds |
yMinutes | The connection minutes |
ySeconds | The connection seconds |
Extends class XsensDotDevice.
- (BOOL) startExportFileData |
Start export recording file data, when call this method, Please ensure two prerequisites
Extends class XsensDotDevice.
- (BOOL) startHeadingReset |
Start heading reset
Extends class XsensDotDevice.
- (BOOL) startHeadingRevert |
Start heading revert
Extends class XsensDotDevice.
- (void) startIdentifying |
Start identifying
Extends class XsensDotDevice.
- (void) startMfm |
Start MFM
Extends class XsensDotDevice.
- (BOOL) startRecording: | (UInt16) | recordingTime |
Start recording
recordingTime | The recording time that you want |
If no clear time, please set it to 0xFFFF, the recording will always do until storage is full
Extends class XsensDotDevice.
- (void) startSync: | (NSString *) | address | |
type: | (UInt8) | type | |
Start synchronization
address | The sensor macAddress |
type | The sync type |
Extends class XsensDotDevice.
- (BOOL) statisticsFeatureEnable |
The flat of support statistics feature
Extends class XsensDotDevice.
- (BOOL) stopExportFileData |
Stop export recording file data, Recording export status in this block: recording.updateExportingStatus
Extends class XsensDotDevice.
- (NSString *) stopMfm |
- (BOOL) stopRecording |
Stop recording
Extends class XsensDotDevice.
- (void) stopSync |
Stop Synchronization
Extends class XsensDotDevice.
- (void) writeMfmResult: | (NSData *) | mfmData |