无法从核心蓝牙扫描蓝牙5.42设备是我的代码
内部函数centralManager(_ central:CBCentralManager,didDiscover peripheral:CBPeripheral, advertisementData:[String:Any],rssi RSSI:NSNumber){
print(peripheral)
guard let name = peripheral.name else {return}
print(name)
if !scannedDevices.contains(peripheral) {
scannedDevices.append(peripheral)
}
self.scanListTableView.reloadData()
}