|
@@ -4017,8 +4017,8 @@ void UncaughtExceptionHandler(NSException *exception) {
|
|
|
// NSLog(@"didDiscoverPeripheral");
|
|
// NSLog(@"didDiscoverPeripheral");
|
|
|
|
|
|
|
|
NSArray* pservice = advertisementData[@"kCBAdvDataServiceUUIDs"];
|
|
NSArray* pservice = advertisementData[@"kCBAdvDataServiceUUIDs"];
|
|
|
- if(pservice.count<=0)
|
|
|
|
|
- return;
|
|
|
|
|
|
|
+// if(pservice.count<=0)
|
|
|
|
|
+// return;
|
|
|
if(peripheral.name.length<=0)
|
|
if(peripheral.name.length<=0)
|
|
|
return;
|
|
return;
|
|
|
// _peripheral = peripheral;
|
|
// _peripheral = peripheral;
|