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)];