Xsens DOT iOS SDK  ©2022 Xsens Technologies - Version: 2022.0.0
XsensDotFirmwareVersion.h
Go to the documentation of this file.
1 //
2 // XsensDotFirmwareVersion.h
3 // XsensDotSdk
4 //
5 // Created by Nick Yang on 2019/5/15.
6 // Copyright © 2019 Xsens. All rights reserved.
7 //
8 // Sample: 0xAA 0xBB 0xCC 0xDDDDDDDD 0xEEEEEEEE
9 // New Sample: 0xfdf2858ffcfb010000e3070c0607012d69915b00
10 // 0xAA = Major version
11 // 0xBB = Minor version
12 // 0xCC = Patch number
13 // 0xDDDDDDDD = Build number
14 // 0xEEEEEEEE = Repository revision
15 //
16 
17 #import <Foundation/Foundation.h>
18 
19 NS_ASSUME_NONNULL_BEGIN
20 
21 extern const NSInteger BLEFirmwareVersionDataSize;
22 
26 @interface XsensDotFirmwareVersion : NSObject
27 
31 - (NSUInteger)majorVersion;
32 
36 - (NSUInteger)minorVersion;
37 
41 - (NSUInteger)reversionVersion;
42 
46 - (NSUInteger)buildYear;
47 
51 - (NSUInteger)buildMonth;
52 
56 - (NSUInteger)buildDate;
57 
61 - (NSUInteger)buildHour;
62 
66 - (NSUInteger)buildMinute;
67 
71 - (NSUInteger)buildSecond;
72 
76 - (NSUInteger)softDeviceVersion;
77 
81 - (NSString *)buildTime;
82 
87 + (instancetype)versionWithData:(NSData *)data;
88 
93 - (NSString *)description;
94 
95 @end
96 
97 NS_ASSUME_NONNULL_END
NS_ASSUME_NONNULL_BEGIN const NSInteger BLEFirmwareVersionDataSize
Definition: XsensDotFirmwareVersion.h:27
NSUInteger reversionVersion()
NSUInteger softDeviceVersion()