build 493

This commit is contained in:
xuemh 2018-08-07 10:15:31 +08:00
parent 1bceac5d7f
commit 330928c09f
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>492</string>
<string>493</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSApplicationCategoryType</key>

View File

@ -13,7 +13,7 @@
- (instancetype)initWithData:(NSData *)data {
if (self = [super init]) {
NSString*totalString=[dataContorl dataToHexString:data];
self.senderMacAddress = [totalString substringWithRange:NSMakeRange(2, 2)];
self.senderMacAddress = [totalString substringWithRange:NSMakeRange(4, 12)];
self.result = [totalString substringWithRange:NSMakeRange(30, 2)];
self.changshang = [totalString substringWithRange:NSMakeRange(32, 2)];
self.device = [totalString substringWithRange:NSMakeRange(34, 2)];