9 #import <CoreBluetooth/CoreBluetooth.h>
17 NS_ASSUME_NONNULL_BEGIN
23 - (void)peripheral:(CBPeripheral *)peripheral serviceExploreComplete:(BOOL)flag;
35 @property (strong, nonatomic, readonly) CBPeripheral *
peripheral;
40 @property (weak, nonatomic) id<XsensDotCBPeripherialServiceExploreDelegate>
explorieDelegate;
45 @property (strong, nonatomic, readonly) NSString *
uuid;
50 @property (strong, nonatomic, readonly) NSString *
macAddress;
55 @property (strong, nonatomic, nullable) NSNumber *
RSSI;
171 + (instancetype)deviceWithPeripheral:(CBPeripheral *)peripheral;
177 - (void)parseAdvertisementData:(NSDictionary *)advertisementData;
183 - (void)parseMacAddress:(NSData *)macAddressData;
194 - (CBPeripheralState)
state;
242 - (void)setDidParsePlotDataBlock:(
void (^ _Nullable)(
XsensDotPlotData * _Nonnull plotData))block;
248 - (void)setDeviceName:(NSString *)name;
274 - (void)setDidPowerOffBlock:(
void(^ _Nullable)(
void))block;
281 - (void)setOutputRate:(
int)outputRate filterIndex:(
int)filterIndex;
288 - (void)readRSSI:(
void (^_Nullable)(NSNumber *signal))block;
305 - (void)writeMfmResult:(NSData *)mfmData;
311 - (void)setDidMFMProgress:(
void (^_Nullable)(NSString *address,
int progress))block;
317 - (void)setDidMFMResult:(
void (^_Nullable)(NSString *address, XSDotMFMResultTpye type))block;
323 - (void)setFirmwareUpdate:(NSString *)file;
332 - (void)setPowerSavingTimeout:(UInt8) xMinutes xSecond:(UInt8)xSeconds yMinutes:(UInt8)yMinutes ySeconds:(UInt8)ySeconds;
350 - (void)setDidreadRotLocal:(
void (^_Nullable)(
float * _Nonnull rotLocal))block;
368 - (void)startSync:(NSString *)address type:(UInt8)type;
386 - (BOOL)startRecording:(UInt16)recordingTime;
404 - (void)setFlashInfoDoneBlock:(
void (^_Nullable)(XSFlashInfoStatus status))block;
424 - (void)setEraseDataDoneBlock:(
void (^_Nullable)(
int success))block;
436 - (void)setExportFileInfoDone:(
void (^_Nullable)(BOOL success))block;
459 - (void)setDidParseExportFileDataBlock:(
void (^ _Nullable)(
XsensDotPlotData * _Nonnull plotData))block;
465 - (void)setDidButtonCallbackBlock:(
void (^ _Nullable)(
int timestamp))block;
479 #pragma mark - Power On Settings
485 - (BOOL)enableUsbPowerOn:(BOOL) isEnable;
494 NS_ASSUME_NONNULL_END
Definition: XsensDotDevice.h:237
void getRecordingStatus()
BOOL stopExportFileData()
void readStatisticsInfo()
BOOL isUsbPowerOnEnabled()
void clearCrashInfoData()
BOOL startExportFileData()
BOOL startHeadingRevert()
BOOL statisticsFeatureEnable()
Definition: XsensDotBatteryInfo.h:18
Definition: XsensDotDevice.h:31
NSString * peripheralName()
void(^ getStorageStatusWithTime)(NSUInteger time)
CBPeripheralState state()
UInt8 timeoutYMinutes
Definition: XsensDotDevice.h:116
NSString * displayAddress()
CBPeripheral * peripheral
Definition: XsensDotDevice.h:35
XsensDotRecording * recording
Definition: XsensDotDevice.h:136
BOOL exportLogEnable
Definition: XsensDotDevice.h:148
XsensDotBatteryInfo * battery
Definition: XsensDotDevice.h:60
UInt8 timeoutXSeconds
Definition: XsensDotDevice.h:111
void(^ headingResetResult)(int result)
BOOL isSupportHeadingReset
Definition: XsensDotDevice.h:90
BOOL plotMeasureEnable
Definition: XsensDotDevice.h:75
XSHeadingStatus headingStatus
Definition: XsensDotDevice.h:95
UInt8 timeoutYSeconds
Definition: XsensDotDevice.h:121
NSString * uuid
Definition: XsensDotDevice.h:45
int outputRate
Definition: XsensDotDevice.h:154
XSBleDevicePayloadMode plotMeasureMode
Definition: XsensDotDevice.h:80
id< XsensDotCBPeripherialServiceExploreDelegate > explorieDelegate
Definition: XsensDotDevice.h:40
NSString * macAddress
Definition: XsensDotDevice.h:50
NSUInteger totalSpace
Definition: XsensDotDevice.h:126
NSUInteger usedSpace
Definition: XsensDotDevice.h:131
XsensDotFirmwareVersion * firmwareVersion
Definition: XsensDotDevice.h:65
NSData * exportDataFormat
Definition: XsensDotDevice.h:143
BOOL plotLogEnable
Definition: XsensDotDevice.h:85
NSNumber * RSSI
Definition: XsensDotDevice.h:55
NSArray< XsensDotFilterProfile * > * filterProfilesList()
int filterIndex
Definition: XsensDotDevice.h:160
NSString * serialNumber
Definition: XsensDotDevice.h:70
UInt8 timeoutXMinutes
Definition: XsensDotDevice.h:106
Definition: XsensDotFilterProfile.h:17
Definition: XsensDotFirmwareVersion.h:27
Definition: XsensDotPlotData.h:20
Definition: XsensDotRecording.h:74
Definition: XsensDotDevice.h:22