func peripheral()

in PoC/iOS/Bluetooth Tracing PoC/Sources/Services/CentralService.swift [129:139]


    func peripheral(_ peripheral: CBPeripheral, didDiscoverCharacteristicsFor service: CBService, error: Error?) {
        guard error == nil, let characteristic = service.characteristics?.first else {
            Logger.shared.logMessage("P \(peripheral.identifier) did discover characteristics\n")

            centralManager.cancelPeripheralConnection(peripheral)

            return
        }

        peripheral.readValue(for: characteristic)
    }