车载免提设备的蓝牙 UUID

Bluetooth UUID for car handsfree devices

任何人都可以帮助我使用汽车免提外设连接的 UUID,这样我就可以调用 scanForPeripherals withServices: [SOME UUID] 而不是 nil,而且只有 return 免提。是否有 UUID 或 CBUUID?我希望这可以在服务级别完成,而不需要看特性。如果您能帮助我,请提前致谢。

func centralManagerDidUpdateState(_ central: CBCentralManager) {

    if central.state == .poweredOn {
        self.centralManager.scanForPeripherals(withServices: [UUID HERE] , options: nil)
    } else {
        print("central not powered on")
    }
}

func centralManager(_ central: CBCentralManager, didDiscover peripheral: CBPeripheral, advertisementData: [String : Any], rssi RSSI: NSNumber) {

    print("peripheral discovered")
    peripheralLabel.text = peripheral.name
}

免提设备执行蓝牙免提协议 (HFP)。这不是蓝牙低功耗 GATT 服务,因此没有服务 UUID。使用 Core Bluetooth 无法发现它们。