pyobjc-framework-CoreBluetooth 12.2.1__cp315-cp315-macosx_10_15_universal2.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- CoreBluetooth/_CoreBluetooth.cpython-315-darwin.so +0 -0
- CoreBluetooth/__init__.py +45 -0
- CoreBluetooth/_metadata.py +443 -0
- pyobjc_framework_corebluetooth-12.2.1.dist-info/METADATA +70 -0
- pyobjc_framework_corebluetooth-12.2.1.dist-info/RECORD +9 -0
- pyobjc_framework_corebluetooth-12.2.1.dist-info/WHEEL +5 -0
- pyobjc_framework_corebluetooth-12.2.1.dist-info/licenses/LICENSE.txt +10 -0
- pyobjc_framework_corebluetooth-12.2.1.dist-info/pyobjc-build-info.txt +3 -0
- pyobjc_framework_corebluetooth-12.2.1.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Python mapping for the CloudKit framework.
|
|
3
|
+
|
|
4
|
+
This module does not contain docstrings for the wrapped code, check Apple's
|
|
5
|
+
documentation for details on how to use these functions and classes.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def _setup():
|
|
10
|
+
import sys
|
|
11
|
+
|
|
12
|
+
import Foundation
|
|
13
|
+
import objc
|
|
14
|
+
from . import _metadata, _CoreBluetooth
|
|
15
|
+
|
|
16
|
+
dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
|
|
17
|
+
name="CoreBluetooth",
|
|
18
|
+
frameworkIdentifier="com.apple.CoreBluetooth",
|
|
19
|
+
frameworkPath=objc.pathForFramework(
|
|
20
|
+
"/System/Library/Frameworks/CoreBluetooth.framework"
|
|
21
|
+
),
|
|
22
|
+
globals_dict=globals(),
|
|
23
|
+
inline_list=None,
|
|
24
|
+
parents=(
|
|
25
|
+
_CoreBluetooth,
|
|
26
|
+
Foundation,
|
|
27
|
+
),
|
|
28
|
+
metadict=_metadata.__dict__,
|
|
29
|
+
)
|
|
30
|
+
|
|
31
|
+
globals()["__dir__"] = dir_func
|
|
32
|
+
globals()["__getattr__"] = getattr_func
|
|
33
|
+
|
|
34
|
+
for cls, sel in (
|
|
35
|
+
("CBManager", b"init"),
|
|
36
|
+
("CBPeer", b"init"),
|
|
37
|
+
("CBATTRequest", b"init"),
|
|
38
|
+
("CBAttribute", b"init"),
|
|
39
|
+
):
|
|
40
|
+
objc.registerUnavailableMethod(cls, sel)
|
|
41
|
+
|
|
42
|
+
del sys.modules["CoreBluetooth._metadata"]
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
globals().pop("_setup")()
|
|
@@ -0,0 +1,443 @@
|
|
|
1
|
+
# This file is generated by objective.metadata
|
|
2
|
+
#
|
|
3
|
+
# Last update: Sun May 24 11:45:46 2026
|
|
4
|
+
#
|
|
5
|
+
# flake8: noqa
|
|
6
|
+
|
|
7
|
+
import objc, sys
|
|
8
|
+
from typing import NewType
|
|
9
|
+
|
|
10
|
+
if sys.maxsize > 2**32:
|
|
11
|
+
|
|
12
|
+
def sel32or64(a, b):
|
|
13
|
+
return b
|
|
14
|
+
|
|
15
|
+
else:
|
|
16
|
+
|
|
17
|
+
def sel32or64(a, b):
|
|
18
|
+
return a
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
if objc.arch == "arm64":
|
|
22
|
+
|
|
23
|
+
def selAorI(a, b):
|
|
24
|
+
return a
|
|
25
|
+
|
|
26
|
+
else:
|
|
27
|
+
|
|
28
|
+
def selAorI(a, b):
|
|
29
|
+
return b
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
misc = {}
|
|
33
|
+
constants = """$CBATTErrorDomain$CBAdvertisementDataIsConnectable$CBAdvertisementDataLocalNameKey$CBAdvertisementDataManufacturerDataKey$CBAdvertisementDataOverflowServiceUUIDsKey$CBAdvertisementDataServiceDataKey$CBAdvertisementDataServiceUUIDsKey$CBAdvertisementDataSolicitedServiceUUIDsKey$CBAdvertisementDataTxPowerLevelKey$CBCentralManagerOptionDeviceAccessForMedia$CBCentralManagerOptionRestoreIdentifierKey$CBCentralManagerOptionShowPowerAlertKey$CBCentralManagerRestoredStatePeripheralsKey$CBCentralManagerRestoredStateScanOptionsKey$CBCentralManagerRestoredStateScanServicesKey$CBCentralManagerScanOptionAllowDuplicatesKey$CBCentralManagerScanOptionSolicitedServiceUUIDsKey$CBConnectPeripheralOptionEnableAutoReconnect$CBConnectPeripheralOptionEnableTransportBridgingKey$CBConnectPeripheralOptionNotifyOnConnectionKey$CBConnectPeripheralOptionNotifyOnDisconnectionKey$CBConnectPeripheralOptionNotifyOnNotificationKey$CBConnectPeripheralOptionRequiresANCS$CBConnectPeripheralOptionStartDelayKey$CBConnectionEventMatchingOptionPeripheralUUIDs$CBConnectionEventMatchingOptionServiceUUIDs$CBErrorDomain$CBPeripheralManagerOptionRestoreIdentifierKey$CBPeripheralManagerOptionShowPowerAlertKey$CBPeripheralManagerRestoredStateAdvertisementDataKey$CBPeripheralManagerRestoredStateServicesKey$CBUUIDAppearanceString$CBUUIDCharacteristicAggregateFormatString$CBUUIDCharacteristicExtendedPropertiesString$CBUUIDCharacteristicFormatString$CBUUIDCharacteristicObservationScheduleString$CBUUIDCharacteristicUserDescriptionString$CBUUIDCharacteristicValidRangeString$CBUUIDClientCharacteristicConfigurationString$CBUUIDDeviceNameString$CBUUIDGenericAccessProfileString$CBUUIDGenericAttributeProfileString$CBUUIDL2CAPPSMCharacteristicString$CBUUIDPeripheralPreferredConnectionParametersString$CBUUIDPeripheralPrivacyFlagString$CBUUIDReconnectionAddressString$CBUUIDServerCharacteristicConfigurationString$CBUUIDServiceChangedString$"""
|
|
34
|
+
enums = """$CBATTErrorAttributeNotFound@10$CBATTErrorAttributeNotLong@11$CBATTErrorInsufficientAuthentication@5$CBATTErrorInsufficientAuthorization@8$CBATTErrorInsufficientEncryption@15$CBATTErrorInsufficientEncryptionKeySize@12$CBATTErrorInsufficientResources@17$CBATTErrorInvalidAttributeValueLength@13$CBATTErrorInvalidHandle@1$CBATTErrorInvalidOffset@7$CBATTErrorInvalidPdu@4$CBATTErrorPrepareQueueFull@9$CBATTErrorReadNotPermitted@2$CBATTErrorRequestNotSupported@6$CBATTErrorSuccess@0$CBATTErrorUnlikelyError@14$CBATTErrorUnsupportedGroupType@16$CBATTErrorWriteNotPermitted@3$CBAttributePermissionsReadEncryptionRequired@4$CBAttributePermissionsReadable@1$CBAttributePermissionsWriteEncryptionRequired@8$CBAttributePermissionsWriteable@2$CBCentralManagerFeatureExtendedScanAndConnect@1$CBCentralManagerStatePoweredOff@4$CBCentralManagerStatePoweredOn@5$CBCentralManagerStateResetting@1$CBCentralManagerStateUnauthorized@3$CBCentralManagerStateUnknown@0$CBCentralManagerStateUnsupported@2$CBCharacteristicPropertyAuthenticatedSignedWrites@64$CBCharacteristicPropertyBroadcast@1$CBCharacteristicPropertyExtendedProperties@128$CBCharacteristicPropertyIndicate@32$CBCharacteristicPropertyIndicateEncryptionRequired@512$CBCharacteristicPropertyNotify@16$CBCharacteristicPropertyNotifyEncryptionRequired@256$CBCharacteristicPropertyRead@2$CBCharacteristicPropertyWrite@8$CBCharacteristicPropertyWriteWithoutResponse@4$CBCharacteristicWriteWithResponse@0$CBCharacteristicWriteWithoutResponse@1$CBConnectionEventPeerConnected@1$CBConnectionEventPeerDisconnected@0$CBErrorAlreadyAdvertising@9$CBErrorConnectionFailed@10$CBErrorConnectionLimitReached@11$CBErrorConnectionTimeout@6$CBErrorEncryptionTimedOut@15$CBErrorInvalidHandle@2$CBErrorInvalidParameters@1$CBErrorLeGattExceededBackgroundNotificationLimit@17$CBErrorLeGattNearBackgroundNotificationLimit@18$CBErrorNotConnected@3$CBErrorOperationCancelled@5$CBErrorOperationNotSupported@13$CBErrorOutOfSpace@4$CBErrorPeerRemovedPairingInformation@14$CBErrorPeripheralDisconnected@7$CBErrorTooManyLEPairedDevices@16$CBErrorUUIDNotAllowed@8$CBErrorUnknown@0$CBErrorUnknownDevice@12$CBErrorUnkownDevice@12$CBManagerAuthorizationAllowedAlways@3$CBManagerAuthorizationDenied@2$CBManagerAuthorizationNotDetermined@0$CBManagerAuthorizationRestricted@1$CBManagerStatePoweredOff@4$CBManagerStatePoweredOn@5$CBManagerStateResetting@1$CBManagerStateUnauthorized@3$CBManagerStateUnknown@0$CBManagerStateUnsupported@2$CBPeripheralAuthorizationStatusAuthorized@3$CBPeripheralAuthorizationStatusDenied@2$CBPeripheralAuthorizationStatusNotDetermined@0$CBPeripheralAuthorizationStatusRestricted@1$CBPeripheralManagerAuthorizationStatusAuthorized@3$CBPeripheralManagerAuthorizationStatusDenied@2$CBPeripheralManagerAuthorizationStatusNotDetermined@0$CBPeripheralManagerAuthorizationStatusRestricted@1$CBPeripheralManagerConnectionLatencyHigh@2$CBPeripheralManagerConnectionLatencyLow@0$CBPeripheralManagerConnectionLatencyMedium@1$CBPeripheralManagerStatePoweredOff@4$CBPeripheralManagerStatePoweredOn@5$CBPeripheralManagerStateResetting@1$CBPeripheralManagerStateUnauthorized@3$CBPeripheralManagerStateUnknown@0$CBPeripheralManagerStateUnsupported@2$CBPeripheralStateConnected@2$CBPeripheralStateConnecting@1$CBPeripheralStateDisconnected@0$CBPeripheralStateDisconnecting@3$"""
|
|
35
|
+
misc.update(
|
|
36
|
+
{
|
|
37
|
+
"CBCentralManagerFeature": NewType("CBCentralManagerFeature", int),
|
|
38
|
+
"CBError": NewType("CBError", int),
|
|
39
|
+
"CBPeripheralManagerState": NewType("CBPeripheralManagerState", int),
|
|
40
|
+
"CBManagerAuthorization": NewType("CBManagerAuthorization", int),
|
|
41
|
+
"CBConnectionEvent": NewType("CBConnectionEvent", int),
|
|
42
|
+
"CBCharacteristicProperties": NewType("CBCharacteristicProperties", int),
|
|
43
|
+
"CBATTError": NewType("CBATTError", int),
|
|
44
|
+
"CBPeripheralState": NewType("CBPeripheralState", int),
|
|
45
|
+
"CBCharacteristicWriteType": NewType("CBCharacteristicWriteType", int),
|
|
46
|
+
"CBPeripheralManagerConnectionLatency": NewType(
|
|
47
|
+
"CBPeripheralManagerConnectionLatency", int
|
|
48
|
+
),
|
|
49
|
+
"CBManagerState": NewType("CBManagerState", int),
|
|
50
|
+
"CBAttributePermissions": NewType("CBAttributePermissions", int),
|
|
51
|
+
"CBPeripheralManagerAuthorizationStatus": NewType(
|
|
52
|
+
"CBPeripheralManagerAuthorizationStatus", int
|
|
53
|
+
),
|
|
54
|
+
"CBCentralManagerState": NewType("CBCentralManagerState", int),
|
|
55
|
+
}
|
|
56
|
+
)
|
|
57
|
+
misc.update(
|
|
58
|
+
{"CBConnectionEventMatchingOption": NewType("CBConnectionEventMatchingOption", str)}
|
|
59
|
+
)
|
|
60
|
+
misc.update({})
|
|
61
|
+
aliases = {
|
|
62
|
+
"CBCentralManagerStateUnknown": "CBManagerStateUnknown",
|
|
63
|
+
"CBPeripheralManagerStatePoweredOff": "CBManagerStatePoweredOff",
|
|
64
|
+
"CBCentralManagerStatePoweredOn": "CBManagerStatePoweredOn",
|
|
65
|
+
"CBCentralManagerStatePoweredOff": "CBManagerStatePoweredOff",
|
|
66
|
+
"CBPeripheralManagerStateUnauthorized": "CBManagerStateUnauthorized",
|
|
67
|
+
"CBPeripheralManagerStatePoweredOn": "CBManagerStatePoweredOn",
|
|
68
|
+
"CBCentralManagerStateUnsupported": "CBManagerStateUnsupported",
|
|
69
|
+
"CBCentralManagerStateUnauthorized": "CBManagerStateUnauthorized",
|
|
70
|
+
"CBPeripheralManagerStateUnknown": "CBManagerStateUnknown",
|
|
71
|
+
"CBPeripheralManagerStateResetting": "CBManagerStateResetting",
|
|
72
|
+
"CBPeripheralManagerStateUnsupported": "CBManagerStateUnsupported",
|
|
73
|
+
"CBCentralManagerStateResetting": "CBManagerStateResetting",
|
|
74
|
+
}
|
|
75
|
+
r = objc.registerMetaDataForSelector
|
|
76
|
+
objc._updatingMetadata(True)
|
|
77
|
+
try:
|
|
78
|
+
r(b"CBCentralManager", b"isScanning", {"retval": {"type": "Z"}})
|
|
79
|
+
r(b"CBCentralManager", b"supportsFeatures:", {"retval": {"type": b"Z"}})
|
|
80
|
+
r(b"CBCharacteristic", b"isBroadcasted", {"retval": {"type": b"Z"}})
|
|
81
|
+
r(b"CBCharacteristic", b"isNotifying", {"retval": {"type": b"Z"}})
|
|
82
|
+
r(b"CBMutableService", b"initWithType:primary:", {"arguments": {3: {"type": b"Z"}}})
|
|
83
|
+
r(b"CBPeripheral", b"ancsAuthorized", {"retval": {"type": b"Z"}})
|
|
84
|
+
r(b"CBPeripheral", b"canSendWriteWithoutResponse", {"retval": {"type": "Z"}})
|
|
85
|
+
r(b"CBPeripheral", b"isConnected", {"retval": {"type": "Z"}})
|
|
86
|
+
r(
|
|
87
|
+
b"CBPeripheral",
|
|
88
|
+
b"setNotifyValue:forCharacteristic:",
|
|
89
|
+
{"arguments": {2: {"type": b"Z"}}},
|
|
90
|
+
)
|
|
91
|
+
r(b"CBPeripheralManager", b"isAdvertising", {"retval": {"type": b"Z"}})
|
|
92
|
+
r(
|
|
93
|
+
b"CBPeripheralManager",
|
|
94
|
+
b"publishL2CAPChannelWithEncryption:",
|
|
95
|
+
{"arguments": {2: {"type": "Z"}}},
|
|
96
|
+
)
|
|
97
|
+
r(
|
|
98
|
+
b"CBPeripheralManager",
|
|
99
|
+
b"updateValue:forCharacteristic:onSubscribedCentrals:",
|
|
100
|
+
{"retval": {"type": b"Z"}},
|
|
101
|
+
)
|
|
102
|
+
r(b"CBService", b"isPrimary", {"retval": {"type": b"Z"}})
|
|
103
|
+
r(b"CBService", b"setIsPrimary:", {"arguments": {2: {"type": "Z"}}})
|
|
104
|
+
r(
|
|
105
|
+
b"NSObject",
|
|
106
|
+
b"centralManager:connectionEventDidOccur:forPeripheral:",
|
|
107
|
+
{
|
|
108
|
+
"required": False,
|
|
109
|
+
"retval": {"type": b"v"},
|
|
110
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"q"}, 4: {"type": b"@"}},
|
|
111
|
+
},
|
|
112
|
+
)
|
|
113
|
+
r(
|
|
114
|
+
b"NSObject",
|
|
115
|
+
b"centralManager:didConnectPeripheral:",
|
|
116
|
+
{
|
|
117
|
+
"required": False,
|
|
118
|
+
"retval": {"type": b"v"},
|
|
119
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
|
|
120
|
+
},
|
|
121
|
+
)
|
|
122
|
+
r(
|
|
123
|
+
b"NSObject",
|
|
124
|
+
b"centralManager:didDisconnectPeripheral:error:",
|
|
125
|
+
{
|
|
126
|
+
"required": False,
|
|
127
|
+
"retval": {"type": b"v"},
|
|
128
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
|
|
129
|
+
},
|
|
130
|
+
)
|
|
131
|
+
r(
|
|
132
|
+
b"NSObject",
|
|
133
|
+
b"centralManager:didDisconnectPeripheral:timestamp:isReconnecting:error:",
|
|
134
|
+
{
|
|
135
|
+
"required": False,
|
|
136
|
+
"retval": {"type": b"v"},
|
|
137
|
+
"arguments": {
|
|
138
|
+
2: {"type": b"@"},
|
|
139
|
+
3: {"type": b"@"},
|
|
140
|
+
4: {"type": b"d"},
|
|
141
|
+
5: {"type": b"Z"},
|
|
142
|
+
6: {"type": b"@"},
|
|
143
|
+
},
|
|
144
|
+
},
|
|
145
|
+
)
|
|
146
|
+
r(
|
|
147
|
+
b"NSObject",
|
|
148
|
+
b"centralManager:didDiscoverPeripheral:advertisementData:RSSI:",
|
|
149
|
+
{
|
|
150
|
+
"required": False,
|
|
151
|
+
"retval": {"type": b"v"},
|
|
152
|
+
"arguments": {
|
|
153
|
+
2: {"type": b"@"},
|
|
154
|
+
3: {"type": b"@"},
|
|
155
|
+
4: {"type": b"@"},
|
|
156
|
+
5: {"type": b"@"},
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
)
|
|
160
|
+
r(
|
|
161
|
+
b"NSObject",
|
|
162
|
+
b"centralManager:didFailToConnectPeripheral:error:",
|
|
163
|
+
{
|
|
164
|
+
"required": False,
|
|
165
|
+
"retval": {"type": b"v"},
|
|
166
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
|
|
167
|
+
},
|
|
168
|
+
)
|
|
169
|
+
r(
|
|
170
|
+
b"NSObject",
|
|
171
|
+
b"centralManager:didUpdateANCSAuthorizationForPeripheral:",
|
|
172
|
+
{
|
|
173
|
+
"required": False,
|
|
174
|
+
"retval": {"type": b"v"},
|
|
175
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
|
|
176
|
+
},
|
|
177
|
+
)
|
|
178
|
+
r(
|
|
179
|
+
b"NSObject",
|
|
180
|
+
b"centralManager:willRestoreState:",
|
|
181
|
+
{
|
|
182
|
+
"required": False,
|
|
183
|
+
"retval": {"type": b"v"},
|
|
184
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
|
|
185
|
+
},
|
|
186
|
+
)
|
|
187
|
+
r(
|
|
188
|
+
b"NSObject",
|
|
189
|
+
b"centralManagerDidUpdateState:",
|
|
190
|
+
{"required": True, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
191
|
+
)
|
|
192
|
+
r(
|
|
193
|
+
b"NSObject",
|
|
194
|
+
b"peripheral:didDiscoverCharacteristicsForService:error:",
|
|
195
|
+
{
|
|
196
|
+
"required": False,
|
|
197
|
+
"retval": {"type": b"v"},
|
|
198
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
|
|
199
|
+
},
|
|
200
|
+
)
|
|
201
|
+
r(
|
|
202
|
+
b"NSObject",
|
|
203
|
+
b"peripheral:didDiscoverDescriptorsForCharacteristic:error:",
|
|
204
|
+
{
|
|
205
|
+
"required": False,
|
|
206
|
+
"retval": {"type": b"v"},
|
|
207
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
|
|
208
|
+
},
|
|
209
|
+
)
|
|
210
|
+
r(
|
|
211
|
+
b"NSObject",
|
|
212
|
+
b"peripheral:didDiscoverIncludedServicesForService:error:",
|
|
213
|
+
{
|
|
214
|
+
"required": False,
|
|
215
|
+
"retval": {"type": b"v"},
|
|
216
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
|
|
217
|
+
},
|
|
218
|
+
)
|
|
219
|
+
r(
|
|
220
|
+
b"NSObject",
|
|
221
|
+
b"peripheral:didDiscoverServices:",
|
|
222
|
+
{
|
|
223
|
+
"required": False,
|
|
224
|
+
"retval": {"type": b"v"},
|
|
225
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
|
|
226
|
+
},
|
|
227
|
+
)
|
|
228
|
+
r(
|
|
229
|
+
b"NSObject",
|
|
230
|
+
b"peripheral:didModifyServices:",
|
|
231
|
+
{
|
|
232
|
+
"required": False,
|
|
233
|
+
"retval": {"type": b"v"},
|
|
234
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
|
|
235
|
+
},
|
|
236
|
+
)
|
|
237
|
+
r(
|
|
238
|
+
b"NSObject",
|
|
239
|
+
b"peripheral:didOpenL2CAPChannel:error:",
|
|
240
|
+
{
|
|
241
|
+
"required": False,
|
|
242
|
+
"retval": {"type": b"v"},
|
|
243
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
|
|
244
|
+
},
|
|
245
|
+
)
|
|
246
|
+
r(
|
|
247
|
+
b"NSObject",
|
|
248
|
+
b"peripheral:didReadRSSI:error:",
|
|
249
|
+
{
|
|
250
|
+
"required": False,
|
|
251
|
+
"retval": {"type": b"v"},
|
|
252
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
|
|
253
|
+
},
|
|
254
|
+
)
|
|
255
|
+
r(
|
|
256
|
+
b"NSObject",
|
|
257
|
+
b"peripheral:didUpdateNotificationStateForCharacteristic:error:",
|
|
258
|
+
{
|
|
259
|
+
"required": False,
|
|
260
|
+
"retval": {"type": b"v"},
|
|
261
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
|
|
262
|
+
},
|
|
263
|
+
)
|
|
264
|
+
r(
|
|
265
|
+
b"NSObject",
|
|
266
|
+
b"peripheral:didUpdateValueForCharacteristic:error:",
|
|
267
|
+
{
|
|
268
|
+
"required": False,
|
|
269
|
+
"retval": {"type": b"v"},
|
|
270
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
|
|
271
|
+
},
|
|
272
|
+
)
|
|
273
|
+
r(
|
|
274
|
+
b"NSObject",
|
|
275
|
+
b"peripheral:didUpdateValueForDescriptor:error:",
|
|
276
|
+
{
|
|
277
|
+
"required": False,
|
|
278
|
+
"retval": {"type": b"v"},
|
|
279
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
|
|
280
|
+
},
|
|
281
|
+
)
|
|
282
|
+
r(
|
|
283
|
+
b"NSObject",
|
|
284
|
+
b"peripheral:didWriteValueForCharacteristic:error:",
|
|
285
|
+
{
|
|
286
|
+
"required": False,
|
|
287
|
+
"retval": {"type": b"v"},
|
|
288
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
|
|
289
|
+
},
|
|
290
|
+
)
|
|
291
|
+
r(
|
|
292
|
+
b"NSObject",
|
|
293
|
+
b"peripheral:didWriteValueForDescriptor:error:",
|
|
294
|
+
{
|
|
295
|
+
"required": False,
|
|
296
|
+
"retval": {"type": b"v"},
|
|
297
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
|
|
298
|
+
},
|
|
299
|
+
)
|
|
300
|
+
r(
|
|
301
|
+
b"NSObject",
|
|
302
|
+
b"peripheralDidUpdateName:",
|
|
303
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
304
|
+
)
|
|
305
|
+
r(
|
|
306
|
+
b"NSObject",
|
|
307
|
+
b"peripheralDidUpdateRSSI:error:",
|
|
308
|
+
{
|
|
309
|
+
"required": False,
|
|
310
|
+
"retval": {"type": b"v"},
|
|
311
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
|
|
312
|
+
},
|
|
313
|
+
)
|
|
314
|
+
r(
|
|
315
|
+
b"NSObject",
|
|
316
|
+
b"peripheralIsReadyToSendWriteWithoutResponse:",
|
|
317
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
318
|
+
)
|
|
319
|
+
r(
|
|
320
|
+
b"NSObject",
|
|
321
|
+
b"peripheralManager:central:didSubscribeToCharacteristic:",
|
|
322
|
+
{
|
|
323
|
+
"required": False,
|
|
324
|
+
"retval": {"type": b"v"},
|
|
325
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
|
|
326
|
+
},
|
|
327
|
+
)
|
|
328
|
+
r(
|
|
329
|
+
b"NSObject",
|
|
330
|
+
b"peripheralManager:central:didUnsubscribeFromCharacteristic:",
|
|
331
|
+
{
|
|
332
|
+
"required": False,
|
|
333
|
+
"retval": {"type": b"v"},
|
|
334
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
|
|
335
|
+
},
|
|
336
|
+
)
|
|
337
|
+
r(
|
|
338
|
+
b"NSObject",
|
|
339
|
+
b"peripheralManager:didAddService:error:",
|
|
340
|
+
{
|
|
341
|
+
"required": False,
|
|
342
|
+
"retval": {"type": b"v"},
|
|
343
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
|
|
344
|
+
},
|
|
345
|
+
)
|
|
346
|
+
r(
|
|
347
|
+
b"NSObject",
|
|
348
|
+
b"peripheralManager:didOpenL2CAPChannel:error:",
|
|
349
|
+
{
|
|
350
|
+
"required": False,
|
|
351
|
+
"retval": {"type": b"v"},
|
|
352
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": "S"}, 4: {"type": b"@"}},
|
|
353
|
+
},
|
|
354
|
+
)
|
|
355
|
+
r(
|
|
356
|
+
b"NSObject",
|
|
357
|
+
b"peripheralManager:didPublishL2CAPChannel:error:",
|
|
358
|
+
{
|
|
359
|
+
"required": False,
|
|
360
|
+
"retval": {"type": b"v"},
|
|
361
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": "S"}, 4: {"type": b"@"}},
|
|
362
|
+
},
|
|
363
|
+
)
|
|
364
|
+
r(
|
|
365
|
+
b"NSObject",
|
|
366
|
+
b"peripheralManager:didReceiveReadRequest:",
|
|
367
|
+
{
|
|
368
|
+
"required": False,
|
|
369
|
+
"retval": {"type": b"v"},
|
|
370
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
|
|
371
|
+
},
|
|
372
|
+
)
|
|
373
|
+
r(
|
|
374
|
+
b"NSObject",
|
|
375
|
+
b"peripheralManager:didReceiveWriteRequests:",
|
|
376
|
+
{
|
|
377
|
+
"required": False,
|
|
378
|
+
"retval": {"type": b"v"},
|
|
379
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
|
|
380
|
+
},
|
|
381
|
+
)
|
|
382
|
+
r(
|
|
383
|
+
b"NSObject",
|
|
384
|
+
b"peripheralManager:didUnpublishL2CAPChannel:error:",
|
|
385
|
+
{
|
|
386
|
+
"required": False,
|
|
387
|
+
"retval": {"type": b"v"},
|
|
388
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": "S"}, 4: {"type": b"@"}},
|
|
389
|
+
},
|
|
390
|
+
)
|
|
391
|
+
r(
|
|
392
|
+
b"NSObject",
|
|
393
|
+
b"peripheralManager:willRestoreState:",
|
|
394
|
+
{
|
|
395
|
+
"required": False,
|
|
396
|
+
"retval": {"type": b"v"},
|
|
397
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
|
|
398
|
+
},
|
|
399
|
+
)
|
|
400
|
+
r(
|
|
401
|
+
b"NSObject",
|
|
402
|
+
b"peripheralManagerDidStartAdvertising:error:",
|
|
403
|
+
{
|
|
404
|
+
"required": False,
|
|
405
|
+
"retval": {"type": b"v"},
|
|
406
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
|
|
407
|
+
},
|
|
408
|
+
)
|
|
409
|
+
r(
|
|
410
|
+
b"NSObject",
|
|
411
|
+
b"peripheralManagerDidUpdateState:",
|
|
412
|
+
{"required": True, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
413
|
+
)
|
|
414
|
+
r(
|
|
415
|
+
b"NSObject",
|
|
416
|
+
b"peripheralManagerIsReadyToUpdateSubscribers:",
|
|
417
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
418
|
+
)
|
|
419
|
+
finally:
|
|
420
|
+
objc._updatingMetadata(False)
|
|
421
|
+
|
|
422
|
+
objc.registerNewKeywordsFromSelector("CBATTRequest", b"init")
|
|
423
|
+
objc.registerNewKeywordsFromSelector("CBAttribute", b"init")
|
|
424
|
+
objc.registerNewKeywordsFromSelector("CBCentralManager", b"init")
|
|
425
|
+
objc.registerNewKeywordsFromSelector("CBCentralManager", b"initWithDelegate:queue:")
|
|
426
|
+
objc.registerNewKeywordsFromSelector(
|
|
427
|
+
"CBCentralManager", b"initWithDelegate:queue:options:"
|
|
428
|
+
)
|
|
429
|
+
objc.registerNewKeywordsFromSelector("CBManager", b"init")
|
|
430
|
+
objc.registerNewKeywordsFromSelector(
|
|
431
|
+
"CBMutableCharacteristic", b"initWithType:properties:value:permissions:"
|
|
432
|
+
)
|
|
433
|
+
objc.registerNewKeywordsFromSelector("CBMutableDescriptor", b"initWithType:value:")
|
|
434
|
+
objc.registerNewKeywordsFromSelector("CBMutableService", b"initWithType:primary:")
|
|
435
|
+
objc.registerNewKeywordsFromSelector("CBPeer", b"init")
|
|
436
|
+
objc.registerNewKeywordsFromSelector("CBPeripheralManager", b"init")
|
|
437
|
+
objc.registerNewKeywordsFromSelector("CBPeripheralManager", b"initWithDelegate:queue:")
|
|
438
|
+
objc.registerNewKeywordsFromSelector(
|
|
439
|
+
"CBPeripheralManager", b"initWithDelegate:queue:options:"
|
|
440
|
+
)
|
|
441
|
+
expressions = {}
|
|
442
|
+
|
|
443
|
+
# END OF FILE
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pyobjc-framework-CoreBluetooth
|
|
3
|
+
Version: 12.2.1
|
|
4
|
+
Summary: Wrappers for the framework CoreBluetooth on macOS
|
|
5
|
+
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
|
+
Author: Ronald Oussoren
|
|
7
|
+
Author-email: pyobjc-dev@lists.sourceforge.net
|
|
8
|
+
License: MIT
|
|
9
|
+
Keywords: PyObjC,CoreBluetooth
|
|
10
|
+
Platform: MacOS X (>=10.10)
|
|
11
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
12
|
+
Classifier: Environment :: Console
|
|
13
|
+
Classifier: Environment :: MacOS X :: Cocoa
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: Natural Language :: English
|
|
16
|
+
Classifier: Operating System :: MacOS :: MacOS X
|
|
17
|
+
Classifier: Programming Language :: Python
|
|
18
|
+
Classifier: Programming Language :: Python :: 3
|
|
19
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
26
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
27
|
+
Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
|
|
28
|
+
Classifier: Programming Language :: Objective C
|
|
29
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
30
|
+
Classifier: Topic :: Software Development :: User Interfaces
|
|
31
|
+
Requires-Python: >=3.10
|
|
32
|
+
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
33
|
+
License-File: LICENSE.txt
|
|
34
|
+
Requires-Dist: pyobjc-core>=12.2.1
|
|
35
|
+
Requires-Dist: pyobjc-framework-Cocoa>=12.2.1
|
|
36
|
+
Dynamic: author
|
|
37
|
+
Dynamic: author-email
|
|
38
|
+
Dynamic: classifier
|
|
39
|
+
Dynamic: description
|
|
40
|
+
Dynamic: description-content-type
|
|
41
|
+
Dynamic: home-page
|
|
42
|
+
Dynamic: keywords
|
|
43
|
+
Dynamic: license
|
|
44
|
+
Dynamic: license-file
|
|
45
|
+
Dynamic: platform
|
|
46
|
+
Dynamic: requires-dist
|
|
47
|
+
Dynamic: requires-python
|
|
48
|
+
Dynamic: summary
|
|
49
|
+
Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
|
|
50
|
+
Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
|
|
51
|
+
Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
Wrappers for the "CoreBluetooth" framework on macOS.
|
|
55
|
+
|
|
56
|
+
These wrappers don't include documentation, please check Apple's documentation
|
|
57
|
+
for information on how to use this framework and PyObjC's documentation
|
|
58
|
+
for general tips and tricks regarding the translation between Python
|
|
59
|
+
and (Objective-)C frameworks
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
Project links
|
|
63
|
+
-------------
|
|
64
|
+
|
|
65
|
+
* `Documentation <https://pyobjc.readthedocs.io/en/latest/>`_
|
|
66
|
+
|
|
67
|
+
* `Issue Tracker <https://github.com/ronaldoussoren/pyobjc/issues>`_
|
|
68
|
+
|
|
69
|
+
* `Repository <https://github.com/ronaldoussoren/pyobjc/>`_
|
|
70
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
CoreBluetooth/_CoreBluetooth.cpython-315-darwin.so,sha256=yRrBcVn8vnz0cqkPOS4dCPPiHcEQzSotVUkYbSfqyj8,85448
|
|
2
|
+
CoreBluetooth/__init__.py,sha256=f_cqazfU40pYz7ptMq0jZaWQNMnfgXps_w-4-0IIjvc,1130
|
|
3
|
+
CoreBluetooth/_metadata.py,sha256=YlK90_fcD-usH0_8RkDetLbHcPvwr5cEupZJNskkyXo,19232
|
|
4
|
+
pyobjc_framework_corebluetooth-12.2.1.dist-info/licenses/LICENSE.txt,sha256=DKBLB5KNSHK52bsiGHygQm3Yv6sI8m6toJmacdyBqv8,1249
|
|
5
|
+
pyobjc_framework_corebluetooth-12.2.1.dist-info/METADATA,sha256=J7Uhmtd-V-R6dQzGPDwSWv--iM77Qk3KgNMV_5E0qKU,2575
|
|
6
|
+
pyobjc_framework_corebluetooth-12.2.1.dist-info/WHEEL,sha256=2M_SYDyM5rEsv_ln2yEuQGcyAVVUxLKyXAZ43VblWzk,115
|
|
7
|
+
pyobjc_framework_corebluetooth-12.2.1.dist-info/pyobjc-build-info.txt,sha256=Ri0Wl_rPog8K797Y9SwUgX2P5KgewvMu0uQOBhtk0lo,83
|
|
8
|
+
pyobjc_framework_corebluetooth-12.2.1.dist-info/top_level.txt,sha256=mrd_Sh1JLPW4g_20hfpKNneNXo-XHeaIG4n0zAvaIP0,14
|
|
9
|
+
pyobjc_framework_corebluetooth-12.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
(This is the MIT license, note that libffi-src is a separate product with its own license)
|
|
2
|
+
|
|
3
|
+
Copyright 2002, 2003 - Bill Bumgarner, Ronald Oussoren, Steve Majewski, Lele Gaifax, et.al.
|
|
4
|
+
Copyright 2003-2025 - Ronald Oussoren
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
7
|
+
|
|
8
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
9
|
+
|
|
10
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
CoreBluetooth
|