@@ -4,36 +4,36 @@ extension Peripheral {
44 public static func unimplemented(
55 name: String ? = nil ,
66 identifier: UUID = . init( ) ,
7- state: @escaping ( ) -> CBPeripheralState = Internal . _unimplemented ( " state " ) ,
8- services: @escaping ( ) -> [ CBService ] ? = Internal . _unimplemented ( " services " ) ,
9- canSendWriteWithoutResponse: @escaping ( ) -> Bool = Internal . _unimplemented ( " canSendWriteWithoutResponse " ) ,
10- ancsAuthorized: @escaping ( ) -> Bool = Internal . _unimplemented ( " ancsAuthorized " ) ,
11- readRSSI: @escaping ( ) -> Void = Internal . _unimplemented ( " readRSSI " ) ,
12- discoverServices: @escaping ( [ CBUUID ] ? ) -> Void = Internal . _unimplemented ( " discoverServices " ) ,
13- discoverIncludedServices: @escaping ( [ CBUUID ] ? , CBService ) -> Void = Internal . _unimplemented ( " discoverIncludedServices " ) ,
14- discoverCharacteristics: @escaping ( [ CBUUID ] ? , CBService ) -> Void = Internal . _unimplemented ( " discoverCharacteristics " ) ,
15- readValueForCharacteristic: @escaping ( CBCharacteristic ) -> Void = Internal . _unimplemented ( " readValueForCharacteristic " ) ,
16- maximumWriteValueLength: @escaping ( CBCharacteristicWriteType ) -> Int = Internal . _unimplemented ( " maximumWriteValueLength " ) ,
17- writeValueForCharacteristic: @escaping ( Data , CBCharacteristic , CBCharacteristicWriteType ) -> Void = Internal . _unimplemented ( " writeValueForCharacteristic " ) ,
18- setNotifyValue: @escaping ( Bool , CBCharacteristic ) -> Void = Internal . _unimplemented ( " setNotifyValue " ) ,
19- discoverDescriptors: @escaping ( CBCharacteristic ) -> Void = Internal . _unimplemented ( " discoverDescriptors " ) ,
20- readValueForDescriptor: @escaping ( CBDescriptor ) -> Void = Internal . _unimplemented ( " readValueForDescriptor " ) ,
21- writeValueForDescriptor: @escaping ( Data , CBDescriptor ) -> Void = Internal . _unimplemented ( " writeValueForDescriptor " ) ,
22- openL2CAPChannel: @escaping ( CBL2CAPPSM ) -> Void = Internal . _unimplemented ( " openL2CAPChannel " ) ,
23- didReadRSSI: AnyPublisher < Result < Double , Error > , Never > = Internal . _unimplemented ( " didReadRSSI " ) ,
24- didDiscoverServices: AnyPublisher < ( [ CBService ] , Error ? ) , Never > = Internal . _unimplemented ( " didDiscoverServices " ) ,
25- didDiscoverIncludedServices: AnyPublisher < ( CBService , Error ? ) , Never > = Internal . _unimplemented ( " didDiscoverIncludedServices " ) ,
26- didDiscoverCharacteristics: AnyPublisher < ( CBService , Error ? ) , Never > = Internal . _unimplemented ( " didDiscoverCharacteristics " ) ,
27- didUpdateValueForCharacteristic: AnyPublisher < ( CBCharacteristic , Error ? ) , Never > = Internal . _unimplemented ( " didUpdateValueForCharacteristic " ) ,
28- didWriteValueForCharacteristic: AnyPublisher < ( CBCharacteristic , Error ? ) , Never > = Internal . _unimplemented ( " didWriteValueForCharacteristic " ) ,
29- didUpdateNotificationState: AnyPublisher < ( CBCharacteristic , Error ? ) , Never > = Internal . _unimplemented ( " didUpdateNotificationState " ) ,
30- didDiscoverDescriptorsForCharacteristic: AnyPublisher < ( CBCharacteristic , Error ? ) , Never > = Internal . _unimplemented ( " didDiscoverDescriptorsForCharacteristic " ) ,
31- didUpdateValueForDescriptor: AnyPublisher < ( CBDescriptor , Error ? ) , Never > = Internal . _unimplemented ( " didUpdateValueForDescriptor " ) ,
32- didWriteValueForDescriptor: AnyPublisher < ( CBDescriptor , Error ? ) , Never > = Internal . _unimplemented ( " didWriteValueForDescriptor " ) ,
33- didOpenChannel: AnyPublisher < ( L2CAPChannel ? , Error ? ) , Never > = Internal . _unimplemented ( " didOpenChannel " ) ,
34- isReadyToSendWriteWithoutResponse: AnyPublisher < Void , Never > = Internal . _unimplemented ( " isReadyToSendWriteWithoutResponse " ) ,
35- nameUpdates: AnyPublisher < String ? , Never > = Internal . _unimplemented ( " nameUpdates " ) ,
36- invalidatedServiceUpdates: AnyPublisher < [ CBService ] , Never > = Internal . _unimplemented ( " invalidatedServiceUpdates " )
7+ state: @escaping ( ) -> CBPeripheralState = _Internal . _unimplemented ( " state " ) ,
8+ services: @escaping ( ) -> [ CBService ] ? = _Internal . _unimplemented ( " services " ) ,
9+ canSendWriteWithoutResponse: @escaping ( ) -> Bool = _Internal . _unimplemented ( " canSendWriteWithoutResponse " ) ,
10+ ancsAuthorized: @escaping ( ) -> Bool = _Internal . _unimplemented ( " ancsAuthorized " ) ,
11+ readRSSI: @escaping ( ) -> Void = _Internal . _unimplemented ( " readRSSI " ) ,
12+ discoverServices: @escaping ( [ CBUUID ] ? ) -> Void = _Internal . _unimplemented ( " discoverServices " ) ,
13+ discoverIncludedServices: @escaping ( [ CBUUID ] ? , CBService ) -> Void = _Internal . _unimplemented ( " discoverIncludedServices " ) ,
14+ discoverCharacteristics: @escaping ( [ CBUUID ] ? , CBService ) -> Void = _Internal . _unimplemented ( " discoverCharacteristics " ) ,
15+ readValueForCharacteristic: @escaping ( CBCharacteristic ) -> Void = _Internal . _unimplemented ( " readValueForCharacteristic " ) ,
16+ maximumWriteValueLength: @escaping ( CBCharacteristicWriteType ) -> Int = _Internal . _unimplemented ( " maximumWriteValueLength " ) ,
17+ writeValueForCharacteristic: @escaping ( Data , CBCharacteristic , CBCharacteristicWriteType ) -> Void = _Internal . _unimplemented ( " writeValueForCharacteristic " ) ,
18+ setNotifyValue: @escaping ( Bool , CBCharacteristic ) -> Void = _Internal . _unimplemented ( " setNotifyValue " ) ,
19+ discoverDescriptors: @escaping ( CBCharacteristic ) -> Void = _Internal . _unimplemented ( " discoverDescriptors " ) ,
20+ readValueForDescriptor: @escaping ( CBDescriptor ) -> Void = _Internal . _unimplemented ( " readValueForDescriptor " ) ,
21+ writeValueForDescriptor: @escaping ( Data , CBDescriptor ) -> Void = _Internal . _unimplemented ( " writeValueForDescriptor " ) ,
22+ openL2CAPChannel: @escaping ( CBL2CAPPSM ) -> Void = _Internal . _unimplemented ( " openL2CAPChannel " ) ,
23+ didReadRSSI: AnyPublisher < Result < Double , Error > , Never > = _Internal . _unimplemented ( " didReadRSSI " ) ,
24+ didDiscoverServices: AnyPublisher < ( [ CBService ] , Error ? ) , Never > = _Internal . _unimplemented ( " didDiscoverServices " ) ,
25+ didDiscoverIncludedServices: AnyPublisher < ( CBService , Error ? ) , Never > = _Internal . _unimplemented ( " didDiscoverIncludedServices " ) ,
26+ didDiscoverCharacteristics: AnyPublisher < ( CBService , Error ? ) , Never > = _Internal . _unimplemented ( " didDiscoverCharacteristics " ) ,
27+ didUpdateValueForCharacteristic: AnyPublisher < ( CBCharacteristic , Error ? ) , Never > = _Internal . _unimplemented ( " didUpdateValueForCharacteristic " ) ,
28+ didWriteValueForCharacteristic: AnyPublisher < ( CBCharacteristic , Error ? ) , Never > = _Internal . _unimplemented ( " didWriteValueForCharacteristic " ) ,
29+ didUpdateNotificationState: AnyPublisher < ( CBCharacteristic , Error ? ) , Never > = _Internal . _unimplemented ( " didUpdateNotificationState " ) ,
30+ didDiscoverDescriptorsForCharacteristic: AnyPublisher < ( CBCharacteristic , Error ? ) , Never > = _Internal . _unimplemented ( " didDiscoverDescriptorsForCharacteristic " ) ,
31+ didUpdateValueForDescriptor: AnyPublisher < ( CBDescriptor , Error ? ) , Never > = _Internal . _unimplemented ( " didUpdateValueForDescriptor " ) ,
32+ didWriteValueForDescriptor: AnyPublisher < ( CBDescriptor , Error ? ) , Never > = _Internal . _unimplemented ( " didWriteValueForDescriptor " ) ,
33+ didOpenChannel: AnyPublisher < ( L2CAPChannel ? , Error ? ) , Never > = _Internal . _unimplemented ( " didOpenChannel " ) ,
34+ isReadyToSendWriteWithoutResponse: AnyPublisher < Void , Never > = _Internal . _unimplemented ( " isReadyToSendWriteWithoutResponse " ) ,
35+ nameUpdates: AnyPublisher < String ? , Never > = _Internal . _unimplemented ( " nameUpdates " ) ,
36+ invalidatedServiceUpdates: AnyPublisher < [ CBService ] , Never > = _Internal . _unimplemented ( " invalidatedServiceUpdates " )
3737 ) -> Peripheral {
3838 Peripheral (
3939 rawValue: nil ,
0 commit comments