diff --git a/Source/LinkApp/Classes/Module/DistributionNetwork/Controller/TIoTSoftapWaitVC.m b/Source/LinkApp/Classes/Module/DistributionNetwork/Controller/TIoTSoftapWaitVC.m index 4e7f60eca..57ad63188 100644 --- a/Source/LinkApp/Classes/Module/DistributionNetwork/Controller/TIoTSoftapWaitVC.m +++ b/Source/LinkApp/Classes/Module/DistributionNetwork/Controller/TIoTSoftapWaitVC.m @@ -12,9 +12,6 @@ #import "TIoTCoreAddDevice.h" -#define APIP @"192.168.4.1" -#define APPort 8266 - @interface TIoTSoftapWaitVC () @property (strong, nonatomic) GCDAsyncUdpSocket *socket; @property (strong, nonatomic) dispatch_queue_t delegateQueue; diff --git a/Source/LinkSDKDemo/Core/Controller/Device/TIoTWiredDistributionNetVC.m b/Source/LinkSDKDemo/Core/Controller/Device/TIoTWiredDistributionNetVC.m index a4e211d7b..421739c8b 100644 --- a/Source/LinkSDKDemo/Core/Controller/Device/TIoTWiredDistributionNetVC.m +++ b/Source/LinkSDKDemo/Core/Controller/Device/TIoTWiredDistributionNetVC.m @@ -139,7 +139,7 @@ - (void)setupUI { self.wifiPasswordString = @""; self.tokenString = @""; self.portString = @"7838"; - self.addressIDString = @"239.0.0.255"; + self.addressIDString = @""; } - (void)initInformation { diff --git a/Source/SDK/LinkCore/QCDeviceCenter/TIoTCoreAddDevice.m b/Source/SDK/LinkCore/QCDeviceCenter/TIoTCoreAddDevice.m index 4b7337bcf..127ed0970 100644 --- a/Source/SDK/LinkCore/QCDeviceCenter/TIoTCoreAddDevice.m +++ b/Source/SDK/LinkCore/QCDeviceCenter/TIoTCoreAddDevice.m @@ -520,7 +520,7 @@ - (instancetype)initWithPort:(NSString *)port multicastGroupOrHost:(NSString *)a self = [super init]; if (self) { self.portString = port?:@"7838"; //需要更改接入端口号 - self.addressString = address?:@"239.0.0.255"; //需要更改接入IP + self.addressString = address?:@""; //需要更改接入IP } return self; }