mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-15 00:34:08 +09:00
fix: missing internal Bluetooth peripheral callback
This commit is contained in:
@@ -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!)")
|
||||
|
||||
Reference in New Issue
Block a user