杀菌倒计时和摄像头分享
This commit is contained in:
+5
-2
@@ -510,7 +510,7 @@ self.attentionLabel.text=@"1、请长按摄像头背后复位孔,复位摄像
|
||||
{
|
||||
//
|
||||
if (self.deviceID.length&&![self.linkDict[self.deviceID] boolValue]) {//90秒之后还未连接上,连接超时
|
||||
|
||||
[[GWP2PDeviceLinker shareInstance] p2pStopSmartLink];
|
||||
[[GWP2PDeviceLinker shareInstance] p2pStopAPLink];
|
||||
[self connectNormalView];
|
||||
if ([[[CommonUtils getSSIDInfo] objectForKey:@"SSID"] isEqualToString:self.wifiName])
|
||||
@@ -526,6 +526,9 @@ self.attentionLabel.text=@"1、请长按摄像头背后复位孔,复位摄像
|
||||
else if(!self.deviceID.length)
|
||||
{
|
||||
[self.view makeToast:@"获取设备ID失败"];
|
||||
[[GWP2PDeviceLinker shareInstance] p2pStopSmartLink];
|
||||
[[GWP2PDeviceLinker shareInstance] p2pStopAPLink];
|
||||
[self connectNormalView];
|
||||
}
|
||||
}
|
||||
-(void)apLinkConnect
|
||||
@@ -546,7 +549,7 @@ self.attentionLabel.text=@"1、请长按摄像头背后复位孔,复位摄像
|
||||
{
|
||||
|
||||
weakSelf.deviceID=deviceId;
|
||||
// [weakSelf.view makeToast:[NSString stringWithFormat:@"设备即将连接网络,请将手机重新连接到%@",weakSelf.wifiName]];
|
||||
[weakSelf.view makeToast:[NSString stringWithFormat:@"设备即将连接网络,请将手机自动重新连接到%@",weakSelf.wifiName]];
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user