File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -589,7 +589,8 @@ - (void)startScanning
589
589
return ;
590
590
}
591
591
592
- [_centralManager scanForPeripheralsWithServices: @[ _shortServiceUUID ] options: nil ];
592
+ auto scanOptions = @{ CBCentralManagerScanOptionAllowDuplicatesKey : @YES };
593
+ [_centralManager scanForPeripheralsWithServices: @[ _shortServiceUUID ] options: scanOptions];
593
594
}
594
595
595
596
- (void )stopScanning
@@ -716,7 +717,7 @@ - (void)addPeripheralToCache:(CBPeripheral *)peripheral data:(NSData *)data
716
717
ChipLogProgress (Ble, " - Version: %u" , info.GetAdvertisementVersion ());
717
718
ChipLogProgress (Ble, " - Discriminator: %u" , info.GetDeviceDiscriminator ());
718
719
ChipLogProgress (Ble, " - VendorId: %u" , info.GetVendorId ());
719
- ChipLogProgress (Ble, " - ProductId: %u" , info.GetVendorId ());
720
+ ChipLogProgress (Ble, " - ProductId: %u" , info.GetProductId ());
720
721
}
721
722
}
722
723
You can’t perform that action at this time.
0 commit comments