@@ -7,38 +7,38 @@ public struct Peripheral: Sendable {
77 let rawValue : CBPeripheral ?
88 let delegate : Delegate ?
99
10- var _name : @Sendable ( ) -> String ?
11- var _identifier : @Sendable ( ) -> UUID
12- var _state : @Sendable ( ) -> CBPeripheralState
13- var _services : @Sendable ( ) -> [ CBService ] ?
14- var _canSendWriteWithoutResponse : @Sendable ( ) -> Bool
15-
16- var _ancsAuthorized : @Sendable ( ) -> Bool
17-
18- var _readRSSI : @Sendable ( ) -> Void
19- var _discoverServices : @Sendable ( _ serviceUUIDs: [ CBUUID ] ? ) -> Void
20- var _discoverIncludedServices : @Sendable ( _ includedServiceUUIDs: [ CBUUID ] ? , _ service: CBService ) -> Void
21- var _discoverCharacteristics : @Sendable ( _ characteristicUUIDs: [ CBUUID ] ? , _ service: CBService ) -> Void
22- var _readValueForCharacteristic : @Sendable ( _ characteristic: CBCharacteristic ) -> Void
23- var _maximumWriteValueLength : @Sendable ( _ type: CBCharacteristicWriteType ) -> Int
24- var _writeValueForCharacteristic : @Sendable ( _ data: Data , _ characteristic: CBCharacteristic , _ type: CBCharacteristicWriteType ) -> Void
25- var _setNotifyValue : @Sendable ( _ enabled: Bool , _ characteristic: CBCharacteristic ) -> Void
26- var _discoverDescriptors : @Sendable ( _ characteristic: CBCharacteristic ) -> Void
27- var _readValueForDescriptor : @Sendable ( _ descriptor: CBDescriptor ) -> Void
28- var _writeValueForDescriptor : @Sendable ( _ data: Data , _ descriptor: CBDescriptor ) -> Void
29- var _openL2CAPChannel : @Sendable ( _ PSM: CBL2CAPPSM ) -> Void
30-
31- var didReadRSSI : AnyPublisher < Result < Double , Error > , Never >
32- var didDiscoverServices : AnyPublisher < ( [ CBService ] , Error ? ) , Never >
33- var didDiscoverIncludedServices : AnyPublisher < ( CBService , Error ? ) , Never >
34- var didDiscoverCharacteristics : AnyPublisher < ( CBService , Error ? ) , Never >
35- var didUpdateValueForCharacteristic : AnyPublisher < ( CBCharacteristic , Error ? ) , Never >
36- var didWriteValueForCharacteristic : AnyPublisher < ( CBCharacteristic , Error ? ) , Never >
37- var didUpdateNotificationState : AnyPublisher < ( CBCharacteristic , Error ? ) , Never >
38- var didDiscoverDescriptorsForCharacteristic : AnyPublisher < ( CBCharacteristic , Error ? ) , Never >
39- var didUpdateValueForDescriptor : AnyPublisher < ( CBDescriptor , Error ? ) , Never >
40- var didWriteValueForDescriptor : AnyPublisher < ( CBDescriptor , Error ? ) , Never >
41- var didOpenChannel : AnyPublisher < ( L2CAPChannel ? , Error ? ) , Never >
10+ public var _name : @Sendable ( ) -> String ?
11+ public var _identifier : @Sendable ( ) -> UUID
12+ public var _state : @Sendable ( ) -> CBPeripheralState
13+ public var _services : @Sendable ( ) -> [ CBService ] ?
14+ public var _canSendWriteWithoutResponse : @Sendable ( ) -> Bool
15+
16+ public var _ancsAuthorized : @Sendable ( ) -> Bool
17+
18+ public var _readRSSI : @Sendable ( ) -> Void
19+ public var _discoverServices : @Sendable ( _ serviceUUIDs: [ CBUUID ] ? ) -> Void
20+ public var _discoverIncludedServices : @Sendable ( _ includedServiceUUIDs: [ CBUUID ] ? , _ service: CBService ) -> Void
21+ public var _discoverCharacteristics : @Sendable ( _ characteristicUUIDs: [ CBUUID ] ? , _ service: CBService ) -> Void
22+ public var _readValueForCharacteristic : @Sendable ( _ characteristic: CBCharacteristic ) -> Void
23+ public var _maximumWriteValueLength : @Sendable ( _ type: CBCharacteristicWriteType ) -> Int
24+ public var _writeValueForCharacteristic : @Sendable ( _ data: Data , _ characteristic: CBCharacteristic , _ type: CBCharacteristicWriteType ) -> Void
25+ public var _setNotifyValue : @Sendable ( _ enabled: Bool , _ characteristic: CBCharacteristic ) -> Void
26+ public var _discoverDescriptors : @Sendable ( _ characteristic: CBCharacteristic ) -> Void
27+ public var _readValueForDescriptor : @Sendable ( _ descriptor: CBDescriptor ) -> Void
28+ public var _writeValueForDescriptor : @Sendable ( _ data: Data , _ descriptor: CBDescriptor ) -> Void
29+ public var _openL2CAPChannel : @Sendable ( _ PSM: CBL2CAPPSM ) -> Void
30+
31+ public var didReadRSSI : AnyPublisher < Result < Double , Error > , Never >
32+ public var didDiscoverServices : AnyPublisher < ( [ CBService ] , Error ? ) , Never >
33+ public var didDiscoverIncludedServices : AnyPublisher < ( CBService , Error ? ) , Never >
34+ public var didDiscoverCharacteristics : AnyPublisher < ( CBService , Error ? ) , Never >
35+ public var didUpdateValueForCharacteristic : AnyPublisher < ( CBCharacteristic , Error ? ) , Never >
36+ public var didWriteValueForCharacteristic : AnyPublisher < ( CBCharacteristic , Error ? ) , Never >
37+ public var didUpdateNotificationState : AnyPublisher < ( CBCharacteristic , Error ? ) , Never >
38+ public var didDiscoverDescriptorsForCharacteristic : AnyPublisher < ( CBCharacteristic , Error ? ) , Never >
39+ public var didUpdateValueForDescriptor : AnyPublisher < ( CBDescriptor , Error ? ) , Never >
40+ public var didWriteValueForDescriptor : AnyPublisher < ( CBDescriptor , Error ? ) , Never >
41+ public var didOpenChannel : AnyPublisher < ( L2CAPChannel ? , Error ? ) , Never >
4242
4343 public var isReadyToSendWriteWithoutResponse : AnyPublisher < Void , Never >
4444 public var nameUpdates : AnyPublisher < String ? , Never >
0 commit comments