添加设备绑定过程;

This commit is contained in:
xuemh
2018-08-06 23:40:49 +08:00
parent 2a9849c6fe
commit d15e9301a4
10 changed files with 179 additions and 9 deletions
@@ -12,7 +12,6 @@
#import "ConnectHotspotModel.h"
#import "ResetDeviceModel.h"
#import "RestartDeviceModel.h"
#import "IFishUDPHelperBackMsgModel.h"
@interface IFishHotpotUDPHelper ()
{
@@ -138,8 +137,8 @@
NSLog(@"port%hu",port);
IFishUDPHelperBackMsgModel *model = [[IFishUDPHelperBackMsgModel alloc] initWithData:data];
if ([model.result isEqualToString:@"01"]) {
if ([self.delegate respondsToSelector:@selector(udpHelperCommandExecutedSuccess)]) {
[self.delegate udpHelperCommandExecutedSuccess];
if ([self.delegate respondsToSelector:@selector(udpHelperCommandExecutedSuccess:)]) {
[self.delegate udpHelperCommandExecutedSuccess:model];
}
} else {
AppDelegate *app =(AppDelegate*)[UIApplication sharedApplication].delegate;