From b727faa0ba704680fbbdf48beb4016350d8c66aa Mon Sep 17 00:00:00 2001 From: Serhiy Mytrovtsiy Date: Mon, 17 Jan 2022 18:32:10 +0100 Subject: [PATCH] fix: missing internal Bluetooth peripheral callback --- Modules/Bluetooth/readers.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Modules/Bluetooth/readers.swift b/Modules/Bluetooth/readers.swift index 277c69be..8b3ecb0d 100644 --- a/Modules/Bluetooth/readers.swift +++ b/Modules/Bluetooth/readers.swift @@ -205,6 +205,8 @@ internal class DevicesReader: Reader<[BLEDevice]>, CBCentralManagerDelegate, CBP peripheral.discoverCharacteristics([DevicesReader.batteryCharacteristicsUUID], for: service) } + func peripheral(_ peripheral: CBPeripheral, didModifyServices invalidatedServices: [CBService]) {} + func peripheral(_ peripheral: CBPeripheral, didDiscoverCharacteristicsFor service: CBService, error: Error?) { guard error == nil else { error_msg("didDiscoverCharacteristicsFor: \(error!)")