From 330928c09f76ef227476e6732b06bfd7375b2826 Mon Sep 17 00:00:00 2001 From: xuemh Date: Tue, 7 Aug 2018 10:15:31 +0800 Subject: [PATCH] build 493 --- Ifish/Info.plist | 2 +- Ifish/controllers/leftcontrollers/IFishUDPHelperBackMsgModel.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Ifish/Info.plist b/Ifish/Info.plist index f704f05..4ec6c1c 100644 --- a/Ifish/Info.plist +++ b/Ifish/Info.plist @@ -70,7 +70,7 @@ CFBundleVersion - 492 + 493 ITSAppUsesNonExemptEncryption LSApplicationCategoryType diff --git a/Ifish/controllers/leftcontrollers/IFishUDPHelperBackMsgModel.m b/Ifish/controllers/leftcontrollers/IFishUDPHelperBackMsgModel.m index 3b1aabb..38fe3e5 100644 --- a/Ifish/controllers/leftcontrollers/IFishUDPHelperBackMsgModel.m +++ b/Ifish/controllers/leftcontrollers/IFishUDPHelperBackMsgModel.m @@ -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)];