unified-ble-manager 4.0.0-alpha.0
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.
- package/LICENSE +202 -0
- package/MIGRATION_4.0.md +46 -0
- package/README.md +885 -0
- package/ROADMAP.4.0.md +87 -0
- package/ROADMAP.md +712 -0
- package/android/build.gradle +116 -0
- package/android/gradle.properties +5 -0
- package/android/src/legacy/java/com/sfourdrinier/unifiedblemanager/adapter/BleModule.java +1666 -0
- package/android/src/legacy/java/com/sfourdrinier/unifiedblemanager/adapter/utils/DisposableMap.java +39 -0
- package/android/src/legacy/java/com/sfourdrinier/unifiedblemanager/adapter/utils/RefreshGattCustomOperation.java +53 -0
- package/android/src/legacy/java/com/sfourdrinier/unifiedblemanager/adapter/utils/mapper/RxBleDeviceToDeviceMapper.java +19 -0
- package/android/src/legacy/java/com/sfourdrinier/unifiedblemanager/adapter/utils/mapper/RxScanResultToScanResultMapper.java +22 -0
- package/android/src/main/AndroidManifest.xml +41 -0
- package/android/src/main/AndroidManifestNew.xml +44 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/BlePlxForegroundService.java +398 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/BlePlxModule.java +1237 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/BlePlxPackage.java +60 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/Event.java +18 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/adapter/AdvertisementData.java +251 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/adapter/BleAdapter.java +269 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/adapter/BleAdapterCreator.java +7 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/adapter/BleAdapterFactory.java +22 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/adapter/Characteristic.java +169 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/adapter/ConnectionOptions.java +72 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/adapter/ConnectionState.java +12 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/adapter/Descriptor.java +113 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/adapter/Device.java +95 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/adapter/OnErrorCallback.java +8 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/adapter/OnEventCallback.java +6 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/adapter/OnSuccessCallback.java +6 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/adapter/RefreshGattMoment.java +20 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/adapter/ScanResult.java +184 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/adapter/Service.java +58 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/adapter/errors/BleError.java +32 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/adapter/errors/BleErrorCode.java +61 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/adapter/errors/BleErrorUtils.java +86 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/adapter/errors/ErrorConverter.java +34 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/adapter/exceptions/CannotMonitorCharacteristicException.java +15 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/adapter/utils/Base64Converter.java +34 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/adapter/utils/ByteUtils.java +15 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/adapter/utils/Constants.java +66 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/adapter/utils/IdGenerator.java +22 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/adapter/utils/IdGeneratorKey.java +37 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/adapter/utils/LogLevel.java +51 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/adapter/utils/SafeExecutor.java +33 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/adapter/utils/ServiceFactory.java +16 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/adapter/utils/UUIDConverter.java +51 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/converter/BleErrorToJsObjectConverter.java +65 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/converter/CharacteristicToJsObjectConverter.java +52 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/converter/DescriptorToJsObjectConverter.java +38 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/converter/DeviceToJsObjectConverter.java +64 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/converter/JSObjectConverter.java +17 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/converter/ScanResultToJsObjectConverter.java +118 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/converter/ServiceToJsObjectConverter.java +26 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/protocol/ProtocolCommandDecoder.kt +221 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/protocol/ProtocolWireEncoder.kt +129 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/protocol/UnifiedBleProtocolAndroidDispatcher.kt +685 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/protocol/UnifiedBleProtocolControlModule.java +367 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/protocol/UnifiedBleProtocolJsiBinding.java +130 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/protocol/generated/NativeProtocolV1Schema.kt +302 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/radio/OwnedAdapterLifecycleCoordinator.kt +107 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/radio/OwnedAndroidGattRadio.kt +1599 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/radio/OwnedAndroidLog.kt +23 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/radio/OwnedBleAdapter.kt +1689 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/radio/OwnedBondedDevicesOperation.kt +32 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/utils/Base64Converter.java +30 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/utils/BlePlxDebugLogging.java +47 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/utils/ErrorDefaults.java +9 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/utils/ReadableArrayConverter.java +28 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/utils/SafePromise.java +54 -0
- package/android/src/main/java/com/sfourdrinier/unifiedblemanager/utils/UUIDConverter.java +70 -0
- package/android/src/main/jni/CMakeLists.txt +50 -0
- package/android/src/main/jni/UnifiedBleProtocolControlJni.cpp +253 -0
- package/android/src/main/jni/UnifiedBleProtocolJsiBinding.cpp +1400 -0
- package/android/src/main/jni/UnifiedBleProtocolRuntimeHandle.hpp +12 -0
- package/android/src/test/java/com/sfourdrinier/unifiedblemanager/protocol/UnifiedBleProtocolAndroidDispatcherLifecycleTest.kt +51 -0
- package/android/src/test/java/com/sfourdrinier/unifiedblemanager/radio/OwnedAdapterLifecycleCoordinatorTest.kt +110 -0
- package/app.plugin.js +1 -0
- package/bin/ubm.js +18 -0
- package/docs/ADR/2026-07-4.0-backend-contract.md +133 -0
- package/docs/ADR/2026-07-4.0-boundary.md +128 -0
- package/docs/ADR/2026-07-4.0-capability-registry.md +116 -0
- package/docs/ADR/2026-07-4.0-open-source-governance.md +105 -0
- package/docs/ADR/2026-07-4.0-packaging.md +114 -0
- package/docs/ADR/2026-07-4.0-public-api.md +129 -0
- package/docs/ADR/2026-07-4.0-rn-restoration-bootstrap.md +122 -0
- package/docs/BACKEND_AUTHORING.md +13 -0
- package/docs/BACKGROUND.md +19 -0
- package/docs/BONDING.md +66 -0
- package/docs/CLI.md +18 -0
- package/docs/CONNECTION_MANAGER.md +188 -0
- package/docs/DISCOVERY_AND_PROFILES.md +143 -0
- package/docs/ELECTRON.md +29 -0
- package/docs/EXPO_PLUGIN.md +19 -0
- package/docs/FIX_TRACKER.4.0-round2.md +170 -0
- package/docs/FIX_TRACKER.4.0-round3.md +96 -0
- package/docs/FIX_TRACKER.4.0.md +168 -0
- package/docs/FORK.md +89 -0
- package/docs/GAPS.4.0.md +87 -0
- package/docs/GETTING_STARTED.md +37 -0
- package/docs/HELPERS.md +140 -0
- package/docs/MIGRATION_V1.md +6 -0
- package/docs/NODE.md +19 -0
- package/docs/PERFORMANCE.md +20 -0
- package/docs/PLATFORMS.md +51 -0
- package/docs/PROFILES_AND_COMMANDS.md +139 -0
- package/docs/README_V1.md +173 -0
- package/docs/TCK.md +21 -0
- package/docs/TUTORIALS.md +108 -0
- package/docs/TVOS.md +16 -0
- package/docs/UNIFIED_BLE_4.0_IMPLEMENTATION_PLAN.md +3053 -0
- package/docs/UNIFIED_SEMANTICS.md +965 -0
- package/docs/WEB.md +19 -0
- package/docs/generated/BACKEND_SDK_REFERENCE.md +52 -0
- package/docs/logo.png +0 -0
- package/docs/platforms/META_QUEST_4.1_SCOPE.md +21 -0
- package/docs/security/UNIFIED_BLE_4.0_THREAT_MODEL.md +126 -0
- package/ios/BlePlx-Bridging-Header.h +4 -0
- package/ios/BlePlx.h +21 -0
- package/ios/BlePlx.mm +885 -0
- package/ios/BlePlx.xcodeproj/project.pbxproj +288 -0
- package/ios/BlePlxDebugLogging.h +6 -0
- package/ios/BlePlxDebugLogging.m +33 -0
- package/ios/BlePlxRuntimeDispatch.h +8 -0
- package/ios/BlePlxTurboModule.mm +39 -0
- package/ios/Generated/NativeProtocolV1Schema.swift +302 -0
- package/ios/NativeProtocol/UnifiedBleProtocolAppleBinaryDelivery.hpp +25 -0
- package/ios/NativeProtocol/UnifiedBleProtocolAppleBinaryDelivery.mm +63 -0
- package/ios/NativeProtocol/UnifiedBleProtocolAppleExecution.hpp +46 -0
- package/ios/NativeProtocol/UnifiedBleProtocolAppleExecution.mm +883 -0
- package/ios/Owned/BlePlxRadioQueue.swift +23 -0
- package/ios/Owned/OwnedCoreBluetoothAdapter.swift +1704 -0
- package/ios/Owned/OwnedCoreBluetoothProtocolRadio.swift +870 -0
- package/ios/PrivacyInfo.xcprivacy +14 -0
- package/ios/Restoration/BlePlxDebugLogging.swift +26 -0
- package/ios/Restoration/BlePlxRestorationAdapter.swift +231 -0
- package/ios/Restoration/BlePlxRestorationState.swift +44 -0
- package/ios/Restoration/BleRestorationRegistry.swift +219 -0
- package/ios/UnifiedBleProtocolControl.mm +392 -0
- package/ios/vendor/MultiplatformBleAdapter/LICENSE +201 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/AdvertisementData.swift +62 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/Array+Utils.swift +11 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/BluetoothError.swift +195 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/BluetoothManager.swift +357 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/BluetoothState.swift +12 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/Boxes.swift +63 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/CBCentral+Uuid.swift +9 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/CBCentralManagerDelegateWrapper.swift +75 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/CBPeripheralDelegateWrapper.swift +163 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/Characteristic.swift +121 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/Descriptor.swift +74 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/DeviceIdentifiers.swift +51 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/Logging.swift +218 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/ManagerType.swift +41 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/Observable+Absorb.swift +25 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/Observable+QueueSubscribeOn.swift +125 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/Peripheral+Convenience.swift +213 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/Peripheral.swift +516 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/RestoredState.swift +59 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/RxCBCentralManager.swift +149 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/RxCBCharacteristic.swift +51 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/RxCBDescriptor.swift +32 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/RxCBPeripheral.swift +394 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/RxCBService.swift +42 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/RxCentralManagerType.swift +23 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/RxCharacteristicType.swift +24 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/RxDescriptorType.swift +21 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/RxPeripheralType.swift +76 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/RxServiceType.swift +21 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/ScanOperation.swift +30 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/ScannedPeripheral.swift +22 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/Service.swift +75 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/UUIDIdentifiable.swift +25 -0
- package/ios/vendor/MultiplatformBleAdapter/RxBluetoothKit/Unimplemented.swift +13 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/AnyObserver.swift +69 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Binder.swift +59 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Cancelable.swift +13 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Concurrency/AsyncLock.swift +100 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Concurrency/Lock.swift +23 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Concurrency/LockOwnerType.swift +16 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Concurrency/SynchronizedDisposeType.swift +18 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Concurrency/SynchronizedOnType.swift +18 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift +13 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/ConnectableObservableType.swift +19 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Date+Dispatch.swift +64 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Disposable.swift +13 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Disposables/AnonymousDisposable.swift +59 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Disposables/BinaryDisposable.swift +53 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Disposables/BooleanDisposable.swift +34 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Disposables/CompositeDisposable.swift +147 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Disposables/Disposables.swift +13 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Disposables/DisposeBag.swift +144 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Disposables/DisposeBase.swift +22 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Disposables/NopDisposable.swift +30 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Disposables/RefCountDisposable.swift +112 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Disposables/ScheduledDisposable.swift +50 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Disposables/SerialDisposable.swift +73 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Disposables/SingleAssignmentDisposable.swift +72 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Disposables/SubscriptionDisposable.swift +21 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Errors.swift +52 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Event.swift +104 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Extensions/Bag+Rx.swift +50 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/GroupedObservable.swift +35 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/ImmediateSchedulerType.swift +36 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observable+Concurrency.swift +79 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observable.swift +31 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/ObservableConvertibleType.swift +18 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/ObservableType+Extensions.swift +174 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/ObservableType.swift +45 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/AddRef.swift +44 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Amb.swift +157 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/AsMaybe.swift +48 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/AsSingle.swift +51 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Buffer.swift +138 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Catch.swift +275 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/CombineLatest+Collection.swift +165 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/CombineLatest+arity.swift +843 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/CombineLatest.swift +131 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/CompactMap.swift +76 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Concat.swift +131 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Create.swift +78 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Debounce.swift +119 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Debug.swift +102 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Decode.swift +34 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/DefaultIfEmpty.swift +66 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Deferred.swift +75 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Delay.swift +174 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/DelaySubscription.swift +58 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Dematerialize.swift +51 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/DistinctUntilChanged.swift +137 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Do.swift +112 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/ElementAt.swift +105 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Empty.swift +27 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Enumerated.swift +61 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Error.swift +33 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Filter.swift +86 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/First.swift +41 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Generate.swift +87 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/GroupBy.swift +133 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Just.swift +87 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Map.swift +76 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Materialize.swift +44 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Merge.swift +600 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Multicast.swift +405 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Never.swift +27 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/ObserveOn.swift +243 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Optional.swift +95 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Producer.swift +92 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Range.swift +73 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Reduce.swift +109 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Repeat.swift +57 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/RetryWhen.swift +211 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Sample.swift +139 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Scan.swift +100 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Sequence.swift +89 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/ShareReplayScope.swift +443 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/SingleAsync.swift +104 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Sink.swift +75 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Skip.swift +158 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/SkipUntil.swift +152 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/SkipWhile.swift +87 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/StartWith.swift +42 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/SubscribeOn.swift +103 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Switch.swift +251 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/SwitchIfEmpty.swift +104 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Take.swift +193 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/TakeLast.swift +78 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/TakeWithPredicate.swift +285 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Throttle.swift +160 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Timeout.swift +151 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Timer.swift +117 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/ToArray.swift +64 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Using.swift +90 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Window.swift +168 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/WithLatestFrom.swift +151 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/WithUnretained.swift +58 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Zip+Collection.swift +168 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Zip+arity.swift +934 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observables/Zip.swift +135 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/ObserverType.swift +40 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observers/AnonymousObserver.swift +30 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observers/ObserverBase.swift +32 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Observers/TailRecursiveSink.swift +151 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Platform/AtomicInt.swift +72 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Platform/DataStructures/Bag.swift +181 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Platform/DataStructures/InfiniteSequence.swift +23 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Platform/DataStructures/PriorityQueue.swift +111 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Platform/DataStructures/Queue.swift +148 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Platform/DispatchQueue+Extensions.swift +21 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Platform/Platform.Darwin.swift +35 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Platform/Platform.Linux.swift +32 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Platform/RecursiveLock.swift +34 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Reactive.swift +80 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Rx.swift +142 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/RxMutableBox.swift +53 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/SchedulerType.swift +71 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift +82 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Schedulers/ConcurrentMainScheduler.swift +87 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Schedulers/CurrentThreadScheduler.swift +131 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Schedulers/HistoricalScheduler.swift +22 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift +67 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift +97 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift +22 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Schedulers/Internal/InvocableType.swift +17 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Schedulers/Internal/ScheduledItem.swift +35 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Schedulers/Internal/ScheduledItemType.swift +13 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Schedulers/MainScheduler.swift +80 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Schedulers/OperationQueueScheduler.swift +54 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Schedulers/RecursiveScheduler.swift +220 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Schedulers/SchedulerServices+Emulation.swift +61 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift +131 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Schedulers/VirtualTimeConverterType.swift +97 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Schedulers/VirtualTimeScheduler.swift +267 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Subjects/AsyncSubject.swift +154 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Subjects/BehaviorSubject.swift +157 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Subjects/PublishSubject.swift +140 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Subjects/ReplaySubject.swift +271 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Subjects/SubjectType.swift +21 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/SwiftSupport/SwiftSupport.swift +18 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Traits/Infallible/Infallible+CombineLatest+Collection.swift +36 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Traits/Infallible/Infallible+CombineLatest+arity.swift +276 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Traits/Infallible/Infallible+Concurrency.swift +37 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Traits/Infallible/Infallible+Create.swift +55 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Traits/Infallible/Infallible+Debug.swift +26 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Traits/Infallible/Infallible+Operators.swift +711 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Traits/Infallible/Infallible+Zip+arity.swift +138 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Traits/Infallible/Infallible.swift +102 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Traits/Infallible/ObservableConvertibleType+Infallible.swift +35 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Traits/PrimitiveSequence/Completable+AndThen.swift +132 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Traits/PrimitiveSequence/Completable.swift +320 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Traits/PrimitiveSequence/Maybe.swift +387 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Traits/PrimitiveSequence/ObservableType+PrimitiveSequence.swift +55 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Traits/PrimitiveSequence/PrimitiveSequence+Concurrency.swift +164 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Traits/PrimitiveSequence/PrimitiveSequence+Zip+arity.swift +521 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Traits/PrimitiveSequence/PrimitiveSequence.swift +342 -0
- package/ios/vendor/MultiplatformBleAdapter/RxSwift/Traits/PrimitiveSequence/Single.swift +403 -0
- package/ios/vendor/MultiplatformBleAdapter/classes/BleAdapter.swift +236 -0
- package/ios/vendor/MultiplatformBleAdapter/classes/BleAdapterFactory.swift +25 -0
- package/ios/vendor/MultiplatformBleAdapter/classes/BleError.swift +309 -0
- package/ios/vendor/MultiplatformBleAdapter/classes/BleEvent.swift +48 -0
- package/ios/vendor/MultiplatformBleAdapter/classes/BleExtensions.swift +239 -0
- package/ios/vendor/MultiplatformBleAdapter/classes/BleModule.swift +1373 -0
- package/ios/vendor/MultiplatformBleAdapter/classes/BleUtils.swift +110 -0
- package/ios/vendor/MultiplatformBleAdapter/classes/Utils/DisposableMap.swift +32 -0
- package/ios/vendor/MultiplatformBleAdapter/classes/Utils/SafePromise.swift +37 -0
- package/lib/commonjs/backend-contract/advertisement.js +6 -0
- package/lib/commonjs/backend-contract/advertisement.js.map +1 -0
- package/lib/commonjs/backend-contract/backend-sdk.js +6 -0
- package/lib/commonjs/backend-contract/backend-sdk.js.map +1 -0
- package/lib/commonjs/backend-contract/backend.js +138 -0
- package/lib/commonjs/backend-contract/backend.js.map +1 -0
- package/lib/commonjs/backend-contract/capabilities.js +124 -0
- package/lib/commonjs/backend-contract/capabilities.js.map +1 -0
- package/lib/commonjs/backend-contract/connection-controls.js +13 -0
- package/lib/commonjs/backend-contract/connection-controls.js.map +1 -0
- package/lib/commonjs/backend-contract/electron.js +323 -0
- package/lib/commonjs/backend-contract/electron.js.map +1 -0
- package/lib/commonjs/backend-contract/errors.js +30 -0
- package/lib/commonjs/backend-contract/errors.js.map +1 -0
- package/lib/commonjs/backend-contract/gatt.js +22 -0
- package/lib/commonjs/backend-contract/gatt.js.map +1 -0
- package/lib/commonjs/backend-contract/host/electron-main.js +13 -0
- package/lib/commonjs/backend-contract/host/electron-main.js.map +1 -0
- package/lib/commonjs/backend-contract/host/electron-renderer.js +6 -0
- package/lib/commonjs/backend-contract/host/electron-renderer.js.map +1 -0
- package/lib/commonjs/backend-contract/host/node.js +6 -0
- package/lib/commonjs/backend-contract/host/node.js.map +1 -0
- package/lib/commonjs/backend-contract/host/web.js +6 -0
- package/lib/commonjs/backend-contract/host/web.js.map +1 -0
- package/lib/commonjs/backend-contract/identity.js +13 -0
- package/lib/commonjs/backend-contract/identity.js.map +1 -0
- package/lib/commonjs/backend-contract/index.js +181 -0
- package/lib/commonjs/backend-contract/index.js.map +1 -0
- package/lib/commonjs/backend-contract/operations.js +44 -0
- package/lib/commonjs/backend-contract/operations.js.map +1 -0
- package/lib/commonjs/backend-contract/primitives.js +244 -0
- package/lib/commonjs/backend-contract/primitives.js.map +1 -0
- package/lib/commonjs/backend-contract/restoration.js +6 -0
- package/lib/commonjs/backend-contract/restoration.js.map +1 -0
- package/lib/commonjs/backend-contract/serializable.js +173 -0
- package/lib/commonjs/backend-contract/serializable.js.map +1 -0
- package/lib/commonjs/backend-contract/streams.js +6 -0
- package/lib/commonjs/backend-contract/streams.js.map +1 -0
- package/lib/commonjs/backend-sdk-authoring.js +104 -0
- package/lib/commonjs/backend-sdk-authoring.js.map +1 -0
- package/lib/commonjs/backend-sdk.js +80 -0
- package/lib/commonjs/backend-sdk.js.map +1 -0
- package/lib/commonjs/backends/bluez/bluez-backend-handles.js +216 -0
- package/lib/commonjs/backends/bluez/bluez-backend-handles.js.map +1 -0
- package/lib/commonjs/backends/bluez/bluez-backend-provider.js +107 -0
- package/lib/commonjs/backends/bluez/bluez-backend-provider.js.map +1 -0
- package/lib/commonjs/backends/bluez/bluez-backend-runtime.js +615 -0
- package/lib/commonjs/backends/bluez/bluez-backend-runtime.js.map +1 -0
- package/lib/commonjs/backends/bluez/bluez-backend.js +77 -0
- package/lib/commonjs/backends/bluez/bluez-backend.js.map +1 -0
- package/lib/commonjs/backends/bluez/bluez-dbus-contract.js +25 -0
- package/lib/commonjs/backends/bluez/bluez-dbus-contract.js.map +1 -0
- package/lib/commonjs/backends/bluez/bluez-dbus-next-boundary.js +408 -0
- package/lib/commonjs/backends/bluez/bluez-dbus-next-boundary.js.map +1 -0
- package/lib/commonjs/backends/bluez/bluez-gatt-operations.js +100 -0
- package/lib/commonjs/backends/bluez/bluez-gatt-operations.js.map +1 -0
- package/lib/commonjs/backends/bluez/bluez-object-store.js +383 -0
- package/lib/commonjs/backends/bluez/bluez-object-store.js.map +1 -0
- package/lib/commonjs/backends/bluez/bluez-operation-dispatcher.js +163 -0
- package/lib/commonjs/backends/bluez/bluez-operation-dispatcher.js.map +1 -0
- package/lib/commonjs/backends/bluez/bluez-property-waiters.js +153 -0
- package/lib/commonjs/backends/bluez/bluez-property-waiters.js.map +1 -0
- package/lib/commonjs/backends/bluez/bluez-runtime-models.js +240 -0
- package/lib/commonjs/backends/bluez/bluez-runtime-models.js.map +1 -0
- package/lib/commonjs/backends/bluez/bluez-runtime-types.js +20 -0
- package/lib/commonjs/backends/bluez/bluez-runtime-types.js.map +1 -0
- package/lib/commonjs/backends/bluez/bluez-scan-runtime.js +242 -0
- package/lib/commonjs/backends/bluez/bluez-scan-runtime.js.map +1 -0
- package/lib/commonjs/backends/bluez/bluez-subscription-runtime.js +131 -0
- package/lib/commonjs/backends/bluez/bluez-subscription-runtime.js.map +1 -0
- package/lib/commonjs/backends/corebluetooth/corebluetooth-backend.js +696 -0
- package/lib/commonjs/backends/corebluetooth/corebluetooth-backend.js.map +1 -0
- package/lib/commonjs/backends/corebluetooth/corebluetooth-boundary.js +2 -0
- package/lib/commonjs/backends/corebluetooth/corebluetooth-boundary.js.map +1 -0
- package/lib/commonjs/backends/corebluetooth/corebluetooth-connection-controls.js +59 -0
- package/lib/commonjs/backends/corebluetooth/corebluetooth-connection-controls.js.map +1 -0
- package/lib/commonjs/backends/corebluetooth/corebluetooth-gatt-operations.js +215 -0
- package/lib/commonjs/backends/corebluetooth/corebluetooth-gatt-operations.js.map +1 -0
- package/lib/commonjs/backends/corebluetooth/corebluetooth-handles.js +280 -0
- package/lib/commonjs/backends/corebluetooth/corebluetooth-handles.js.map +1 -0
- package/lib/commonjs/backends/corebluetooth/corebluetooth-identity.js +22 -0
- package/lib/commonjs/backends/corebluetooth/corebluetooth-identity.js.map +1 -0
- package/lib/commonjs/backends/corebluetooth/corebluetooth-operation-dispatcher.js +79 -0
- package/lib/commonjs/backends/corebluetooth/corebluetooth-operation-dispatcher.js.map +1 -0
- package/lib/commonjs/backends/corebluetooth/corebluetooth-operation-lifecycle.js +93 -0
- package/lib/commonjs/backends/corebluetooth/corebluetooth-operation-lifecycle.js.map +1 -0
- package/lib/commonjs/backends/corebluetooth/corebluetooth-provider.js +65 -0
- package/lib/commonjs/backends/corebluetooth/corebluetooth-provider.js.map +1 -0
- package/lib/commonjs/backends/corebluetooth/corebluetooth-stream-limits.js +20 -0
- package/lib/commonjs/backends/corebluetooth/corebluetooth-stream-limits.js.map +1 -0
- package/lib/commonjs/backends/reactnative/react-native-android-provider.js +155 -0
- package/lib/commonjs/backends/reactnative/react-native-android-provider.js.map +1 -0
- package/lib/commonjs/backends/reactnative/react-native-apple-provider.js +152 -0
- package/lib/commonjs/backends/reactnative/react-native-apple-provider.js.map +1 -0
- package/lib/commonjs/backends/winrt/winrt-adapter-state.js +49 -0
- package/lib/commonjs/backends/winrt/winrt-adapter-state.js.map +1 -0
- package/lib/commonjs/backends/winrt/winrt-backend-helpers.js +84 -0
- package/lib/commonjs/backends/winrt/winrt-backend-helpers.js.map +1 -0
- package/lib/commonjs/backends/winrt/winrt-backend.js +683 -0
- package/lib/commonjs/backends/winrt/winrt-backend.js.map +1 -0
- package/lib/commonjs/backends/winrt/winrt-boundary.js +2 -0
- package/lib/commonjs/backends/winrt/winrt-boundary.js.map +1 -0
- package/lib/commonjs/backends/winrt/winrt-gatt-operations.js +244 -0
- package/lib/commonjs/backends/winrt/winrt-gatt-operations.js.map +1 -0
- package/lib/commonjs/backends/winrt/winrt-handles.js +297 -0
- package/lib/commonjs/backends/winrt/winrt-handles.js.map +1 -0
- package/lib/commonjs/backends/winrt/winrt-operation-dispatcher.js +159 -0
- package/lib/commonjs/backends/winrt/winrt-operation-dispatcher.js.map +1 -0
- package/lib/commonjs/backends/winrt/winrt-provider.js +83 -0
- package/lib/commonjs/backends/winrt/winrt-provider.js.map +1 -0
- package/lib/commonjs/backends/winrt/winrt-subscription-runtime.js +76 -0
- package/lib/commonjs/backends/winrt/winrt-subscription-runtime.js.map +1 -0
- package/lib/commonjs/cli-json.js +199 -0
- package/lib/commonjs/cli-json.js.map +1 -0
- package/lib/commonjs/cli.js +485 -0
- package/lib/commonjs/cli.js.map +1 -0
- package/lib/commonjs/codecs-primitives.js +19 -0
- package/lib/commonjs/codecs-primitives.js.map +1 -0
- package/lib/commonjs/codecs.js +51 -0
- package/lib/commonjs/codecs.js.map +1 -0
- package/lib/commonjs/core/aggregate-stream-quota.js +58 -0
- package/lib/commonjs/core/aggregate-stream-quota.js.map +1 -0
- package/lib/commonjs/core/bounded-stream.js +390 -0
- package/lib/commonjs/core/bounded-stream.js.map +1 -0
- package/lib/commonjs/core/core-adapter-state.js +21 -0
- package/lib/commonjs/core/core-adapter-state.js.map +1 -0
- package/lib/commonjs/core/core-characteristic-operations.js +55 -0
- package/lib/commonjs/core/core-characteristic-operations.js.map +1 -0
- package/lib/commonjs/core/core-connection-controls.js +76 -0
- package/lib/commonjs/core/core-connection-controls.js.map +1 -0
- package/lib/commonjs/core/core-descriptor-operations.js +55 -0
- package/lib/commonjs/core/core-descriptor-operations.js.map +1 -0
- package/lib/commonjs/core/core-discovery.js +38 -0
- package/lib/commonjs/core/core-discovery.js.map +1 -0
- package/lib/commonjs/core/core-gatt-handles.js +198 -0
- package/lib/commonjs/core/core-gatt-handles.js.map +1 -0
- package/lib/commonjs/core/core-lifecycle-observer.js +55 -0
- package/lib/commonjs/core/core-lifecycle-observer.js.map +1 -0
- package/lib/commonjs/core/gatt-path-equality.js +29 -0
- package/lib/commonjs/core/gatt-path-equality.js.map +1 -0
- package/lib/commonjs/core/index.js +67 -0
- package/lib/commonjs/core/index.js.map +1 -0
- package/lib/commonjs/core/operation-coordinator.js +374 -0
- package/lib/commonjs/core/operation-coordinator.js.map +1 -0
- package/lib/commonjs/core/resource-ledger.js +108 -0
- package/lib/commonjs/core/resource-ledger.js.map +1 -0
- package/lib/commonjs/core/subscription-registry.js +610 -0
- package/lib/commonjs/core/subscription-registry.js.map +1 -0
- package/lib/commonjs/core/trace-recorder.js +93 -0
- package/lib/commonjs/core/trace-recorder.js.map +1 -0
- package/lib/commonjs/core/unified-ble-core-helpers.js +214 -0
- package/lib/commonjs/core/unified-ble-core-helpers.js.map +1 -0
- package/lib/commonjs/core/unified-ble-core.js +640 -0
- package/lib/commonjs/core/unified-ble-core.js.map +1 -0
- package/lib/commonjs/diagnostics/trace-format.js +203 -0
- package/lib/commonjs/diagnostics/trace-format.js.map +1 -0
- package/lib/commonjs/electron/main-binding.js +251 -0
- package/lib/commonjs/electron/main-binding.js.map +1 -0
- package/lib/commonjs/electron/main-router.js +591 -0
- package/lib/commonjs/electron/main-router.js.map +1 -0
- package/lib/commonjs/electron/main.js +28 -0
- package/lib/commonjs/electron/main.js.map +1 -0
- package/lib/commonjs/electron/protocol.js +22 -0
- package/lib/commonjs/electron/protocol.js.map +1 -0
- package/lib/commonjs/electron/renderer-stream-registry.js +260 -0
- package/lib/commonjs/electron/renderer-stream-registry.js.map +1 -0
- package/lib/commonjs/electron/renderer.js +192 -0
- package/lib/commonjs/electron/renderer.js.map +1 -0
- package/lib/commonjs/electron-main.js +74 -0
- package/lib/commonjs/electron-main.js.map +1 -0
- package/lib/commonjs/electron-renderer.js +28 -0
- package/lib/commonjs/electron-renderer.js.map +1 -0
- package/lib/commonjs/index.js +112 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/manager/ble-manager.js +369 -0
- package/lib/commonjs/manager/ble-manager.js.map +1 -0
- package/lib/commonjs/manager/index.js +74 -0
- package/lib/commonjs/manager/index.js.map +1 -0
- package/lib/commonjs/manager/manager-ownership-authority.js +269 -0
- package/lib/commonjs/manager/manager-ownership-authority.js.map +1 -0
- package/lib/commonjs/native-protocol/generated/native-protocol-v1-schema.js +69 -0
- package/lib/commonjs/native-protocol/generated/native-protocol-v1-schema.js.map +1 -0
- package/lib/commonjs/native-protocol/rn-android-boundary.js +539 -0
- package/lib/commonjs/native-protocol/rn-android-boundary.js.map +1 -0
- package/lib/commonjs/native-protocol/rn-android-protocol-records.js +229 -0
- package/lib/commonjs/native-protocol/rn-android-protocol-records.js.map +1 -0
- package/lib/commonjs/native-protocol/rn-apple-boundary.js +13 -0
- package/lib/commonjs/native-protocol/rn-apple-boundary.js.map +1 -0
- package/lib/commonjs/native-protocol/rn-jsi-binary-runtime.js +54 -0
- package/lib/commonjs/native-protocol/rn-jsi-binary-runtime.js.map +1 -0
- package/lib/commonjs/native-protocol/v1-codec.js +439 -0
- package/lib/commonjs/native-protocol/v1-codec.js.map +1 -0
- package/lib/commonjs/node-bluez.js +56 -0
- package/lib/commonjs/node-bluez.js.map +1 -0
- package/lib/commonjs/node-corebluetooth.js +65 -0
- package/lib/commonjs/node-corebluetooth.js.map +1 -0
- package/lib/commonjs/node-winrt.js +73 -0
- package/lib/commonjs/node-winrt.js.map +1 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/profiles/battery-service.js +47 -0
- package/lib/commonjs/profiles/battery-service.js.map +1 -0
- package/lib/commonjs/profiles/blood-pressure.js +102 -0
- package/lib/commonjs/profiles/blood-pressure.js.map +1 -0
- package/lib/commonjs/profiles/bytes.js +61 -0
- package/lib/commonjs/profiles/bytes.js.map +1 -0
- package/lib/commonjs/profiles/commands.js +64 -0
- package/lib/commonjs/profiles/commands.js.map +1 -0
- package/lib/commonjs/profiles/date-time.js +36 -0
- package/lib/commonjs/profiles/date-time.js.map +1 -0
- package/lib/commonjs/profiles/device-information.js +131 -0
- package/lib/commonjs/profiles/device-information.js.map +1 -0
- package/lib/commonjs/profiles/errors.js +25 -0
- package/lib/commonjs/profiles/errors.js.map +1 -0
- package/lib/commonjs/profiles/health-thermometer.js +84 -0
- package/lib/commonjs/profiles/health-thermometer.js.map +1 -0
- package/lib/commonjs/profiles/heart-rate.js +108 -0
- package/lib/commonjs/profiles/heart-rate.js.map +1 -0
- package/lib/commonjs/profiles/identifiers.js +42 -0
- package/lib/commonjs/profiles/identifiers.js.map +1 -0
- package/lib/commonjs/profiles/ieee-11073.js +149 -0
- package/lib/commonjs/profiles/ieee-11073.js.map +1 -0
- package/lib/commonjs/profiles/standard-commands.js +62 -0
- package/lib/commonjs/profiles/standard-commands.js.map +1 -0
- package/lib/commonjs/react-native-manager.js +77 -0
- package/lib/commonjs/react-native-manager.js.map +1 -0
- package/lib/commonjs/react-native.js +113 -0
- package/lib/commonjs/react-native.js.map +1 -0
- package/lib/commonjs/tck/contracts.js +39 -0
- package/lib/commonjs/tck/contracts.js.map +1 -0
- package/lib/commonjs/tck/deterministic/deterministic-tck-factory.js +182 -0
- package/lib/commonjs/tck/deterministic/deterministic-tck-factory.js.map +1 -0
- package/lib/commonjs/tck/deterministic/deterministic-tck-identity.js +149 -0
- package/lib/commonjs/tck/deterministic/deterministic-tck-identity.js.map +1 -0
- package/lib/commonjs/tck/deterministic/deterministic-tck-lifecycle-diagnostics.js +172 -0
- package/lib/commonjs/tck/deterministic/deterministic-tck-lifecycle-diagnostics.js.map +1 -0
- package/lib/commonjs/tck/deterministic/deterministic-tck-manager-ownership.js +166 -0
- package/lib/commonjs/tck/deterministic/deterministic-tck-manager-ownership.js.map +1 -0
- package/lib/commonjs/tck/deterministic/deterministic-tck-scenario-helpers.js +173 -0
- package/lib/commonjs/tck/deterministic/deterministic-tck-scenario-helpers.js.map +1 -0
- package/lib/commonjs/tck/deterministic/deterministic-tck-scenarios.js +617 -0
- package/lib/commonjs/tck/deterministic/deterministic-tck-scenarios.js.map +1 -0
- package/lib/commonjs/tck/deterministic/deterministic-tck-subscription-overflow.js +102 -0
- package/lib/commonjs/tck/deterministic/deterministic-tck-subscription-overflow.js.map +1 -0
- package/lib/commonjs/tck/index.js +33 -0
- package/lib/commonjs/tck/index.js.map +1 -0
- package/lib/commonjs/tck/runner.js +432 -0
- package/lib/commonjs/tck/runner.js.map +1 -0
- package/lib/commonjs/tck/scenario-adapter.js +49 -0
- package/lib/commonjs/tck/scenario-adapter.js.map +1 -0
- package/lib/commonjs/tck/scenarios.js +114 -0
- package/lib/commonjs/tck/scenarios.js.map +1 -0
- package/lib/commonjs/testing/deterministic/deterministic-backend-base.js +562 -0
- package/lib/commonjs/testing/deterministic/deterministic-backend-base.js.map +1 -0
- package/lib/commonjs/testing/deterministic/deterministic-operation-admission.js +61 -0
- package/lib/commonjs/testing/deterministic/deterministic-operation-admission.js.map +1 -0
- package/lib/commonjs/testing/deterministic/deterministic-operation-runtime.js +315 -0
- package/lib/commonjs/testing/deterministic/deterministic-operation-runtime.js.map +1 -0
- package/lib/commonjs/testing/deterministic/deterministic-stream.js +466 -0
- package/lib/commonjs/testing/deterministic/deterministic-stream.js.map +1 -0
- package/lib/commonjs/testing/deterministic/deterministic-subscription-lifecycle.js +62 -0
- package/lib/commonjs/testing/deterministic/deterministic-subscription-lifecycle.js.map +1 -0
- package/lib/commonjs/testing/deterministic/deterministic-test-backend-controller.js +6 -0
- package/lib/commonjs/testing/deterministic/deterministic-test-backend-controller.js.map +1 -0
- package/lib/commonjs/testing/deterministic/deterministic-test-backend-gatt.js +33 -0
- package/lib/commonjs/testing/deterministic/deterministic-test-backend-gatt.js.map +1 -0
- package/lib/commonjs/testing/deterministic/deterministic-test-backend-handles.js +278 -0
- package/lib/commonjs/testing/deterministic/deterministic-test-backend-handles.js.map +1 -0
- package/lib/commonjs/testing/deterministic/deterministic-test-backend-lifecycle-helpers.js +207 -0
- package/lib/commonjs/testing/deterministic/deterministic-test-backend-lifecycle-helpers.js.map +1 -0
- package/lib/commonjs/testing/deterministic/deterministic-test-backend.js +576 -0
- package/lib/commonjs/testing/deterministic/deterministic-test-backend.js.map +1 -0
- package/lib/commonjs/testing/deterministic/virtual-clock.js +98 -0
- package/lib/commonjs/testing/deterministic/virtual-clock.js.map +1 -0
- package/lib/commonjs/testing/deterministic/virtual-peripheral.js +298 -0
- package/lib/commonjs/testing/deterministic/virtual-peripheral.js.map +1 -0
- package/lib/commonjs/testing/scenarios/deterministic-manager-scenario-factory.js +132 -0
- package/lib/commonjs/testing/scenarios/deterministic-manager-scenario-factory.js.map +1 -0
- package/lib/commonjs/testing/scenarios/manager-scenario-executor.js +325 -0
- package/lib/commonjs/testing/scenarios/manager-scenario-executor.js.map +1 -0
- package/lib/commonjs/testing/scenarios/manager-scenario-fixture.js +41 -0
- package/lib/commonjs/testing/scenarios/manager-scenario-fixture.js.map +1 -0
- package/lib/commonjs/testing/scenarios/manager-scenarios.js +136 -0
- package/lib/commonjs/testing/scenarios/manager-scenarios.js.map +1 -0
- package/lib/commonjs/testing.js +119 -0
- package/lib/commonjs/testing.js.map +1 -0
- package/lib/commonjs/web/navigator-web-bluetooth-boundary.js +207 -0
- package/lib/commonjs/web/navigator-web-bluetooth-boundary.js.map +1 -0
- package/lib/commonjs/web/web-bluetooth-backend.js +672 -0
- package/lib/commonjs/web/web-bluetooth-backend.js.map +1 -0
- package/lib/commonjs/web/web-bluetooth-boundary.js +6 -0
- package/lib/commonjs/web/web-bluetooth-boundary.js.map +1 -0
- package/lib/commonjs/web/web-bluetooth-errors.js +69 -0
- package/lib/commonjs/web/web-bluetooth-errors.js.map +1 -0
- package/lib/commonjs/web/web-bluetooth-gatt.js +498 -0
- package/lib/commonjs/web/web-bluetooth-gatt.js.map +1 -0
- package/lib/commonjs/web/web-bluetooth-handles.js +144 -0
- package/lib/commonjs/web/web-bluetooth-handles.js.map +1 -0
- package/lib/commonjs/web/web-bluetooth-tck.js +75 -0
- package/lib/commonjs/web/web-bluetooth-tck.js.map +1 -0
- package/lib/commonjs/web/web-feature-registry.js +57 -0
- package/lib/commonjs/web/web-feature-registry.js.map +1 -0
- package/lib/commonjs/web.js +58 -0
- package/lib/commonjs/web.js.map +1 -0
- package/lib/module/backend-contract/advertisement.js +4 -0
- package/lib/module/backend-contract/advertisement.js.map +1 -0
- package/lib/module/backend-contract/backend-sdk.js +4 -0
- package/lib/module/backend-contract/backend-sdk.js.map +1 -0
- package/lib/module/backend-contract/backend.js +131 -0
- package/lib/module/backend-contract/backend.js.map +1 -0
- package/lib/module/backend-contract/capabilities.js +119 -0
- package/lib/module/backend-contract/capabilities.js.map +1 -0
- package/lib/module/backend-contract/connection-controls.js +9 -0
- package/lib/module/backend-contract/connection-controls.js.map +1 -0
- package/lib/module/backend-contract/electron.js +319 -0
- package/lib/module/backend-contract/electron.js.map +1 -0
- package/lib/module/backend-contract/errors.js +24 -0
- package/lib/module/backend-contract/errors.js.map +1 -0
- package/lib/module/backend-contract/gatt.js +17 -0
- package/lib/module/backend-contract/gatt.js.map +1 -0
- package/lib/module/backend-contract/host/electron-main.js +6 -0
- package/lib/module/backend-contract/host/electron-main.js.map +1 -0
- package/lib/module/backend-contract/host/electron-renderer.js +4 -0
- package/lib/module/backend-contract/host/electron-renderer.js.map +1 -0
- package/lib/module/backend-contract/host/node.js +4 -0
- package/lib/module/backend-contract/host/node.js.map +1 -0
- package/lib/module/backend-contract/host/web.js +4 -0
- package/lib/module/backend-contract/host/web.js.map +1 -0
- package/lib/module/backend-contract/identity.js +9 -0
- package/lib/module/backend-contract/identity.js.map +1 -0
- package/lib/module/backend-contract/index.js +12 -0
- package/lib/module/backend-contract/index.js.map +1 -0
- package/lib/module/backend-contract/operations.js +39 -0
- package/lib/module/backend-contract/operations.js.map +1 -0
- package/lib/module/backend-contract/primitives.js +223 -0
- package/lib/module/backend-contract/primitives.js.map +1 -0
- package/lib/module/backend-contract/restoration.js +4 -0
- package/lib/module/backend-contract/restoration.js.map +1 -0
- package/lib/module/backend-contract/serializable.js +167 -0
- package/lib/module/backend-contract/serializable.js.map +1 -0
- package/lib/module/backend-contract/streams.js +4 -0
- package/lib/module/backend-contract/streams.js.map +1 -0
- package/lib/module/backend-sdk-authoring.js +98 -0
- package/lib/module/backend-sdk-authoring.js.map +1 -0
- package/lib/module/backend-sdk.js +14 -0
- package/lib/module/backend-sdk.js.map +1 -0
- package/lib/module/backends/bluez/bluez-backend-handles.js +207 -0
- package/lib/module/backends/bluez/bluez-backend-handles.js.map +1 -0
- package/lib/module/backends/bluez/bluez-backend-provider.js +102 -0
- package/lib/module/backends/bluez/bluez-backend-provider.js.map +1 -0
- package/lib/module/backends/bluez/bluez-backend-runtime.js +610 -0
- package/lib/module/backends/bluez/bluez-backend-runtime.js.map +1 -0
- package/lib/module/backends/bluez/bluez-backend.js +72 -0
- package/lib/module/backends/bluez/bluez-backend.js.map +1 -0
- package/lib/module/backends/bluez/bluez-dbus-contract.js +20 -0
- package/lib/module/backends/bluez/bluez-dbus-contract.js.map +1 -0
- package/lib/module/backends/bluez/bluez-dbus-next-boundary.js +402 -0
- package/lib/module/backends/bluez/bluez-dbus-next-boundary.js.map +1 -0
- package/lib/module/backends/bluez/bluez-gatt-operations.js +91 -0
- package/lib/module/backends/bluez/bluez-gatt-operations.js.map +1 -0
- package/lib/module/backends/bluez/bluez-object-store.js +378 -0
- package/lib/module/backends/bluez/bluez-object-store.js.map +1 -0
- package/lib/module/backends/bluez/bluez-operation-dispatcher.js +158 -0
- package/lib/module/backends/bluez/bluez-operation-dispatcher.js.map +1 -0
- package/lib/module/backends/bluez/bluez-property-waiters.js +143 -0
- package/lib/module/backends/bluez/bluez-property-waiters.js.map +1 -0
- package/lib/module/backends/bluez/bluez-runtime-models.js +225 -0
- package/lib/module/backends/bluez/bluez-runtime-models.js.map +1 -0
- package/lib/module/backends/bluez/bluez-runtime-types.js +16 -0
- package/lib/module/backends/bluez/bluez-runtime-types.js.map +1 -0
- package/lib/module/backends/bluez/bluez-scan-runtime.js +235 -0
- package/lib/module/backends/bluez/bluez-scan-runtime.js.map +1 -0
- package/lib/module/backends/bluez/bluez-subscription-runtime.js +125 -0
- package/lib/module/backends/bluez/bluez-subscription-runtime.js.map +1 -0
- package/lib/module/backends/corebluetooth/corebluetooth-backend.js +691 -0
- package/lib/module/backends/corebluetooth/corebluetooth-backend.js.map +1 -0
- package/lib/module/backends/corebluetooth/corebluetooth-boundary.js +2 -0
- package/lib/module/backends/corebluetooth/corebluetooth-boundary.js.map +1 -0
- package/lib/module/backends/corebluetooth/corebluetooth-connection-controls.js +54 -0
- package/lib/module/backends/corebluetooth/corebluetooth-connection-controls.js.map +1 -0
- package/lib/module/backends/corebluetooth/corebluetooth-gatt-operations.js +210 -0
- package/lib/module/backends/corebluetooth/corebluetooth-gatt-operations.js.map +1 -0
- package/lib/module/backends/corebluetooth/corebluetooth-handles.js +263 -0
- package/lib/module/backends/corebluetooth/corebluetooth-handles.js.map +1 -0
- package/lib/module/backends/corebluetooth/corebluetooth-identity.js +19 -0
- package/lib/module/backends/corebluetooth/corebluetooth-identity.js.map +1 -0
- package/lib/module/backends/corebluetooth/corebluetooth-operation-dispatcher.js +74 -0
- package/lib/module/backends/corebluetooth/corebluetooth-operation-dispatcher.js.map +1 -0
- package/lib/module/backends/corebluetooth/corebluetooth-operation-lifecycle.js +88 -0
- package/lib/module/backends/corebluetooth/corebluetooth-operation-lifecycle.js.map +1 -0
- package/lib/module/backends/corebluetooth/corebluetooth-provider.js +60 -0
- package/lib/module/backends/corebluetooth/corebluetooth-provider.js.map +1 -0
- package/lib/module/backends/corebluetooth/corebluetooth-stream-limits.js +16 -0
- package/lib/module/backends/corebluetooth/corebluetooth-stream-limits.js.map +1 -0
- package/lib/module/backends/reactnative/react-native-android-provider.js +148 -0
- package/lib/module/backends/reactnative/react-native-android-provider.js.map +1 -0
- package/lib/module/backends/reactnative/react-native-apple-provider.js +145 -0
- package/lib/module/backends/reactnative/react-native-apple-provider.js.map +1 -0
- package/lib/module/backends/winrt/winrt-adapter-state.js +43 -0
- package/lib/module/backends/winrt/winrt-adapter-state.js.map +1 -0
- package/lib/module/backends/winrt/winrt-backend-helpers.js +76 -0
- package/lib/module/backends/winrt/winrt-backend-helpers.js.map +1 -0
- package/lib/module/backends/winrt/winrt-backend.js +678 -0
- package/lib/module/backends/winrt/winrt-backend.js.map +1 -0
- package/lib/module/backends/winrt/winrt-boundary.js +2 -0
- package/lib/module/backends/winrt/winrt-boundary.js.map +1 -0
- package/lib/module/backends/winrt/winrt-gatt-operations.js +239 -0
- package/lib/module/backends/winrt/winrt-gatt-operations.js.map +1 -0
- package/lib/module/backends/winrt/winrt-handles.js +282 -0
- package/lib/module/backends/winrt/winrt-handles.js.map +1 -0
- package/lib/module/backends/winrt/winrt-operation-dispatcher.js +154 -0
- package/lib/module/backends/winrt/winrt-operation-dispatcher.js.map +1 -0
- package/lib/module/backends/winrt/winrt-provider.js +75 -0
- package/lib/module/backends/winrt/winrt-provider.js.map +1 -0
- package/lib/module/backends/winrt/winrt-subscription-runtime.js +68 -0
- package/lib/module/backends/winrt/winrt-subscription-runtime.js.map +1 -0
- package/lib/module/cli-json.js +193 -0
- package/lib/module/cli-json.js.map +1 -0
- package/lib/module/cli.js +468 -0
- package/lib/module/cli.js.map +1 -0
- package/lib/module/codecs-primitives.js +14 -0
- package/lib/module/codecs-primitives.js.map +1 -0
- package/lib/module/codecs.js +9 -0
- package/lib/module/codecs.js.map +1 -0
- package/lib/module/core/aggregate-stream-quota.js +53 -0
- package/lib/module/core/aggregate-stream-quota.js.map +1 -0
- package/lib/module/core/bounded-stream.js +385 -0
- package/lib/module/core/bounded-stream.js.map +1 -0
- package/lib/module/core/core-adapter-state.js +17 -0
- package/lib/module/core/core-adapter-state.js.map +1 -0
- package/lib/module/core/core-characteristic-operations.js +50 -0
- package/lib/module/core/core-characteristic-operations.js.map +1 -0
- package/lib/module/core/core-connection-controls.js +70 -0
- package/lib/module/core/core-connection-controls.js.map +1 -0
- package/lib/module/core/core-descriptor-operations.js +50 -0
- package/lib/module/core/core-descriptor-operations.js.map +1 -0
- package/lib/module/core/core-discovery.js +34 -0
- package/lib/module/core/core-discovery.js.map +1 -0
- package/lib/module/core/core-gatt-handles.js +192 -0
- package/lib/module/core/core-gatt-handles.js.map +1 -0
- package/lib/module/core/core-lifecycle-observer.js +50 -0
- package/lib/module/core/core-lifecycle-observer.js.map +1 -0
- package/lib/module/core/gatt-path-equality.js +21 -0
- package/lib/module/core/gatt-path-equality.js.map +1 -0
- package/lib/module/core/index.js +12 -0
- package/lib/module/core/index.js.map +1 -0
- package/lib/module/core/operation-coordinator.js +369 -0
- package/lib/module/core/operation-coordinator.js.map +1 -0
- package/lib/module/core/resource-ledger.js +103 -0
- package/lib/module/core/resource-ledger.js.map +1 -0
- package/lib/module/core/subscription-registry.js +604 -0
- package/lib/module/core/subscription-registry.js.map +1 -0
- package/lib/module/core/trace-recorder.js +88 -0
- package/lib/module/core/trace-recorder.js.map +1 -0
- package/lib/module/core/unified-ble-core-helpers.js +198 -0
- package/lib/module/core/unified-ble-core-helpers.js.map +1 -0
- package/lib/module/core/unified-ble-core.js +629 -0
- package/lib/module/core/unified-ble-core.js.map +1 -0
- package/lib/module/diagnostics/trace-format.js +197 -0
- package/lib/module/diagnostics/trace-format.js.map +1 -0
- package/lib/module/electron/main-binding.js +246 -0
- package/lib/module/electron/main-binding.js.map +1 -0
- package/lib/module/electron/main-router.js +585 -0
- package/lib/module/electron/main-router.js.map +1 -0
- package/lib/module/electron/main.js +7 -0
- package/lib/module/electron/main.js.map +1 -0
- package/lib/module/electron/protocol.js +18 -0
- package/lib/module/electron/protocol.js.map +1 -0
- package/lib/module/electron/renderer-stream-registry.js +255 -0
- package/lib/module/electron/renderer-stream-registry.js.map +1 -0
- package/lib/module/electron/renderer.js +187 -0
- package/lib/module/electron/renderer.js.map +1 -0
- package/lib/module/electron-main.js +35 -0
- package/lib/module/electron-main.js.map +1 -0
- package/lib/module/electron-renderer.js +7 -0
- package/lib/module/electron-renderer.js.map +1 -0
- package/lib/module/index.js +16 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/manager/ble-manager.js +355 -0
- package/lib/module/manager/ble-manager.js.map +1 -0
- package/lib/module/manager/index.js +7 -0
- package/lib/module/manager/index.js.map +1 -0
- package/lib/module/manager/manager-ownership-authority.js +261 -0
- package/lib/module/manager/manager-ownership-authority.js.map +1 -0
- package/lib/module/native-protocol/generated/native-protocol-v1-schema.js +65 -0
- package/lib/module/native-protocol/generated/native-protocol-v1-schema.js.map +1 -0
- package/lib/module/native-protocol/rn-android-boundary.js +534 -0
- package/lib/module/native-protocol/rn-android-boundary.js.map +1 -0
- package/lib/module/native-protocol/rn-android-protocol-records.js +206 -0
- package/lib/module/native-protocol/rn-android-protocol-records.js.map +1 -0
- package/lib/module/native-protocol/rn-apple-boundary.js +11 -0
- package/lib/module/native-protocol/rn-apple-boundary.js.map +1 -0
- package/lib/module/native-protocol/rn-jsi-binary-runtime.js +45 -0
- package/lib/module/native-protocol/rn-jsi-binary-runtime.js.map +1 -0
- package/lib/module/native-protocol/v1-codec.js +434 -0
- package/lib/module/native-protocol/v1-codec.js.map +1 -0
- package/lib/module/node-bluez.js +18 -0
- package/lib/module/node-bluez.js.map +1 -0
- package/lib/module/node-corebluetooth.js +31 -0
- package/lib/module/node-corebluetooth.js.map +1 -0
- package/lib/module/node-winrt.js +39 -0
- package/lib/module/node-winrt.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/module/profiles/battery-service.js +30 -0
- package/lib/module/profiles/battery-service.js.map +1 -0
- package/lib/module/profiles/blood-pressure.js +73 -0
- package/lib/module/profiles/blood-pressure.js.map +1 -0
- package/lib/module/profiles/bytes.js +49 -0
- package/lib/module/profiles/bytes.js.map +1 -0
- package/lib/module/profiles/commands.js +56 -0
- package/lib/module/profiles/commands.js.map +1 -0
- package/lib/module/profiles/date-time.js +32 -0
- package/lib/module/profiles/date-time.js.map +1 -0
- package/lib/module/profiles/device-information.js +69 -0
- package/lib/module/profiles/device-information.js.map +1 -0
- package/lib/module/profiles/errors.js +19 -0
- package/lib/module/profiles/errors.js.map +1 -0
- package/lib/module/profiles/health-thermometer.js +61 -0
- package/lib/module/profiles/health-thermometer.js.map +1 -0
- package/lib/module/profiles/heart-rate.js +76 -0
- package/lib/module/profiles/heart-rate.js.map +1 -0
- package/lib/module/profiles/identifiers.js +37 -0
- package/lib/module/profiles/identifiers.js.map +1 -0
- package/lib/module/profiles/ieee-11073.js +142 -0
- package/lib/module/profiles/ieee-11073.js.map +1 -0
- package/lib/module/profiles/standard-commands.js +47 -0
- package/lib/module/profiles/standard-commands.js.map +1 -0
- package/lib/module/react-native-manager.js +74 -0
- package/lib/module/react-native-manager.js.map +1 -0
- package/lib/module/react-native.js +18 -0
- package/lib/module/react-native.js.map +1 -0
- package/lib/module/tck/contracts.js +34 -0
- package/lib/module/tck/contracts.js.map +1 -0
- package/lib/module/tck/deterministic/deterministic-tck-factory.js +178 -0
- package/lib/module/tck/deterministic/deterministic-tck-factory.js.map +1 -0
- package/lib/module/tck/deterministic/deterministic-tck-identity.js +141 -0
- package/lib/module/tck/deterministic/deterministic-tck-identity.js.map +1 -0
- package/lib/module/tck/deterministic/deterministic-tck-lifecycle-diagnostics.js +168 -0
- package/lib/module/tck/deterministic/deterministic-tck-lifecycle-diagnostics.js.map +1 -0
- package/lib/module/tck/deterministic/deterministic-tck-manager-ownership.js +162 -0
- package/lib/module/tck/deterministic/deterministic-tck-manager-ownership.js.map +1 -0
- package/lib/module/tck/deterministic/deterministic-tck-scenario-helpers.js +152 -0
- package/lib/module/tck/deterministic/deterministic-tck-scenario-helpers.js.map +1 -0
- package/lib/module/tck/deterministic/deterministic-tck-scenarios.js +611 -0
- package/lib/module/tck/deterministic/deterministic-tck-scenarios.js.map +1 -0
- package/lib/module/tck/deterministic/deterministic-tck-subscription-overflow.js +99 -0
- package/lib/module/tck/deterministic/deterministic-tck-subscription-overflow.js.map +1 -0
- package/lib/module/tck/index.js +8 -0
- package/lib/module/tck/index.js.map +1 -0
- package/lib/module/tck/runner.js +429 -0
- package/lib/module/tck/runner.js.map +1 -0
- package/lib/module/tck/scenario-adapter.js +42 -0
- package/lib/module/tck/scenario-adapter.js.map +1 -0
- package/lib/module/tck/scenarios.js +109 -0
- package/lib/module/tck/scenarios.js.map +1 -0
- package/lib/module/testing/deterministic/deterministic-backend-base.js +557 -0
- package/lib/module/testing/deterministic/deterministic-backend-base.js.map +1 -0
- package/lib/module/testing/deterministic/deterministic-operation-admission.js +56 -0
- package/lib/module/testing/deterministic/deterministic-operation-admission.js.map +1 -0
- package/lib/module/testing/deterministic/deterministic-operation-runtime.js +309 -0
- package/lib/module/testing/deterministic/deterministic-operation-runtime.js.map +1 -0
- package/lib/module/testing/deterministic/deterministic-stream.js +460 -0
- package/lib/module/testing/deterministic/deterministic-stream.js.map +1 -0
- package/lib/module/testing/deterministic/deterministic-subscription-lifecycle.js +57 -0
- package/lib/module/testing/deterministic/deterministic-subscription-lifecycle.js.map +1 -0
- package/lib/module/testing/deterministic/deterministic-test-backend-controller.js +4 -0
- package/lib/module/testing/deterministic/deterministic-test-backend-controller.js.map +1 -0
- package/lib/module/testing/deterministic/deterministic-test-backend-gatt.js +29 -0
- package/lib/module/testing/deterministic/deterministic-test-backend-gatt.js.map +1 -0
- package/lib/module/testing/deterministic/deterministic-test-backend-handles.js +261 -0
- package/lib/module/testing/deterministic/deterministic-test-backend-handles.js.map +1 -0
- package/lib/module/testing/deterministic/deterministic-test-backend-lifecycle-helpers.js +191 -0
- package/lib/module/testing/deterministic/deterministic-test-backend-lifecycle-helpers.js.map +1 -0
- package/lib/module/testing/deterministic/deterministic-test-backend.js +570 -0
- package/lib/module/testing/deterministic/deterministic-test-backend.js.map +1 -0
- package/lib/module/testing/deterministic/virtual-clock.js +93 -0
- package/lib/module/testing/deterministic/virtual-clock.js.map +1 -0
- package/lib/module/testing/deterministic/virtual-peripheral.js +291 -0
- package/lib/module/testing/deterministic/virtual-peripheral.js.map +1 -0
- package/lib/module/testing/scenarios/deterministic-manager-scenario-factory.js +128 -0
- package/lib/module/testing/scenarios/deterministic-manager-scenario-factory.js.map +1 -0
- package/lib/module/testing/scenarios/manager-scenario-executor.js +319 -0
- package/lib/module/testing/scenarios/manager-scenario-executor.js.map +1 -0
- package/lib/module/testing/scenarios/manager-scenario-fixture.js +37 -0
- package/lib/module/testing/scenarios/manager-scenario-fixture.js.map +1 -0
- package/lib/module/testing/scenarios/manager-scenarios.js +130 -0
- package/lib/module/testing/scenarios/manager-scenarios.js.map +1 -0
- package/lib/module/testing.js +20 -0
- package/lib/module/testing.js.map +1 -0
- package/lib/module/web/navigator-web-bluetooth-boundary.js +202 -0
- package/lib/module/web/navigator-web-bluetooth-boundary.js.map +1 -0
- package/lib/module/web/web-bluetooth-backend.js +665 -0
- package/lib/module/web/web-bluetooth-backend.js.map +1 -0
- package/lib/module/web/web-bluetooth-boundary.js +4 -0
- package/lib/module/web/web-bluetooth-boundary.js.map +1 -0
- package/lib/module/web/web-bluetooth-errors.js +62 -0
- package/lib/module/web/web-bluetooth-errors.js.map +1 -0
- package/lib/module/web/web-bluetooth-gatt.js +494 -0
- package/lib/module/web/web-bluetooth-gatt.js.map +1 -0
- package/lib/module/web/web-bluetooth-handles.js +133 -0
- package/lib/module/web/web-bluetooth-handles.js.map +1 -0
- package/lib/module/web/web-bluetooth-tck.js +70 -0
- package/lib/module/web/web-bluetooth-tck.js.map +1 -0
- package/lib/module/web/web-feature-registry.js +53 -0
- package/lib/module/web/web-feature-registry.js.map +1 -0
- package/lib/module/web.js +14 -0
- package/lib/module/web.js.map +1 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/src/BleError.d.ts +448 -0
- package/lib/typescript/commonjs/src/BleError.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/BleManager.d.ts +844 -0
- package/lib/typescript/commonjs/src/BleManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/BleModule.d.ts +723 -0
- package/lib/typescript/commonjs/src/BleModule.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/Characteristic.d.ts +154 -0
- package/lib/typescript/commonjs/src/Characteristic.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/ConnectionManager.d.ts +209 -0
- package/lib/typescript/commonjs/src/ConnectionManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/Descriptor.d.ts +79 -0
- package/lib/typescript/commonjs/src/Descriptor.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/Device.d.ts +249 -0
- package/lib/typescript/commonjs/src/Device.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/DeviceOperationQueue.d.ts +81 -0
- package/lib/typescript/commonjs/src/DeviceOperationQueue.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/NativeBlePlx.d.ts +147 -0
- package/lib/typescript/commonjs/src/NativeBlePlx.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/NativeUnifiedBleProtocolControl.d.ts +71 -0
- package/lib/typescript/commonjs/src/NativeUnifiedBleProtocolControl.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/Service.d.ts +134 -0
- package/lib/typescript/commonjs/src/Service.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/TypeDefinition.d.ts +339 -0
- package/lib/typescript/commonjs/src/TypeDefinition.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/Utils.d.ts +17 -0
- package/lib/typescript/commonjs/src/Utils.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backend-contract/advertisement.d.ts +75 -0
- package/lib/typescript/commonjs/src/backend-contract/advertisement.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backend-contract/backend-sdk.d.ts +25 -0
- package/lib/typescript/commonjs/src/backend-contract/backend-sdk.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backend-contract/backend.d.ts +139 -0
- package/lib/typescript/commonjs/src/backend-contract/backend.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backend-contract/capabilities.d.ts +41 -0
- package/lib/typescript/commonjs/src/backend-contract/capabilities.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backend-contract/connection-controls.d.ts +22 -0
- package/lib/typescript/commonjs/src/backend-contract/connection-controls.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backend-contract/electron.d.ts +100 -0
- package/lib/typescript/commonjs/src/backend-contract/electron.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backend-contract/errors.d.ts +30 -0
- package/lib/typescript/commonjs/src/backend-contract/errors.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backend-contract/gatt.d.ts +70 -0
- package/lib/typescript/commonjs/src/backend-contract/gatt.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backend-contract/host/electron-main.d.ts +8 -0
- package/lib/typescript/commonjs/src/backend-contract/host/electron-main.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backend-contract/host/electron-renderer.d.ts +5 -0
- package/lib/typescript/commonjs/src/backend-contract/host/electron-renderer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backend-contract/host/node.d.ts +5 -0
- package/lib/typescript/commonjs/src/backend-contract/host/node.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backend-contract/host/web.d.ts +20 -0
- package/lib/typescript/commonjs/src/backend-contract/host/web.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backend-contract/identity.d.ts +64 -0
- package/lib/typescript/commonjs/src/backend-contract/identity.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backend-contract/index.d.ts +18 -0
- package/lib/typescript/commonjs/src/backend-contract/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backend-contract/operations.d.ts +64 -0
- package/lib/typescript/commonjs/src/backend-contract/operations.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backend-contract/primitives.d.ts +142 -0
- package/lib/typescript/commonjs/src/backend-contract/primitives.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backend-contract/restoration.d.ts +47 -0
- package/lib/typescript/commonjs/src/backend-contract/restoration.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backend-contract/serializable.d.ts +11 -0
- package/lib/typescript/commonjs/src/backend-contract/serializable.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backend-contract/streams.d.ts +33 -0
- package/lib/typescript/commonjs/src/backend-contract/streams.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backend-sdk-authoring.d.ts +52 -0
- package/lib/typescript/commonjs/src/backend-sdk-authoring.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backend-sdk.d.ts +14 -0
- package/lib/typescript/commonjs/src/backend-sdk.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/bluez/bluez-backend-handles.d.ts +74 -0
- package/lib/typescript/commonjs/src/backends/bluez/bluez-backend-handles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/bluez/bluez-backend-provider.d.ts +14 -0
- package/lib/typescript/commonjs/src/backends/bluez/bluez-backend-provider.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/bluez/bluez-backend-runtime.d.ts +100 -0
- package/lib/typescript/commonjs/src/backends/bluez/bluez-backend-runtime.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/bluez/bluez-backend.d.ts +30 -0
- package/lib/typescript/commonjs/src/backends/bluez/bluez-backend.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/bluez/bluez-dbus-contract.d.ts +92 -0
- package/lib/typescript/commonjs/src/backends/bluez/bluez-dbus-contract.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/bluez/bluez-dbus-next-boundary.d.ts +6 -0
- package/lib/typescript/commonjs/src/backends/bluez/bluez-dbus-next-boundary.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/bluez/bluez-gatt-operations.d.ts +12 -0
- package/lib/typescript/commonjs/src/backends/bluez/bluez-gatt-operations.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/bluez/bluez-object-store.d.ts +45 -0
- package/lib/typescript/commonjs/src/backends/bluez/bluez-object-store.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/bluez/bluez-operation-dispatcher.d.ts +13 -0
- package/lib/typescript/commonjs/src/backends/bluez/bluez-operation-dispatcher.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/bluez/bluez-property-waiters.d.ts +11 -0
- package/lib/typescript/commonjs/src/backends/bluez/bluez-property-waiters.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/bluez/bluez-runtime-models.d.ts +22 -0
- package/lib/typescript/commonjs/src/backends/bluez/bluez-runtime-models.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/bluez/bluez-runtime-types.d.ts +100 -0
- package/lib/typescript/commonjs/src/backends/bluez/bluez-runtime-types.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/bluez/bluez-scan-runtime.d.ts +11 -0
- package/lib/typescript/commonjs/src/backends/bluez/bluez-scan-runtime.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/bluez/bluez-subscription-runtime.d.ts +11 -0
- package/lib/typescript/commonjs/src/backends/bluez/bluez-subscription-runtime.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/corebluetooth/corebluetooth-backend.d.ts +121 -0
- package/lib/typescript/commonjs/src/backends/corebluetooth/corebluetooth-backend.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/corebluetooth/corebluetooth-boundary.d.ts +61 -0
- package/lib/typescript/commonjs/src/backends/corebluetooth/corebluetooth-boundary.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/corebluetooth/corebluetooth-connection-controls.d.ts +13 -0
- package/lib/typescript/commonjs/src/backends/corebluetooth/corebluetooth-connection-controls.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/corebluetooth/corebluetooth-gatt-operations.d.ts +27 -0
- package/lib/typescript/commonjs/src/backends/corebluetooth/corebluetooth-gatt-operations.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/corebluetooth/corebluetooth-handles.d.ts +91 -0
- package/lib/typescript/commonjs/src/backends/corebluetooth/corebluetooth-handles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/corebluetooth/corebluetooth-identity.d.ts +13 -0
- package/lib/typescript/commonjs/src/backends/corebluetooth/corebluetooth-identity.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/corebluetooth/corebluetooth-operation-dispatcher.d.ts +15 -0
- package/lib/typescript/commonjs/src/backends/corebluetooth/corebluetooth-operation-dispatcher.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/corebluetooth/corebluetooth-operation-lifecycle.d.ts +10 -0
- package/lib/typescript/commonjs/src/backends/corebluetooth/corebluetooth-operation-lifecycle.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/corebluetooth/corebluetooth-provider.d.ts +15 -0
- package/lib/typescript/commonjs/src/backends/corebluetooth/corebluetooth-provider.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/corebluetooth/corebluetooth-stream-limits.d.ts +11 -0
- package/lib/typescript/commonjs/src/backends/corebluetooth/corebluetooth-stream-limits.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/reactnative/react-native-android-provider.d.ts +23 -0
- package/lib/typescript/commonjs/src/backends/reactnative/react-native-android-provider.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/reactnative/react-native-apple-provider.d.ts +20 -0
- package/lib/typescript/commonjs/src/backends/reactnative/react-native-apple-provider.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/winrt/winrt-adapter-state.d.ts +6 -0
- package/lib/typescript/commonjs/src/backends/winrt/winrt-adapter-state.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/winrt/winrt-backend-helpers.d.ts +24 -0
- package/lib/typescript/commonjs/src/backends/winrt/winrt-backend-helpers.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/winrt/winrt-backend.d.ts +114 -0
- package/lib/typescript/commonjs/src/backends/winrt/winrt-backend.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/winrt/winrt-boundary.d.ts +96 -0
- package/lib/typescript/commonjs/src/backends/winrt/winrt-boundary.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/winrt/winrt-gatt-operations.d.ts +36 -0
- package/lib/typescript/commonjs/src/backends/winrt/winrt-gatt-operations.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/winrt/winrt-handles.d.ts +84 -0
- package/lib/typescript/commonjs/src/backends/winrt/winrt-handles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/winrt/winrt-operation-dispatcher.d.ts +26 -0
- package/lib/typescript/commonjs/src/backends/winrt/winrt-operation-dispatcher.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/winrt/winrt-provider.d.ts +17 -0
- package/lib/typescript/commonjs/src/backends/winrt/winrt-provider.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/backends/winrt/winrt-subscription-runtime.d.ts +14 -0
- package/lib/typescript/commonjs/src/backends/winrt/winrt-subscription-runtime.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/cli-json.d.ts +8 -0
- package/lib/typescript/commonjs/src/cli-json.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/cli.d.ts +31 -0
- package/lib/typescript/commonjs/src/cli.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/codecs-primitives.d.ts +5 -0
- package/lib/typescript/commonjs/src/codecs-primitives.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/codecs.d.ts +7 -0
- package/lib/typescript/commonjs/src/codecs.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/core/aggregate-stream-quota.d.ts +17 -0
- package/lib/typescript/commonjs/src/core/aggregate-stream-quota.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/core/bounded-stream.d.ts +69 -0
- package/lib/typescript/commonjs/src/core/bounded-stream.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/core/core-adapter-state.d.ts +5 -0
- package/lib/typescript/commonjs/src/core/core-adapter-state.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/core/core-characteristic-operations.d.ts +12 -0
- package/lib/typescript/commonjs/src/core/core-characteristic-operations.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/core/core-connection-controls.d.ts +14 -0
- package/lib/typescript/commonjs/src/core/core-connection-controls.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/core/core-descriptor-operations.d.ts +12 -0
- package/lib/typescript/commonjs/src/core/core-descriptor-operations.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/core/core-discovery.d.ts +9 -0
- package/lib/typescript/commonjs/src/core/core-discovery.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/core/core-gatt-handles.d.ts +67 -0
- package/lib/typescript/commonjs/src/core/core-gatt-handles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/core/core-lifecycle-observer.d.ts +14 -0
- package/lib/typescript/commonjs/src/core/core-lifecycle-observer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/core/gatt-path-equality.d.ts +7 -0
- package/lib/typescript/commonjs/src/core/gatt-path-equality.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/core/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/core/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/core/operation-coordinator.d.ts +87 -0
- package/lib/typescript/commonjs/src/core/operation-coordinator.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/core/resource-ledger.d.ts +26 -0
- package/lib/typescript/commonjs/src/core/resource-ledger.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/core/subscription-registry.d.ts +77 -0
- package/lib/typescript/commonjs/src/core/subscription-registry.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/core/trace-recorder.d.ts +39 -0
- package/lib/typescript/commonjs/src/core/trace-recorder.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/core/unified-ble-core-helpers.d.ts +32 -0
- package/lib/typescript/commonjs/src/core/unified-ble-core-helpers.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/core/unified-ble-core.d.ts +101 -0
- package/lib/typescript/commonjs/src/core/unified-ble-core.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/diagnostics/trace-format.d.ts +39 -0
- package/lib/typescript/commonjs/src/diagnostics/trace-format.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/discovery/deviceSort.d.ts +23 -0
- package/lib/typescript/commonjs/src/discovery/deviceSort.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/discovery/filters.d.ts +97 -0
- package/lib/typescript/commonjs/src/discovery/filters.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/discovery/index.d.ts +6 -0
- package/lib/typescript/commonjs/src/discovery/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/discovery/uuidMatch.d.ts +29 -0
- package/lib/typescript/commonjs/src/discovery/uuidMatch.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/electron/main-binding.d.ts +48 -0
- package/lib/typescript/commonjs/src/electron/main-binding.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/electron/main-router.d.ts +69 -0
- package/lib/typescript/commonjs/src/electron/main-router.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/electron/main.d.ts +3 -0
- package/lib/typescript/commonjs/src/electron/main.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/electron/protocol.d.ts +73 -0
- package/lib/typescript/commonjs/src/electron/protocol.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/electron/renderer-stream-registry.d.ts +46 -0
- package/lib/typescript/commonjs/src/electron/renderer-stream-registry.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/electron/renderer.d.ts +29 -0
- package/lib/typescript/commonjs/src/electron/renderer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/electron-main.d.ts +14 -0
- package/lib/typescript/commonjs/src/electron-main.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/electron-renderer.d.ts +3 -0
- package/lib/typescript/commonjs/src/electron-renderer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/encoding.d.ts +13 -0
- package/lib/typescript/commonjs/src/encoding.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/helpers/central.d.ts +66 -0
- package/lib/typescript/commonjs/src/helpers/central.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/helpers/errors.d.ts +12 -0
- package/lib/typescript/commonjs/src/helpers/errors.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/helpers/index.d.ts +9 -0
- package/lib/typescript/commonjs/src/helpers/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/helpers/types.d.ts +122 -0
- package/lib/typescript/commonjs/src/helpers/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hosts/electron.d.ts +78 -0
- package/lib/typescript/commonjs/src/hosts/electron.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hosts/native/bluez/BluezBlePort.d.ts +79 -0
- package/lib/typescript/commonjs/src/hosts/native/bluez/BluezBlePort.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hosts/native/corebluetooth/CoreBluetoothBlePort.d.ts +20 -0
- package/lib/typescript/commonjs/src/hosts/native/corebluetooth/CoreBluetoothBlePort.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hosts/native/winrt/WinRtBlePort.d.ts +18 -0
- package/lib/typescript/commonjs/src/hosts/native/winrt/WinRtBlePort.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hosts/node.d.ts +20 -0
- package/lib/typescript/commonjs/src/hosts/node.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hosts/web.d.ts +258 -0
- package/lib/typescript/commonjs/src/hosts/web.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/index.d.ts +23 -0
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/longWrite.d.ts +25 -0
- package/lib/typescript/commonjs/src/longWrite.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/manager/ble-manager.d.ts +121 -0
- package/lib/typescript/commonjs/src/manager/ble-manager.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/manager/index.d.ts +5 -0
- package/lib/typescript/commonjs/src/manager/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/manager/manager-ownership-authority.d.ts +64 -0
- package/lib/typescript/commonjs/src/manager/manager-ownership-authority.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/native-protocol/generated/native-protocol-v1-schema.d.ts +41 -0
- package/lib/typescript/commonjs/src/native-protocol/generated/native-protocol-v1-schema.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/native-protocol/rn-android-boundary.d.ts +66 -0
- package/lib/typescript/commonjs/src/native-protocol/rn-android-boundary.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/native-protocol/rn-android-protocol-records.d.ts +31 -0
- package/lib/typescript/commonjs/src/native-protocol/rn-android-protocol-records.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/native-protocol/rn-apple-boundary.d.ts +7 -0
- package/lib/typescript/commonjs/src/native-protocol/rn-apple-boundary.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/native-protocol/rn-jsi-binary-runtime.d.ts +33 -0
- package/lib/typescript/commonjs/src/native-protocol/rn-jsi-binary-runtime.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/native-protocol/v1-codec.d.ts +15 -0
- package/lib/typescript/commonjs/src/native-protocol/v1-codec.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/node-bluez.d.ts +13 -0
- package/lib/typescript/commonjs/src/node-bluez.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/node-corebluetooth.d.ts +13 -0
- package/lib/typescript/commonjs/src/node-corebluetooth.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/node-winrt.d.ts +13 -0
- package/lib/typescript/commonjs/src/node-winrt.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/permissions.d.ts +43 -0
- package/lib/typescript/commonjs/src/permissions.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/port/BlePort.d.ts +161 -0
- package/lib/typescript/commonjs/src/port/BlePort.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/port/PortBleManager.d.ts +156 -0
- package/lib/typescript/commonjs/src/port/PortBleManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/profiles/battery-service.d.ts +8 -0
- package/lib/typescript/commonjs/src/profiles/battery-service.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/profiles/battery.d.ts +34 -0
- package/lib/typescript/commonjs/src/profiles/battery.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/profiles/blood-pressure.d.ts +21 -0
- package/lib/typescript/commonjs/src/profiles/blood-pressure.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/profiles/bloodPressure.d.ts +74 -0
- package/lib/typescript/commonjs/src/profiles/bloodPressure.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/profiles/bytes.d.ts +10 -0
- package/lib/typescript/commonjs/src/profiles/bytes.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/profiles/commands.d.ts +30 -0
- package/lib/typescript/commonjs/src/profiles/commands.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/profiles/date-time.d.ts +10 -0
- package/lib/typescript/commonjs/src/profiles/date-time.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/profiles/device-information.d.ts +24 -0
- package/lib/typescript/commonjs/src/profiles/device-information.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/profiles/deviceInformation.d.ts +109 -0
- package/lib/typescript/commonjs/src/profiles/deviceInformation.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/profiles/errors.d.ts +11 -0
- package/lib/typescript/commonjs/src/profiles/errors.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/profiles/health-thermometer.d.ts +17 -0
- package/lib/typescript/commonjs/src/profiles/health-thermometer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/profiles/healthThermometer.d.ts +73 -0
- package/lib/typescript/commonjs/src/profiles/healthThermometer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/profiles/heart-rate.d.ts +20 -0
- package/lib/typescript/commonjs/src/profiles/heart-rate.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/profiles/heartRate.d.ts +129 -0
- package/lib/typescript/commonjs/src/profiles/heartRate.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/profiles/identifiers.d.ts +26 -0
- package/lib/typescript/commonjs/src/profiles/identifiers.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/profiles/ieee-11073.d.ts +15 -0
- package/lib/typescript/commonjs/src/profiles/ieee-11073.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/profiles/ieee11073.d.ts +80 -0
- package/lib/typescript/commonjs/src/profiles/ieee11073.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/profiles/index.d.ts +21 -0
- package/lib/typescript/commonjs/src/profiles/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/profiles/serviceHelpers.d.ts +48 -0
- package/lib/typescript/commonjs/src/profiles/serviceHelpers.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/profiles/standard-commands.d.ts +21 -0
- package/lib/typescript/commonjs/src/profiles/standard-commands.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/profiles/types.d.ts +32 -0
- package/lib/typescript/commonjs/src/profiles/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/react-native-manager.d.ts +19 -0
- package/lib/typescript/commonjs/src/react-native-manager.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/react-native.d.ts +15 -0
- package/lib/typescript/commonjs/src/react-native.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stringUtils.d.ts +8 -0
- package/lib/typescript/commonjs/src/stringUtils.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/supports.d.ts +13 -0
- package/lib/typescript/commonjs/src/supports.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/tck/contracts.d.ts +132 -0
- package/lib/typescript/commonjs/src/tck/contracts.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/tck/deterministic/deterministic-tck-factory.d.ts +9 -0
- package/lib/typescript/commonjs/src/tck/deterministic/deterministic-tck-factory.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/tck/deterministic/deterministic-tck-identity.d.ts +9 -0
- package/lib/typescript/commonjs/src/tck/deterministic/deterministic-tck-identity.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/tck/deterministic/deterministic-tck-lifecycle-diagnostics.d.ts +8 -0
- package/lib/typescript/commonjs/src/tck/deterministic/deterministic-tck-lifecycle-diagnostics.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/tck/deterministic/deterministic-tck-manager-ownership.d.ts +4 -0
- package/lib/typescript/commonjs/src/tck/deterministic/deterministic-tck-manager-ownership.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/tck/deterministic/deterministic-tck-scenario-helpers.d.ts +56 -0
- package/lib/typescript/commonjs/src/tck/deterministic/deterministic-tck-scenario-helpers.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/tck/deterministic/deterministic-tck-scenarios.d.ts +14 -0
- package/lib/typescript/commonjs/src/tck/deterministic/deterministic-tck-scenarios.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/tck/deterministic/deterministic-tck-subscription-overflow.d.ts +5 -0
- package/lib/typescript/commonjs/src/tck/deterministic/deterministic-tck-subscription-overflow.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/tck/index.d.ts +6 -0
- package/lib/typescript/commonjs/src/tck/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/tck/runner.d.ts +10 -0
- package/lib/typescript/commonjs/src/tck/runner.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/tck/scenario-adapter.d.ts +19 -0
- package/lib/typescript/commonjs/src/tck/scenario-adapter.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/tck/scenarios.d.ts +4 -0
- package/lib/typescript/commonjs/src/tck/scenarios.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/testing/deterministic/deterministic-backend-base.d.ts +118 -0
- package/lib/typescript/commonjs/src/testing/deterministic/deterministic-backend-base.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/testing/deterministic/deterministic-operation-admission.d.ts +5 -0
- package/lib/typescript/commonjs/src/testing/deterministic/deterministic-operation-admission.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/testing/deterministic/deterministic-operation-runtime.d.ts +52 -0
- package/lib/typescript/commonjs/src/testing/deterministic/deterministic-operation-runtime.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/testing/deterministic/deterministic-stream.d.ts +65 -0
- package/lib/typescript/commonjs/src/testing/deterministic/deterministic-stream.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/testing/deterministic/deterministic-subscription-lifecycle.d.ts +22 -0
- package/lib/typescript/commonjs/src/testing/deterministic/deterministic-subscription-lifecycle.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/testing/deterministic/deterministic-test-backend-controller.d.ts +25 -0
- package/lib/typescript/commonjs/src/testing/deterministic/deterministic-test-backend-controller.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/testing/deterministic/deterministic-test-backend-gatt.d.ts +15 -0
- package/lib/typescript/commonjs/src/testing/deterministic/deterministic-test-backend-gatt.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/testing/deterministic/deterministic-test-backend-handles.d.ts +109 -0
- package/lib/typescript/commonjs/src/testing/deterministic/deterministic-test-backend-handles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/testing/deterministic/deterministic-test-backend-lifecycle-helpers.d.ts +48 -0
- package/lib/typescript/commonjs/src/testing/deterministic/deterministic-test-backend-lifecycle-helpers.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/testing/deterministic/deterministic-test-backend.d.ts +71 -0
- package/lib/typescript/commonjs/src/testing/deterministic/deterministic-test-backend.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/testing/deterministic/virtual-clock.d.ts +22 -0
- package/lib/typescript/commonjs/src/testing/deterministic/virtual-clock.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/testing/deterministic/virtual-peripheral.d.ts +76 -0
- package/lib/typescript/commonjs/src/testing/deterministic/virtual-peripheral.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/testing/scenarios/deterministic-manager-scenario-factory.d.ts +4 -0
- package/lib/typescript/commonjs/src/testing/scenarios/deterministic-manager-scenario-factory.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/testing/scenarios/manager-scenario-executor.d.ts +33 -0
- package/lib/typescript/commonjs/src/testing/scenarios/manager-scenario-executor.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/testing/scenarios/manager-scenario-fixture.d.ts +19 -0
- package/lib/typescript/commonjs/src/testing/scenarios/manager-scenario-fixture.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/testing/scenarios/manager-scenarios.d.ts +60 -0
- package/lib/typescript/commonjs/src/testing/scenarios/manager-scenarios.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/testing.d.ts +22 -0
- package/lib/typescript/commonjs/src/testing.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/unsupported.d.ts +12 -0
- package/lib/typescript/commonjs/src/unsupported.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/web/navigator-web-bluetooth-boundary.d.ts +95 -0
- package/lib/typescript/commonjs/src/web/navigator-web-bluetooth-boundary.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/web/web-bluetooth-backend.d.ts +99 -0
- package/lib/typescript/commonjs/src/web/web-bluetooth-backend.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/web/web-bluetooth-boundary.d.ts +78 -0
- package/lib/typescript/commonjs/src/web/web-bluetooth-boundary.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/web/web-bluetooth-errors.d.ts +13 -0
- package/lib/typescript/commonjs/src/web/web-bluetooth-errors.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/web/web-bluetooth-gatt.d.ts +62 -0
- package/lib/typescript/commonjs/src/web/web-bluetooth-gatt.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/web/web-bluetooth-handles.d.ts +124 -0
- package/lib/typescript/commonjs/src/web/web-bluetooth-handles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/web/web-bluetooth-tck.d.ts +33 -0
- package/lib/typescript/commonjs/src/web/web-bluetooth-tck.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/web/web-feature-registry.d.ts +3 -0
- package/lib/typescript/commonjs/src/web/web-feature-registry.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/web.d.ts +10 -0
- package/lib/typescript/commonjs/src/web.d.ts.map +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/src/BleError.d.ts +448 -0
- package/lib/typescript/module/src/BleError.d.ts.map +1 -0
- package/lib/typescript/module/src/BleManager.d.ts +844 -0
- package/lib/typescript/module/src/BleManager.d.ts.map +1 -0
- package/lib/typescript/module/src/BleModule.d.ts +723 -0
- package/lib/typescript/module/src/BleModule.d.ts.map +1 -0
- package/lib/typescript/module/src/Characteristic.d.ts +154 -0
- package/lib/typescript/module/src/Characteristic.d.ts.map +1 -0
- package/lib/typescript/module/src/ConnectionManager.d.ts +209 -0
- package/lib/typescript/module/src/ConnectionManager.d.ts.map +1 -0
- package/lib/typescript/module/src/Descriptor.d.ts +79 -0
- package/lib/typescript/module/src/Descriptor.d.ts.map +1 -0
- package/lib/typescript/module/src/Device.d.ts +249 -0
- package/lib/typescript/module/src/Device.d.ts.map +1 -0
- package/lib/typescript/module/src/DeviceOperationQueue.d.ts +81 -0
- package/lib/typescript/module/src/DeviceOperationQueue.d.ts.map +1 -0
- package/lib/typescript/module/src/NativeBlePlx.d.ts +147 -0
- package/lib/typescript/module/src/NativeBlePlx.d.ts.map +1 -0
- package/lib/typescript/module/src/NativeUnifiedBleProtocolControl.d.ts +71 -0
- package/lib/typescript/module/src/NativeUnifiedBleProtocolControl.d.ts.map +1 -0
- package/lib/typescript/module/src/Service.d.ts +134 -0
- package/lib/typescript/module/src/Service.d.ts.map +1 -0
- package/lib/typescript/module/src/TypeDefinition.d.ts +339 -0
- package/lib/typescript/module/src/TypeDefinition.d.ts.map +1 -0
- package/lib/typescript/module/src/Utils.d.ts +17 -0
- package/lib/typescript/module/src/Utils.d.ts.map +1 -0
- package/lib/typescript/module/src/backend-contract/advertisement.d.ts +75 -0
- package/lib/typescript/module/src/backend-contract/advertisement.d.ts.map +1 -0
- package/lib/typescript/module/src/backend-contract/backend-sdk.d.ts +25 -0
- package/lib/typescript/module/src/backend-contract/backend-sdk.d.ts.map +1 -0
- package/lib/typescript/module/src/backend-contract/backend.d.ts +139 -0
- package/lib/typescript/module/src/backend-contract/backend.d.ts.map +1 -0
- package/lib/typescript/module/src/backend-contract/capabilities.d.ts +41 -0
- package/lib/typescript/module/src/backend-contract/capabilities.d.ts.map +1 -0
- package/lib/typescript/module/src/backend-contract/connection-controls.d.ts +22 -0
- package/lib/typescript/module/src/backend-contract/connection-controls.d.ts.map +1 -0
- package/lib/typescript/module/src/backend-contract/electron.d.ts +100 -0
- package/lib/typescript/module/src/backend-contract/electron.d.ts.map +1 -0
- package/lib/typescript/module/src/backend-contract/errors.d.ts +30 -0
- package/lib/typescript/module/src/backend-contract/errors.d.ts.map +1 -0
- package/lib/typescript/module/src/backend-contract/gatt.d.ts +70 -0
- package/lib/typescript/module/src/backend-contract/gatt.d.ts.map +1 -0
- package/lib/typescript/module/src/backend-contract/host/electron-main.d.ts +8 -0
- package/lib/typescript/module/src/backend-contract/host/electron-main.d.ts.map +1 -0
- package/lib/typescript/module/src/backend-contract/host/electron-renderer.d.ts +5 -0
- package/lib/typescript/module/src/backend-contract/host/electron-renderer.d.ts.map +1 -0
- package/lib/typescript/module/src/backend-contract/host/node.d.ts +5 -0
- package/lib/typescript/module/src/backend-contract/host/node.d.ts.map +1 -0
- package/lib/typescript/module/src/backend-contract/host/web.d.ts +20 -0
- package/lib/typescript/module/src/backend-contract/host/web.d.ts.map +1 -0
- package/lib/typescript/module/src/backend-contract/identity.d.ts +64 -0
- package/lib/typescript/module/src/backend-contract/identity.d.ts.map +1 -0
- package/lib/typescript/module/src/backend-contract/index.d.ts +18 -0
- package/lib/typescript/module/src/backend-contract/index.d.ts.map +1 -0
- package/lib/typescript/module/src/backend-contract/operations.d.ts +64 -0
- package/lib/typescript/module/src/backend-contract/operations.d.ts.map +1 -0
- package/lib/typescript/module/src/backend-contract/primitives.d.ts +142 -0
- package/lib/typescript/module/src/backend-contract/primitives.d.ts.map +1 -0
- package/lib/typescript/module/src/backend-contract/restoration.d.ts +47 -0
- package/lib/typescript/module/src/backend-contract/restoration.d.ts.map +1 -0
- package/lib/typescript/module/src/backend-contract/serializable.d.ts +11 -0
- package/lib/typescript/module/src/backend-contract/serializable.d.ts.map +1 -0
- package/lib/typescript/module/src/backend-contract/streams.d.ts +33 -0
- package/lib/typescript/module/src/backend-contract/streams.d.ts.map +1 -0
- package/lib/typescript/module/src/backend-sdk-authoring.d.ts +52 -0
- package/lib/typescript/module/src/backend-sdk-authoring.d.ts.map +1 -0
- package/lib/typescript/module/src/backend-sdk.d.ts +14 -0
- package/lib/typescript/module/src/backend-sdk.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/bluez/bluez-backend-handles.d.ts +74 -0
- package/lib/typescript/module/src/backends/bluez/bluez-backend-handles.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/bluez/bluez-backend-provider.d.ts +14 -0
- package/lib/typescript/module/src/backends/bluez/bluez-backend-provider.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/bluez/bluez-backend-runtime.d.ts +100 -0
- package/lib/typescript/module/src/backends/bluez/bluez-backend-runtime.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/bluez/bluez-backend.d.ts +30 -0
- package/lib/typescript/module/src/backends/bluez/bluez-backend.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/bluez/bluez-dbus-contract.d.ts +92 -0
- package/lib/typescript/module/src/backends/bluez/bluez-dbus-contract.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/bluez/bluez-dbus-next-boundary.d.ts +6 -0
- package/lib/typescript/module/src/backends/bluez/bluez-dbus-next-boundary.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/bluez/bluez-gatt-operations.d.ts +12 -0
- package/lib/typescript/module/src/backends/bluez/bluez-gatt-operations.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/bluez/bluez-object-store.d.ts +45 -0
- package/lib/typescript/module/src/backends/bluez/bluez-object-store.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/bluez/bluez-operation-dispatcher.d.ts +13 -0
- package/lib/typescript/module/src/backends/bluez/bluez-operation-dispatcher.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/bluez/bluez-property-waiters.d.ts +11 -0
- package/lib/typescript/module/src/backends/bluez/bluez-property-waiters.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/bluez/bluez-runtime-models.d.ts +22 -0
- package/lib/typescript/module/src/backends/bluez/bluez-runtime-models.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/bluez/bluez-runtime-types.d.ts +100 -0
- package/lib/typescript/module/src/backends/bluez/bluez-runtime-types.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/bluez/bluez-scan-runtime.d.ts +11 -0
- package/lib/typescript/module/src/backends/bluez/bluez-scan-runtime.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/bluez/bluez-subscription-runtime.d.ts +11 -0
- package/lib/typescript/module/src/backends/bluez/bluez-subscription-runtime.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/corebluetooth/corebluetooth-backend.d.ts +121 -0
- package/lib/typescript/module/src/backends/corebluetooth/corebluetooth-backend.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/corebluetooth/corebluetooth-boundary.d.ts +61 -0
- package/lib/typescript/module/src/backends/corebluetooth/corebluetooth-boundary.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/corebluetooth/corebluetooth-connection-controls.d.ts +13 -0
- package/lib/typescript/module/src/backends/corebluetooth/corebluetooth-connection-controls.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/corebluetooth/corebluetooth-gatt-operations.d.ts +27 -0
- package/lib/typescript/module/src/backends/corebluetooth/corebluetooth-gatt-operations.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/corebluetooth/corebluetooth-handles.d.ts +91 -0
- package/lib/typescript/module/src/backends/corebluetooth/corebluetooth-handles.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/corebluetooth/corebluetooth-identity.d.ts +13 -0
- package/lib/typescript/module/src/backends/corebluetooth/corebluetooth-identity.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/corebluetooth/corebluetooth-operation-dispatcher.d.ts +15 -0
- package/lib/typescript/module/src/backends/corebluetooth/corebluetooth-operation-dispatcher.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/corebluetooth/corebluetooth-operation-lifecycle.d.ts +10 -0
- package/lib/typescript/module/src/backends/corebluetooth/corebluetooth-operation-lifecycle.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/corebluetooth/corebluetooth-provider.d.ts +15 -0
- package/lib/typescript/module/src/backends/corebluetooth/corebluetooth-provider.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/corebluetooth/corebluetooth-stream-limits.d.ts +11 -0
- package/lib/typescript/module/src/backends/corebluetooth/corebluetooth-stream-limits.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/reactnative/react-native-android-provider.d.ts +23 -0
- package/lib/typescript/module/src/backends/reactnative/react-native-android-provider.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/reactnative/react-native-apple-provider.d.ts +20 -0
- package/lib/typescript/module/src/backends/reactnative/react-native-apple-provider.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/winrt/winrt-adapter-state.d.ts +6 -0
- package/lib/typescript/module/src/backends/winrt/winrt-adapter-state.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/winrt/winrt-backend-helpers.d.ts +24 -0
- package/lib/typescript/module/src/backends/winrt/winrt-backend-helpers.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/winrt/winrt-backend.d.ts +114 -0
- package/lib/typescript/module/src/backends/winrt/winrt-backend.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/winrt/winrt-boundary.d.ts +96 -0
- package/lib/typescript/module/src/backends/winrt/winrt-boundary.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/winrt/winrt-gatt-operations.d.ts +36 -0
- package/lib/typescript/module/src/backends/winrt/winrt-gatt-operations.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/winrt/winrt-handles.d.ts +84 -0
- package/lib/typescript/module/src/backends/winrt/winrt-handles.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/winrt/winrt-operation-dispatcher.d.ts +26 -0
- package/lib/typescript/module/src/backends/winrt/winrt-operation-dispatcher.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/winrt/winrt-provider.d.ts +17 -0
- package/lib/typescript/module/src/backends/winrt/winrt-provider.d.ts.map +1 -0
- package/lib/typescript/module/src/backends/winrt/winrt-subscription-runtime.d.ts +14 -0
- package/lib/typescript/module/src/backends/winrt/winrt-subscription-runtime.d.ts.map +1 -0
- package/lib/typescript/module/src/cli-json.d.ts +8 -0
- package/lib/typescript/module/src/cli-json.d.ts.map +1 -0
- package/lib/typescript/module/src/cli.d.ts +31 -0
- package/lib/typescript/module/src/cli.d.ts.map +1 -0
- package/lib/typescript/module/src/codecs-primitives.d.ts +5 -0
- package/lib/typescript/module/src/codecs-primitives.d.ts.map +1 -0
- package/lib/typescript/module/src/codecs.d.ts +7 -0
- package/lib/typescript/module/src/codecs.d.ts.map +1 -0
- package/lib/typescript/module/src/core/aggregate-stream-quota.d.ts +17 -0
- package/lib/typescript/module/src/core/aggregate-stream-quota.d.ts.map +1 -0
- package/lib/typescript/module/src/core/bounded-stream.d.ts +69 -0
- package/lib/typescript/module/src/core/bounded-stream.d.ts.map +1 -0
- package/lib/typescript/module/src/core/core-adapter-state.d.ts +5 -0
- package/lib/typescript/module/src/core/core-adapter-state.d.ts.map +1 -0
- package/lib/typescript/module/src/core/core-characteristic-operations.d.ts +12 -0
- package/lib/typescript/module/src/core/core-characteristic-operations.d.ts.map +1 -0
- package/lib/typescript/module/src/core/core-connection-controls.d.ts +14 -0
- package/lib/typescript/module/src/core/core-connection-controls.d.ts.map +1 -0
- package/lib/typescript/module/src/core/core-descriptor-operations.d.ts +12 -0
- package/lib/typescript/module/src/core/core-descriptor-operations.d.ts.map +1 -0
- package/lib/typescript/module/src/core/core-discovery.d.ts +9 -0
- package/lib/typescript/module/src/core/core-discovery.d.ts.map +1 -0
- package/lib/typescript/module/src/core/core-gatt-handles.d.ts +67 -0
- package/lib/typescript/module/src/core/core-gatt-handles.d.ts.map +1 -0
- package/lib/typescript/module/src/core/core-lifecycle-observer.d.ts +14 -0
- package/lib/typescript/module/src/core/core-lifecycle-observer.d.ts.map +1 -0
- package/lib/typescript/module/src/core/gatt-path-equality.d.ts +7 -0
- package/lib/typescript/module/src/core/gatt-path-equality.d.ts.map +1 -0
- package/lib/typescript/module/src/core/index.d.ts +11 -0
- package/lib/typescript/module/src/core/index.d.ts.map +1 -0
- package/lib/typescript/module/src/core/operation-coordinator.d.ts +87 -0
- package/lib/typescript/module/src/core/operation-coordinator.d.ts.map +1 -0
- package/lib/typescript/module/src/core/resource-ledger.d.ts +26 -0
- package/lib/typescript/module/src/core/resource-ledger.d.ts.map +1 -0
- package/lib/typescript/module/src/core/subscription-registry.d.ts +77 -0
- package/lib/typescript/module/src/core/subscription-registry.d.ts.map +1 -0
- package/lib/typescript/module/src/core/trace-recorder.d.ts +39 -0
- package/lib/typescript/module/src/core/trace-recorder.d.ts.map +1 -0
- package/lib/typescript/module/src/core/unified-ble-core-helpers.d.ts +32 -0
- package/lib/typescript/module/src/core/unified-ble-core-helpers.d.ts.map +1 -0
- package/lib/typescript/module/src/core/unified-ble-core.d.ts +101 -0
- package/lib/typescript/module/src/core/unified-ble-core.d.ts.map +1 -0
- package/lib/typescript/module/src/diagnostics/trace-format.d.ts +39 -0
- package/lib/typescript/module/src/diagnostics/trace-format.d.ts.map +1 -0
- package/lib/typescript/module/src/discovery/deviceSort.d.ts +23 -0
- package/lib/typescript/module/src/discovery/deviceSort.d.ts.map +1 -0
- package/lib/typescript/module/src/discovery/filters.d.ts +97 -0
- package/lib/typescript/module/src/discovery/filters.d.ts.map +1 -0
- package/lib/typescript/module/src/discovery/index.d.ts +6 -0
- package/lib/typescript/module/src/discovery/index.d.ts.map +1 -0
- package/lib/typescript/module/src/discovery/uuidMatch.d.ts +29 -0
- package/lib/typescript/module/src/discovery/uuidMatch.d.ts.map +1 -0
- package/lib/typescript/module/src/electron/main-binding.d.ts +48 -0
- package/lib/typescript/module/src/electron/main-binding.d.ts.map +1 -0
- package/lib/typescript/module/src/electron/main-router.d.ts +69 -0
- package/lib/typescript/module/src/electron/main-router.d.ts.map +1 -0
- package/lib/typescript/module/src/electron/main.d.ts +3 -0
- package/lib/typescript/module/src/electron/main.d.ts.map +1 -0
- package/lib/typescript/module/src/electron/protocol.d.ts +73 -0
- package/lib/typescript/module/src/electron/protocol.d.ts.map +1 -0
- package/lib/typescript/module/src/electron/renderer-stream-registry.d.ts +46 -0
- package/lib/typescript/module/src/electron/renderer-stream-registry.d.ts.map +1 -0
- package/lib/typescript/module/src/electron/renderer.d.ts +29 -0
- package/lib/typescript/module/src/electron/renderer.d.ts.map +1 -0
- package/lib/typescript/module/src/electron-main.d.ts +14 -0
- package/lib/typescript/module/src/electron-main.d.ts.map +1 -0
- package/lib/typescript/module/src/electron-renderer.d.ts +3 -0
- package/lib/typescript/module/src/electron-renderer.d.ts.map +1 -0
- package/lib/typescript/module/src/encoding.d.ts +13 -0
- package/lib/typescript/module/src/encoding.d.ts.map +1 -0
- package/lib/typescript/module/src/helpers/central.d.ts +66 -0
- package/lib/typescript/module/src/helpers/central.d.ts.map +1 -0
- package/lib/typescript/module/src/helpers/errors.d.ts +12 -0
- package/lib/typescript/module/src/helpers/errors.d.ts.map +1 -0
- package/lib/typescript/module/src/helpers/index.d.ts +9 -0
- package/lib/typescript/module/src/helpers/index.d.ts.map +1 -0
- package/lib/typescript/module/src/helpers/types.d.ts +122 -0
- package/lib/typescript/module/src/helpers/types.d.ts.map +1 -0
- package/lib/typescript/module/src/hosts/electron.d.ts +78 -0
- package/lib/typescript/module/src/hosts/electron.d.ts.map +1 -0
- package/lib/typescript/module/src/hosts/native/bluez/BluezBlePort.d.ts +79 -0
- package/lib/typescript/module/src/hosts/native/bluez/BluezBlePort.d.ts.map +1 -0
- package/lib/typescript/module/src/hosts/native/corebluetooth/CoreBluetoothBlePort.d.ts +20 -0
- package/lib/typescript/module/src/hosts/native/corebluetooth/CoreBluetoothBlePort.d.ts.map +1 -0
- package/lib/typescript/module/src/hosts/native/winrt/WinRtBlePort.d.ts +18 -0
- package/lib/typescript/module/src/hosts/native/winrt/WinRtBlePort.d.ts.map +1 -0
- package/lib/typescript/module/src/hosts/node.d.ts +20 -0
- package/lib/typescript/module/src/hosts/node.d.ts.map +1 -0
- package/lib/typescript/module/src/hosts/web.d.ts +258 -0
- package/lib/typescript/module/src/hosts/web.d.ts.map +1 -0
- package/lib/typescript/module/src/index.d.ts +23 -0
- package/lib/typescript/module/src/index.d.ts.map +1 -0
- package/lib/typescript/module/src/longWrite.d.ts +25 -0
- package/lib/typescript/module/src/longWrite.d.ts.map +1 -0
- package/lib/typescript/module/src/manager/ble-manager.d.ts +121 -0
- package/lib/typescript/module/src/manager/ble-manager.d.ts.map +1 -0
- package/lib/typescript/module/src/manager/index.d.ts +5 -0
- package/lib/typescript/module/src/manager/index.d.ts.map +1 -0
- package/lib/typescript/module/src/manager/manager-ownership-authority.d.ts +64 -0
- package/lib/typescript/module/src/manager/manager-ownership-authority.d.ts.map +1 -0
- package/lib/typescript/module/src/native-protocol/generated/native-protocol-v1-schema.d.ts +41 -0
- package/lib/typescript/module/src/native-protocol/generated/native-protocol-v1-schema.d.ts.map +1 -0
- package/lib/typescript/module/src/native-protocol/rn-android-boundary.d.ts +66 -0
- package/lib/typescript/module/src/native-protocol/rn-android-boundary.d.ts.map +1 -0
- package/lib/typescript/module/src/native-protocol/rn-android-protocol-records.d.ts +31 -0
- package/lib/typescript/module/src/native-protocol/rn-android-protocol-records.d.ts.map +1 -0
- package/lib/typescript/module/src/native-protocol/rn-apple-boundary.d.ts +7 -0
- package/lib/typescript/module/src/native-protocol/rn-apple-boundary.d.ts.map +1 -0
- package/lib/typescript/module/src/native-protocol/rn-jsi-binary-runtime.d.ts +33 -0
- package/lib/typescript/module/src/native-protocol/rn-jsi-binary-runtime.d.ts.map +1 -0
- package/lib/typescript/module/src/native-protocol/v1-codec.d.ts +15 -0
- package/lib/typescript/module/src/native-protocol/v1-codec.d.ts.map +1 -0
- package/lib/typescript/module/src/node-bluez.d.ts +13 -0
- package/lib/typescript/module/src/node-bluez.d.ts.map +1 -0
- package/lib/typescript/module/src/node-corebluetooth.d.ts +13 -0
- package/lib/typescript/module/src/node-corebluetooth.d.ts.map +1 -0
- package/lib/typescript/module/src/node-winrt.d.ts +13 -0
- package/lib/typescript/module/src/node-winrt.d.ts.map +1 -0
- package/lib/typescript/module/src/permissions.d.ts +43 -0
- package/lib/typescript/module/src/permissions.d.ts.map +1 -0
- package/lib/typescript/module/src/port/BlePort.d.ts +161 -0
- package/lib/typescript/module/src/port/BlePort.d.ts.map +1 -0
- package/lib/typescript/module/src/port/PortBleManager.d.ts +156 -0
- package/lib/typescript/module/src/port/PortBleManager.d.ts.map +1 -0
- package/lib/typescript/module/src/profiles/battery-service.d.ts +8 -0
- package/lib/typescript/module/src/profiles/battery-service.d.ts.map +1 -0
- package/lib/typescript/module/src/profiles/battery.d.ts +34 -0
- package/lib/typescript/module/src/profiles/battery.d.ts.map +1 -0
- package/lib/typescript/module/src/profiles/blood-pressure.d.ts +21 -0
- package/lib/typescript/module/src/profiles/blood-pressure.d.ts.map +1 -0
- package/lib/typescript/module/src/profiles/bloodPressure.d.ts +74 -0
- package/lib/typescript/module/src/profiles/bloodPressure.d.ts.map +1 -0
- package/lib/typescript/module/src/profiles/bytes.d.ts +10 -0
- package/lib/typescript/module/src/profiles/bytes.d.ts.map +1 -0
- package/lib/typescript/module/src/profiles/commands.d.ts +30 -0
- package/lib/typescript/module/src/profiles/commands.d.ts.map +1 -0
- package/lib/typescript/module/src/profiles/date-time.d.ts +10 -0
- package/lib/typescript/module/src/profiles/date-time.d.ts.map +1 -0
- package/lib/typescript/module/src/profiles/device-information.d.ts +24 -0
- package/lib/typescript/module/src/profiles/device-information.d.ts.map +1 -0
- package/lib/typescript/module/src/profiles/deviceInformation.d.ts +109 -0
- package/lib/typescript/module/src/profiles/deviceInformation.d.ts.map +1 -0
- package/lib/typescript/module/src/profiles/errors.d.ts +11 -0
- package/lib/typescript/module/src/profiles/errors.d.ts.map +1 -0
- package/lib/typescript/module/src/profiles/health-thermometer.d.ts +17 -0
- package/lib/typescript/module/src/profiles/health-thermometer.d.ts.map +1 -0
- package/lib/typescript/module/src/profiles/healthThermometer.d.ts +73 -0
- package/lib/typescript/module/src/profiles/healthThermometer.d.ts.map +1 -0
- package/lib/typescript/module/src/profiles/heart-rate.d.ts +20 -0
- package/lib/typescript/module/src/profiles/heart-rate.d.ts.map +1 -0
- package/lib/typescript/module/src/profiles/heartRate.d.ts +129 -0
- package/lib/typescript/module/src/profiles/heartRate.d.ts.map +1 -0
- package/lib/typescript/module/src/profiles/identifiers.d.ts +26 -0
- package/lib/typescript/module/src/profiles/identifiers.d.ts.map +1 -0
- package/lib/typescript/module/src/profiles/ieee-11073.d.ts +15 -0
- package/lib/typescript/module/src/profiles/ieee-11073.d.ts.map +1 -0
- package/lib/typescript/module/src/profiles/ieee11073.d.ts +80 -0
- package/lib/typescript/module/src/profiles/ieee11073.d.ts.map +1 -0
- package/lib/typescript/module/src/profiles/index.d.ts +21 -0
- package/lib/typescript/module/src/profiles/index.d.ts.map +1 -0
- package/lib/typescript/module/src/profiles/serviceHelpers.d.ts +48 -0
- package/lib/typescript/module/src/profiles/serviceHelpers.d.ts.map +1 -0
- package/lib/typescript/module/src/profiles/standard-commands.d.ts +21 -0
- package/lib/typescript/module/src/profiles/standard-commands.d.ts.map +1 -0
- package/lib/typescript/module/src/profiles/types.d.ts +32 -0
- package/lib/typescript/module/src/profiles/types.d.ts.map +1 -0
- package/lib/typescript/module/src/react-native-manager.d.ts +19 -0
- package/lib/typescript/module/src/react-native-manager.d.ts.map +1 -0
- package/lib/typescript/module/src/react-native.d.ts +15 -0
- package/lib/typescript/module/src/react-native.d.ts.map +1 -0
- package/lib/typescript/module/src/stringUtils.d.ts +8 -0
- package/lib/typescript/module/src/stringUtils.d.ts.map +1 -0
- package/lib/typescript/module/src/supports.d.ts +13 -0
- package/lib/typescript/module/src/supports.d.ts.map +1 -0
- package/lib/typescript/module/src/tck/contracts.d.ts +132 -0
- package/lib/typescript/module/src/tck/contracts.d.ts.map +1 -0
- package/lib/typescript/module/src/tck/deterministic/deterministic-tck-factory.d.ts +9 -0
- package/lib/typescript/module/src/tck/deterministic/deterministic-tck-factory.d.ts.map +1 -0
- package/lib/typescript/module/src/tck/deterministic/deterministic-tck-identity.d.ts +9 -0
- package/lib/typescript/module/src/tck/deterministic/deterministic-tck-identity.d.ts.map +1 -0
- package/lib/typescript/module/src/tck/deterministic/deterministic-tck-lifecycle-diagnostics.d.ts +8 -0
- package/lib/typescript/module/src/tck/deterministic/deterministic-tck-lifecycle-diagnostics.d.ts.map +1 -0
- package/lib/typescript/module/src/tck/deterministic/deterministic-tck-manager-ownership.d.ts +4 -0
- package/lib/typescript/module/src/tck/deterministic/deterministic-tck-manager-ownership.d.ts.map +1 -0
- package/lib/typescript/module/src/tck/deterministic/deterministic-tck-scenario-helpers.d.ts +56 -0
- package/lib/typescript/module/src/tck/deterministic/deterministic-tck-scenario-helpers.d.ts.map +1 -0
- package/lib/typescript/module/src/tck/deterministic/deterministic-tck-scenarios.d.ts +14 -0
- package/lib/typescript/module/src/tck/deterministic/deterministic-tck-scenarios.d.ts.map +1 -0
- package/lib/typescript/module/src/tck/deterministic/deterministic-tck-subscription-overflow.d.ts +5 -0
- package/lib/typescript/module/src/tck/deterministic/deterministic-tck-subscription-overflow.d.ts.map +1 -0
- package/lib/typescript/module/src/tck/index.d.ts +6 -0
- package/lib/typescript/module/src/tck/index.d.ts.map +1 -0
- package/lib/typescript/module/src/tck/runner.d.ts +10 -0
- package/lib/typescript/module/src/tck/runner.d.ts.map +1 -0
- package/lib/typescript/module/src/tck/scenario-adapter.d.ts +19 -0
- package/lib/typescript/module/src/tck/scenario-adapter.d.ts.map +1 -0
- package/lib/typescript/module/src/tck/scenarios.d.ts +4 -0
- package/lib/typescript/module/src/tck/scenarios.d.ts.map +1 -0
- package/lib/typescript/module/src/testing/deterministic/deterministic-backend-base.d.ts +118 -0
- package/lib/typescript/module/src/testing/deterministic/deterministic-backend-base.d.ts.map +1 -0
- package/lib/typescript/module/src/testing/deterministic/deterministic-operation-admission.d.ts +5 -0
- package/lib/typescript/module/src/testing/deterministic/deterministic-operation-admission.d.ts.map +1 -0
- package/lib/typescript/module/src/testing/deterministic/deterministic-operation-runtime.d.ts +52 -0
- package/lib/typescript/module/src/testing/deterministic/deterministic-operation-runtime.d.ts.map +1 -0
- package/lib/typescript/module/src/testing/deterministic/deterministic-stream.d.ts +65 -0
- package/lib/typescript/module/src/testing/deterministic/deterministic-stream.d.ts.map +1 -0
- package/lib/typescript/module/src/testing/deterministic/deterministic-subscription-lifecycle.d.ts +22 -0
- package/lib/typescript/module/src/testing/deterministic/deterministic-subscription-lifecycle.d.ts.map +1 -0
- package/lib/typescript/module/src/testing/deterministic/deterministic-test-backend-controller.d.ts +25 -0
- package/lib/typescript/module/src/testing/deterministic/deterministic-test-backend-controller.d.ts.map +1 -0
- package/lib/typescript/module/src/testing/deterministic/deterministic-test-backend-gatt.d.ts +15 -0
- package/lib/typescript/module/src/testing/deterministic/deterministic-test-backend-gatt.d.ts.map +1 -0
- package/lib/typescript/module/src/testing/deterministic/deterministic-test-backend-handles.d.ts +109 -0
- package/lib/typescript/module/src/testing/deterministic/deterministic-test-backend-handles.d.ts.map +1 -0
- package/lib/typescript/module/src/testing/deterministic/deterministic-test-backend-lifecycle-helpers.d.ts +48 -0
- package/lib/typescript/module/src/testing/deterministic/deterministic-test-backend-lifecycle-helpers.d.ts.map +1 -0
- package/lib/typescript/module/src/testing/deterministic/deterministic-test-backend.d.ts +71 -0
- package/lib/typescript/module/src/testing/deterministic/deterministic-test-backend.d.ts.map +1 -0
- package/lib/typescript/module/src/testing/deterministic/virtual-clock.d.ts +22 -0
- package/lib/typescript/module/src/testing/deterministic/virtual-clock.d.ts.map +1 -0
- package/lib/typescript/module/src/testing/deterministic/virtual-peripheral.d.ts +76 -0
- package/lib/typescript/module/src/testing/deterministic/virtual-peripheral.d.ts.map +1 -0
- package/lib/typescript/module/src/testing/scenarios/deterministic-manager-scenario-factory.d.ts +4 -0
- package/lib/typescript/module/src/testing/scenarios/deterministic-manager-scenario-factory.d.ts.map +1 -0
- package/lib/typescript/module/src/testing/scenarios/manager-scenario-executor.d.ts +33 -0
- package/lib/typescript/module/src/testing/scenarios/manager-scenario-executor.d.ts.map +1 -0
- package/lib/typescript/module/src/testing/scenarios/manager-scenario-fixture.d.ts +19 -0
- package/lib/typescript/module/src/testing/scenarios/manager-scenario-fixture.d.ts.map +1 -0
- package/lib/typescript/module/src/testing/scenarios/manager-scenarios.d.ts +60 -0
- package/lib/typescript/module/src/testing/scenarios/manager-scenarios.d.ts.map +1 -0
- package/lib/typescript/module/src/testing.d.ts +22 -0
- package/lib/typescript/module/src/testing.d.ts.map +1 -0
- package/lib/typescript/module/src/unsupported.d.ts +12 -0
- package/lib/typescript/module/src/unsupported.d.ts.map +1 -0
- package/lib/typescript/module/src/web/navigator-web-bluetooth-boundary.d.ts +95 -0
- package/lib/typescript/module/src/web/navigator-web-bluetooth-boundary.d.ts.map +1 -0
- package/lib/typescript/module/src/web/web-bluetooth-backend.d.ts +99 -0
- package/lib/typescript/module/src/web/web-bluetooth-backend.d.ts.map +1 -0
- package/lib/typescript/module/src/web/web-bluetooth-boundary.d.ts +78 -0
- package/lib/typescript/module/src/web/web-bluetooth-boundary.d.ts.map +1 -0
- package/lib/typescript/module/src/web/web-bluetooth-errors.d.ts +13 -0
- package/lib/typescript/module/src/web/web-bluetooth-errors.d.ts.map +1 -0
- package/lib/typescript/module/src/web/web-bluetooth-gatt.d.ts +62 -0
- package/lib/typescript/module/src/web/web-bluetooth-gatt.d.ts.map +1 -0
- package/lib/typescript/module/src/web/web-bluetooth-handles.d.ts +124 -0
- package/lib/typescript/module/src/web/web-bluetooth-handles.d.ts.map +1 -0
- package/lib/typescript/module/src/web/web-bluetooth-tck.d.ts +33 -0
- package/lib/typescript/module/src/web/web-bluetooth-tck.d.ts.map +1 -0
- package/lib/typescript/module/src/web/web-feature-registry.d.ts +3 -0
- package/lib/typescript/module/src/web/web-feature-registry.d.ts.map +1 -0
- package/lib/typescript/module/src/web.d.ts +10 -0
- package/lib/typescript/module/src/web.d.ts.map +1 -0
- package/native/electron/bluez/index.js +9 -0
- package/native/electron/corebluetooth/binding.gyp +42 -0
- package/native/electron/corebluetooth/index.js +517 -0
- package/native/electron/corebluetooth/src/addon.mm +1768 -0
- package/native/electron/corebluetooth/src/addon_stub.cc +19 -0
- package/native/electron/winrt/binding.gyp +22 -0
- package/native/electron/winrt/index.js +17 -0
- package/native/electron/winrt/src/addon.cpp +865 -0
- package/native/electron/winrt/src/winrt-boundary.inc +491 -0
- package/native/protocol/CMakeLists.txt +85 -0
- package/native/protocol/generated/NativeProtocolV1Schema.hpp +419 -0
- package/native/protocol/include/NativeProtocolControlRuntime.hpp +83 -0
- package/native/protocol/include/NativeProtocolV1Codec.hpp +99 -0
- package/native/protocol/include/NativeProtocolV1Registry.hpp +153 -0
- package/native/protocol/include/OwnedBinaryPayloadStore.hpp +56 -0
- package/native/protocol/include/OwnedJsiBinaryTransport.hpp +45 -0
- package/native/protocol/schema/native-protocol-v1-abi.json +68 -0
- package/native/protocol/schema/native-protocol-v1.json +359 -0
- package/native/protocol/src/NativeProtocolControlRuntime.cpp +567 -0
- package/native/protocol/src/NativeProtocolV1Codec.cpp +760 -0
- package/native/protocol/src/NativeProtocolV1Registry.cpp +331 -0
- package/native/protocol/src/OwnedBinaryPayloadStore.cpp +140 -0
- package/native/protocol/src/OwnedJsiBinaryTransport.cpp +112 -0
- package/package.json +488 -0
- package/plugin/build/debugLog.d.ts +2 -0
- package/plugin/build/debugLog.js +18 -0
- package/plugin/build/withBLE.d.ts +18 -0
- package/plugin/build/withBLE.js +75 -0
- package/plugin/build/withBLEAndroidForegroundService.d.ts +40 -0
- package/plugin/build/withBLEAndroidForegroundService.js +233 -0
- package/plugin/build/withBLEAndroidManifest.d.ts +44 -0
- package/plugin/build/withBLEAndroidManifest.js +89 -0
- package/plugin/build/withBLEBackgroundModes.d.ts +9 -0
- package/plugin/build/withBLEBackgroundModes.js +37 -0
- package/plugin/build/withBLEDebugLogging.d.ts +19 -0
- package/plugin/build/withBLEDebugLogging.js +54 -0
- package/plugin/build/withBLERestorationPodfile.d.ts +27 -0
- package/plugin/build/withBLERestorationPodfile.js +214 -0
- package/plugin/build/withBluetoothPermissions.d.ts +4 -0
- package/plugin/build/withBluetoothPermissions.js +13 -0
- package/unified-ble-manager.podspec +87 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_capabilities","require","_errors","_identity","_primitives","_boundedStream","_corebluetoothOperationDispatcher","_corebluetoothOperationLifecycle","_corebluetoothHandles","_corebluetoothGattOperations","_corebluetoothConnectionControls","_corebluetoothProvider","_corebluetoothIdentity","_corebluetoothStreamLimits","nextBackendInstance","allocateBackendInstance","current","CoreBluetoothBackend","features","createFeatureRegistry","eventStreams","Set","stateStreams","peerIdsByNativeId","Map","nativeIdsByPeerId","connectionsByNativeId","subscriptions","attached","admissionClosed","destroyed","destroyResult","scanGroup","backendGeneration","adapterGeneration","nextPeer","nextScan","nextConnection","nextLease","nextDatabase","nextSubscription","nextIngressOrdinal","constructor","boundary","now","hostKind","identityOptions","coreBluetoothIdentityOptions","backendInstanceId","opaqueId","backendInstancePrefix","attachmentScope","dispatcher","CoreBluetoothOperationDispatcher","operationLifecycle","CoreBluetoothOperationLifecycle","adapterStateSnapshot","adapterSnapshot","gattOperations","CoreBluetoothGattOperations","connectionControls","CoreBluetoothConnectionControls","adapter","currentState","adapterState","watchState","watchAdapterState","scanner","start","options","clientId","startScan","join","leaseId","token","joinScan","connections","connect","peerId","readRssi","connection","request","requestMtu","gatt","discover","read","path","write","readDescriptor","writeDescriptor","subscribe","unsubscribe","subscription","operation","disconnectListener","onDisconnect","nativePeerId","safeMessage","handleDisconnect","scanFailureListener","onScanFailure","handleScanFailure","adapterStateListener","onAdapterState","state","handleAdapterState","identity","attachment","Object","freeze","registeredBackendId","registeredPlatformId","versions","negotiateCoreVersions","coreBluetoothCompatibility","runtime","implementationVersion","diagnostics","attach","assertUsable","contractError","coreCompatibility","events","stream","CoreBoundedStream","backendEventLimits","add","resourceCounters","subscriptionConsumers","retainedByteBuffers","physical","values","consumers","size","consumer","retainedPayloadBytes","activeScanControllers","resourceCount","scanConsumers","chooserSessions","connectionLeases","filter","record","lease","length","physicalLinks","databaseSnapshots","database","physicalCccdEnablements","queuedOperations","dispatchedOperations","activeCount","restorationRecords","orphanedIpcOwners","destroy","destruction","destroyInternal","then","result","String","adapterId","adapterNativeId","attachmentId","displayName","adapterDisplayName","limitations","availability","authorization","power","updatedAt","monotonicTimestamp","safeReason","adapterStateLimits","initial","transitions","identifiers","createAttachmentBoundIdFactory","_clientId","assertAdmission","ordinal","scanSessionId","shareToken","sharing","allowSharing","scanShareToken","delivery","overflowPolicy","abort","deadlineTimer","group","ownerLeaseId","stopScanConsumer","console","error","failures","catch","signal","addEventListener","once","deadline","setTimeout","Math","max","advertisement","handleAdvertisement","serviceUuids","releaseScanConsumerAdmission","platformError","aborted","CoreBluetoothScanLease","owner","get","undefined","set","has","closeWithReason","releasedCleanup","delete","stopScan","cleanupFailure","clear","removeEventListener","clearTimeout","peerIdForNativeId","observation","createObservation","matchesScan","emit","advertisementByteLength","existing","connectionId","connectionGeneration","ownerClientId","awaitBoundaryOperation","connectionState","disconnect","CoreBluetoothConnection","CoreBluetoothConnectionLease","releaseConnectionLease","subscriptionCleanup","removeConnectionSubscriptions","push","cleanupFailureDetail","invalidateRecord","connectionPath","connectionPathFor","broadcastEvent","kind","ingressOrdinal","advanceGeneration","snapshot","removed","invalidate","markReleased","address","key","reason","cleanup","stopPhysicalSubscription","requireConnection","attachmentRecordsEqual","databaseForPath","matchesPath","assertCurrent","unavailable","provenance","value","map","canonicalUuid","observedAt","source","localName","rssi","txPower","connectable","appearance","solicitedServiceUuids","overflowServiceUuids","serviceData","manufacturerData","rawRecord","scanResponseRecord","assertGattSnapshot","serviceOccurrences","service","services","Number","isInteger","occurrence","characteristicOccurrences","characteristic","characteristics","event","cancelAll","exports"],"sourceRoot":"../../../../src","sources":["backends/corebluetooth/corebluetooth-backend.ts"],"mapp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AAGgB,OAAO,CAAC/D,QAAQ,CAAC;IACpC;IACA,IAAIA,QAAQ,CAAClD,MAAM,GAAG,CAAC,EAAE;MACvB,OAAOpC,MAAM,CAACC,MAAM,CAAC;QAAEL,KAAK,EAAE,gBAAgB;QAAE0F,QAAQ,EAAEtF,MAAM,CAACC,MAAM,CAACqF,QAAQ;MAAE,CAAC,CAAC;IACtF;IACA,IAAI;MACF,IAAI,CAACpG,kBAAkB,CAAC,CAAC;MACzB,IAAI,CAACK,mBAAmB,GAAG,CAAC;MAC5B,IAAI,CAACG,oBAAoB,CAAC,CAAC;MAC3B,MAAM,IAAI,CAAC3D,QAAQ,CAAC+G,OAAO,CAAC,CAAC;IAC/B,CAAC,CAAC,OAAOuC,KAAK,EAAE;MACd,OAAO,IAAA0B,oCAAc,EAAC,UAAU,EAAE,gCAAgC,EAAE1B,KAAK,CAAC;IAC5E;IACA,IAAI,CAACnK,SAAS,GAAG,IAAI;IACrB,KAAK,MAAM6F,MAAM,IAAI,IAAI,CAACvG,YAAY,EAAE;MACtCuG,MAAM,CAAC4F,eAAe,CAAC,gBAAgB,CAAC;IAC1C;IACA,IAAI,CAACnM,YAAY,CAACwM,KAAK,CAAC,CAAC;IACzB,KAAK,MAAMjG,MAAM,IAAI,IAAI,CAACrG,YAAY,EAAE;MACtCqG,MAAM,CAAC4F,eAAe,CAAC,gBAAgB,CAAC;IAC1C;IACA,IAAI,CAACjM,YAAY,CAACsM,KAAK,CAAC,CAAC;IACzB,OAAOJ,qCAAe;EACxB;AACF;AAAC8E,OAAA,CAAArR,oBAAA,GAAAA,oBAAA","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["backends/corebluetooth/corebluetooth-boundary.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.CoreBluetoothConnectionControls = void 0;
|
|
7
|
+
var _connectionControls = require("../../backend-contract/connection-controls.js");
|
|
8
|
+
var _errors = require("../../backend-contract/errors.js");
|
|
9
|
+
var _corebluetoothHandles = require("./corebluetooth-handles.js");
|
|
10
|
+
// src/backends/corebluetooth/corebluetooth-connection-controls.ts
|
|
11
|
+
|
|
12
|
+
/** Bridges optional direct-boundary connection controls into the canonical operation dispatcher. */
|
|
13
|
+
class CoreBluetoothConnectionControls {
|
|
14
|
+
constructor(backend) {
|
|
15
|
+
this.backend = backend;
|
|
16
|
+
}
|
|
17
|
+
readRssi(connection, request) {
|
|
18
|
+
const readRssi = this.backend.boundary.readRssi?.bind(this.backend.boundary);
|
|
19
|
+
if (readRssi === undefined) {
|
|
20
|
+
return this.unsupported(request.operation, 'corebluetooth.connection.read-rssi');
|
|
21
|
+
}
|
|
22
|
+
const record = this.backend.requireConnection(connection, 'corebluetooth.connection.read-rssi');
|
|
23
|
+
return this.backend.dispatcher.dispatch(request.operation, 'corebluetooth.connection.read-rssi', async () => {
|
|
24
|
+
const rssi = await readRssi(record.nativePeerId);
|
|
25
|
+
if (!Number.isSafeInteger(rssi)) {
|
|
26
|
+
throw (0, _errors.contractError)('protocol.malformed', 'connection', 'corebluetooth.connection.read-rssi.result');
|
|
27
|
+
}
|
|
28
|
+
return Object.freeze({
|
|
29
|
+
rssi,
|
|
30
|
+
terminal: (0, _corebluetoothHandles.successfulTerminal)(request.operation)
|
|
31
|
+
});
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
requestMtu(connection, request) {
|
|
35
|
+
const requestMtu = this.backend.boundary.requestMtu?.bind(this.backend.boundary);
|
|
36
|
+
if (requestMtu === undefined) {
|
|
37
|
+
return this.unsupported(request.operation, 'corebluetooth.connection.request-mtu');
|
|
38
|
+
}
|
|
39
|
+
const record = this.backend.requireConnection(connection, 'corebluetooth.connection.request-mtu');
|
|
40
|
+
return this.backend.dispatcher.dispatch(request.operation, 'corebluetooth.connection.request-mtu', async () => {
|
|
41
|
+
const negotiatedMtu = await requestMtu(record.nativePeerId, request.requestedMtu);
|
|
42
|
+
if (!Number.isSafeInteger(negotiatedMtu) || negotiatedMtu < _connectionControls.MINIMUM_ATT_MTU || negotiatedMtu > _connectionControls.MAXIMUM_REQUESTED_ATT_MTU) {
|
|
43
|
+
throw (0, _errors.contractError)('protocol.malformed', 'connection', 'corebluetooth.connection.request-mtu.result');
|
|
44
|
+
}
|
|
45
|
+
return Object.freeze({
|
|
46
|
+
requestedMtu: request.requestedMtu,
|
|
47
|
+
negotiatedMtu,
|
|
48
|
+
terminal: (0, _corebluetoothHandles.successfulTerminal)(request.operation)
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
unsupported(operation, operationName) {
|
|
53
|
+
return this.backend.dispatcher.dispatch(operation, operationName, async () => {
|
|
54
|
+
throw (0, _errors.contractError)('capability.unsupported', 'connection', operationName);
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
exports.CoreBluetoothConnectionControls = CoreBluetoothConnectionControls;
|
|
59
|
+
//# sourceMappingURL=corebluetooth-connection-controls.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_connectionControls","require","_errors","_corebluetoothHandles","CoreBluetoothConnectionControls","constructor","backend","readRssi","connection","request","boundary","bind","undefined","unsupported","operation","record","requireConnection","dispatcher","dispatch","rssi","nativePeerId","Number","isSafeInteger","contractError","Object","freeze","terminal","successfulTerminal","requestMtu","negotiatedMtu","requestedMtu","MINIMUM_ATT_MTU","MAXIMUM_REQUESTED_ATT_MTU","operationName","exports"],"sourceRoot":"../../../../src","sources":["backends/corebluetooth/corebluetooth-connection-controls.ts"],"mappings":";;;;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAQA,IAAAC,OAAA,GAAAD,OAAA;AAEA,IAAAE,qBAAA,GAAAF,OAAA;AAbA;;AAgBA;AAC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AAO,CAACK,SAAS,EAAE,sCAAsC,CAAC;IACpF;IACA,MAAMC,MAAM,GAAG,IAAI,CAACT,OAAO,CAACU,iBAAiB,CAACR,UAAU,EAAE,sCAAsC,CAAC;IACjG,OAAO,IAAI,CAACF,OAAO,CAACW,UAAU,CAACC,QAAQ,CAACT,OAAO,CAACK,SAAS,EAAE,sCAAsC,EAAE,YAAY;MAC7G,MAAMe,aAAa,GAAG,MAAMD,UAAU,CAACb,MAAM,CAACK,YAAY,EAAEX,OAAO,CAACqB,YAAY,CAAC;MACjF,IACE,CAACT,MAAM,CAACC,aAAa,CAACO,aAAa,CAAC,IACpCA,aAAa,GAAGE,mCAAe,IAC/BF,aAAa,GAAGG,6CAAyB,EACzC;QACA,MAAM,IAAAT,qBAAa,EAAC,oBAAoB,EAAE,YAAY,EAAE,6CAA6C,CAAC;MACxG;MACA,OAAOC,MAAM,CAACC,MAAM,CAAC;QACnBK,YAAY,EAAErB,OAAO,CAACqB,YAAY;QAClCD,aAAa;QACbH,QAAQ,EAAE,IAAAC,wCAAkB,EAAClB,OAAO,CAACK,SAAS;MAChD,CAAC,CAAC;IACJ,CAAC,CAAC;EACJ;EAEQD,WAAWA,CACjBC,SAA0D,EAC1DmB,aAAqB,EACqB;IAC1C,OAAO,IAAI,CAAC3B,OAAO,CAACW,UAAU,CAACC,QAAQ,CAACJ,SAAS,EAAEmB,aAAa,EAAE,YAAY;MAC5E,MAAM,IAAAV,qBAAa,EAAC,wBAAwB,EAAE,YAAY,EAAEU,aAAa,CAAC;IAC5E,CAAC,CAAC;EACJ;AACF;AAACC,OAAA,CAAA9B,+BAAA,GAAAA,+BAAA","ignoreList":[]}
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.CoreBluetoothGattOperations = void 0;
|
|
7
|
+
var _errors = require("../../backend-contract/errors.js");
|
|
8
|
+
var _primitives = require("../../backend-contract/primitives.js");
|
|
9
|
+
var _boundedStream = require("../../core/bounded-stream.js");
|
|
10
|
+
var _corebluetoothHandles = require("./corebluetooth-handles.js");
|
|
11
|
+
// src/backends/corebluetooth/corebluetooth-gatt-operations.ts
|
|
12
|
+
|
|
13
|
+
const maximumValueBytes = (0, _primitives.byteLimit)(512 * 1024);
|
|
14
|
+
class CoreBluetoothGattOperations {
|
|
15
|
+
constructor(backend) {
|
|
16
|
+
this.backend = backend;
|
|
17
|
+
}
|
|
18
|
+
async discover(connection, options) {
|
|
19
|
+
this.backend.assertUsable('corebluetooth.gatt.discover');
|
|
20
|
+
this.backend.operationLifecycle.assertAdmission(options, 'corebluetooth.gatt.discover');
|
|
21
|
+
const record = this.backend.requireConnection(connection, 'corebluetooth.gatt.discover');
|
|
22
|
+
let snapshot;
|
|
23
|
+
try {
|
|
24
|
+
snapshot = await this.backend.operationLifecycle.awaitBoundaryOperation(options, 'corebluetooth.gatt.discover', () => this.backend.boundary.discover(record.nativePeerId));
|
|
25
|
+
} catch (error) {
|
|
26
|
+
throw this.backend.operationLifecycle.platformError('gatt.read-failed', 'gatt', 'corebluetooth.gatt.discover', error);
|
|
27
|
+
}
|
|
28
|
+
this.backend.assertGattSnapshot(snapshot);
|
|
29
|
+
if (record.state !== 'connected') {
|
|
30
|
+
throw (0, _errors.contractError)('operation.disconnected', 'connection', 'corebluetooth.gatt.discover.connection');
|
|
31
|
+
}
|
|
32
|
+
record.database?.invalidate();
|
|
33
|
+
const identifiers = this.backend.identifiers();
|
|
34
|
+
const path = Object.freeze({
|
|
35
|
+
attachment: this.backend.attachment(),
|
|
36
|
+
attachmentId: this.backend.attachment().attachmentId,
|
|
37
|
+
peerId: record.peerId,
|
|
38
|
+
connectionId: record.connectionId,
|
|
39
|
+
ownerLeaseId: record.ownerLeaseId,
|
|
40
|
+
connectionGeneration: record.connectionGeneration,
|
|
41
|
+
databaseId: identifiers.databaseId(`corebluetooth-database-${this.backend.nextDatabase}`),
|
|
42
|
+
databaseGeneration: (0, _primitives.opaqueId)(`corebluetooth-database-generation-${this.backend.nextDatabase}`, 'database-generation', 'corebluetooth')
|
|
43
|
+
});
|
|
44
|
+
this.backend.nextDatabase += 1;
|
|
45
|
+
const database = new _corebluetoothHandles.CoreBluetoothGattDatabase(this.backend, record, path, snapshot);
|
|
46
|
+
record.database = database;
|
|
47
|
+
return database;
|
|
48
|
+
}
|
|
49
|
+
read(path, request) {
|
|
50
|
+
const database = this.backend.databaseForPath(path, 'corebluetooth.gatt.read');
|
|
51
|
+
const address = database.addressFor(path, 'corebluetooth.gatt.read');
|
|
52
|
+
return this.backend.dispatcher.dispatch(request.operation, 'corebluetooth.gatt.read', async () => ({
|
|
53
|
+
value: (0, _primitives.ownBytes)(await this.backend.boundary.read(address), maximumValueBytes),
|
|
54
|
+
terminal: (0, _corebluetoothHandles.successfulTerminal)(request.operation)
|
|
55
|
+
}));
|
|
56
|
+
}
|
|
57
|
+
write(path, request) {
|
|
58
|
+
const database = this.backend.databaseForPath(path, 'corebluetooth.gatt.write');
|
|
59
|
+
const address = database.addressFor(path, 'corebluetooth.gatt.write');
|
|
60
|
+
const copied = new Uint8Array(request.bytes);
|
|
61
|
+
return this.backend.dispatcher.dispatch(request.operation, 'corebluetooth.gatt.write', async () => {
|
|
62
|
+
await this.backend.boundary.write(address, copied, request.mode === 'with-response');
|
|
63
|
+
return Object.freeze({
|
|
64
|
+
terminal: (0, _corebluetoothHandles.successfulTerminal)(request.operation),
|
|
65
|
+
commitState: 'confirmed'
|
|
66
|
+
});
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
readDescriptor(_path, request) {
|
|
70
|
+
return this.unsupportedDispatch(request.operation, 'corebluetooth.gatt.read-descriptor');
|
|
71
|
+
}
|
|
72
|
+
writeDescriptor(_path, request) {
|
|
73
|
+
return this.unsupportedDispatch(request.operation, 'corebluetooth.gatt.write-descriptor');
|
|
74
|
+
}
|
|
75
|
+
subscribe(path, request) {
|
|
76
|
+
const database = this.backend.databaseForPath(path, 'corebluetooth.gatt.subscribe');
|
|
77
|
+
const address = database.addressFor(path, 'corebluetooth.gatt.subscribe');
|
|
78
|
+
return this.backend.dispatcher.dispatch(request.operation, 'corebluetooth.gatt.subscribe', async () => {
|
|
79
|
+
const key = (0, _corebluetoothHandles.addressKey)(address);
|
|
80
|
+
let physical = this.backend.subscriptions.get(key);
|
|
81
|
+
if (physical?.state === 'removing') {
|
|
82
|
+
if (physical.removal === null) {
|
|
83
|
+
throw (0, _errors.contractError)('lifecycle.invariant-violation', 'gatt', 'corebluetooth.gatt.subscribe.removal');
|
|
84
|
+
}
|
|
85
|
+
const cleanup = await physical.removal;
|
|
86
|
+
if (cleanup.state === 'release-failed') {
|
|
87
|
+
throw new Error('CoreBluetooth notification cleanup must be retried before a new subscription');
|
|
88
|
+
}
|
|
89
|
+
physical = this.backend.subscriptions.get(key);
|
|
90
|
+
}
|
|
91
|
+
const identifiers = this.backend.identifiers();
|
|
92
|
+
const subscriptionId = identifiers.subscriptionId(`corebluetooth-subscription-${this.backend.nextSubscription}`);
|
|
93
|
+
this.backend.nextSubscription += 1;
|
|
94
|
+
if (physical === undefined) {
|
|
95
|
+
physical = {
|
|
96
|
+
key,
|
|
97
|
+
address,
|
|
98
|
+
consumers: new Set(),
|
|
99
|
+
state: 'enabling',
|
|
100
|
+
removal: null
|
|
101
|
+
};
|
|
102
|
+
this.backend.subscriptions.set(key, physical);
|
|
103
|
+
const enabling = physical;
|
|
104
|
+
const subscription = new _corebluetoothHandles.CoreBluetoothBackendSubscription(this.backend, enabling, path, subscriptionId, (0, _corebluetoothHandles.successfulTerminal)(request.operation), new _boundedStream.CoreBoundedStream(request.options.delivery, request.options.delivery.overflowPolicy));
|
|
105
|
+
enabling.consumers.add(subscription);
|
|
106
|
+
try {
|
|
107
|
+
await this.backend.boundary.startNotify(address, bytes => this.emitNotification(enabling, bytes));
|
|
108
|
+
} catch (error) {
|
|
109
|
+
enabling.consumers.delete(subscription);
|
|
110
|
+
subscription.stream.closeWithReason('source-failed');
|
|
111
|
+
if (this.backend.subscriptions.get(key) === enabling) {
|
|
112
|
+
this.backend.subscriptions.delete(key);
|
|
113
|
+
}
|
|
114
|
+
throw error;
|
|
115
|
+
}
|
|
116
|
+
if (this.backend.subscriptions.get(key) !== enabling) {
|
|
117
|
+
try {
|
|
118
|
+
await this.backend.boundary.stopNotify(address);
|
|
119
|
+
} catch (error) {
|
|
120
|
+
console.error('[CoreBluetoothGattOperations.subscribe] Native notification rollback failed:', error);
|
|
121
|
+
}
|
|
122
|
+
throw (0, _errors.contractError)('operation.cancelled-by-destroy', 'gatt', 'corebluetooth.gatt.subscribe.destroyed');
|
|
123
|
+
}
|
|
124
|
+
enabling.state = 'ready';
|
|
125
|
+
return subscription;
|
|
126
|
+
}
|
|
127
|
+
const subscription = new _corebluetoothHandles.CoreBluetoothBackendSubscription(this.backend, physical, path, subscriptionId, (0, _corebluetoothHandles.successfulTerminal)(request.operation), new _boundedStream.CoreBoundedStream(request.options.delivery, request.options.delivery.overflowPolicy));
|
|
128
|
+
physical.consumers.add(subscription);
|
|
129
|
+
return subscription;
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
unsubscribe(subscription, operation) {
|
|
133
|
+
if (!(subscription instanceof _corebluetoothHandles.CoreBluetoothBackendSubscription)) {
|
|
134
|
+
throw (0, _errors.contractError)('ownership.denied', 'gatt', 'corebluetooth.gatt.unsubscribe.subscription');
|
|
135
|
+
}
|
|
136
|
+
return this.backend.dispatcher.dispatch(operation, 'corebluetooth.gatt.unsubscribe', async () => {
|
|
137
|
+
const cleanup = await this.removeSubscription(subscription);
|
|
138
|
+
if (cleanup.state === 'release-failed') {
|
|
139
|
+
throw new Error('CoreBluetooth notification cleanup requires retry');
|
|
140
|
+
}
|
|
141
|
+
return (0, _corebluetoothHandles.successfulTerminal)(operation);
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
async removeSubscription(subscription) {
|
|
145
|
+
const physical = subscription.physical;
|
|
146
|
+
if (subscription.removed) {
|
|
147
|
+
return _corebluetoothHandles.releasedCleanup;
|
|
148
|
+
}
|
|
149
|
+
subscription.stream.closeWithReason('owner-released');
|
|
150
|
+
physical.consumers.delete(subscription);
|
|
151
|
+
subscription.removed = true;
|
|
152
|
+
if (physical.consumers.size > 0) {
|
|
153
|
+
return _corebluetoothHandles.releasedCleanup;
|
|
154
|
+
}
|
|
155
|
+
return this.stopPhysicalSubscription(physical);
|
|
156
|
+
}
|
|
157
|
+
stopPhysicalSubscription(physical) {
|
|
158
|
+
if (physical.removal !== null) {
|
|
159
|
+
return physical.removal;
|
|
160
|
+
}
|
|
161
|
+
physical.state = 'removing';
|
|
162
|
+
const removal = this.backend.boundary.stopNotify(physical.address).then(() => {
|
|
163
|
+
if (this.backend.subscriptions.get(physical.key) === physical) {
|
|
164
|
+
this.backend.subscriptions.delete(physical.key);
|
|
165
|
+
}
|
|
166
|
+
return _corebluetoothHandles.releasedCleanup;
|
|
167
|
+
}, error => {
|
|
168
|
+
physical.state = 'ready';
|
|
169
|
+
physical.removal = null;
|
|
170
|
+
return (0, _corebluetoothHandles.cleanupFailure)('subscription', 'corebluetooth.gatt.stop-notify', error);
|
|
171
|
+
});
|
|
172
|
+
physical.removal = removal;
|
|
173
|
+
return removal;
|
|
174
|
+
}
|
|
175
|
+
unsupportedDispatch(operation, name) {
|
|
176
|
+
return this.backend.dispatcher.dispatch(operation, name, async () => {
|
|
177
|
+
throw (0, _errors.contractError)('capability.unsupported', 'gatt', name);
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
async subscribeFromDatabase(path, options) {
|
|
181
|
+
const correlation = this.backend.identifiers().operationCorrelation(`corebluetooth-database-subscribe-${this.backend.nextSubscription}`);
|
|
182
|
+
const dispatch = this.subscribe(path, {
|
|
183
|
+
operation: {
|
|
184
|
+
...options,
|
|
185
|
+
correlation
|
|
186
|
+
},
|
|
187
|
+
options
|
|
188
|
+
});
|
|
189
|
+
const subscription = await dispatch.completion;
|
|
190
|
+
if (!(subscription instanceof _corebluetoothHandles.CoreBluetoothBackendSubscription)) {
|
|
191
|
+
throw (0, _errors.contractError)('protocol.violation', 'gatt', 'corebluetooth.gatt.database-subscribe.subscription');
|
|
192
|
+
}
|
|
193
|
+
return subscription;
|
|
194
|
+
}
|
|
195
|
+
async readFromDatabase(address) {
|
|
196
|
+
return (0, _primitives.ownBytes)(await this.backend.boundary.read(address), maximumValueBytes);
|
|
197
|
+
}
|
|
198
|
+
async writeFromDatabase(address, value, withResponse) {
|
|
199
|
+
await this.backend.boundary.write(address, new Uint8Array(value), withResponse);
|
|
200
|
+
}
|
|
201
|
+
emitNotification(physical, source) {
|
|
202
|
+
if (physical.state === 'removing') {
|
|
203
|
+
return;
|
|
204
|
+
}
|
|
205
|
+
const copied = (0, _primitives.ownBytes)(source, maximumValueBytes);
|
|
206
|
+
for (const consumer of physical.consumers) {
|
|
207
|
+
consumer.stream.emit(Object.freeze({
|
|
208
|
+
value: (0, _primitives.ownBytes)(copied, maximumValueBytes),
|
|
209
|
+
indication: false
|
|
210
|
+
}), copied.byteLength);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
exports.CoreBluetoothGattOperations = CoreBluetoothGattOperations;
|
|
215
|
+
//# sourceMappingURL=corebluetooth-gatt-operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_errors","require","_primitives","_boundedStream","_corebluetoothHandles","maximumValueBytes","byteLimit","CoreBluetoothGattOperations","constructor","backend","discover","connection","options","assertUsable","operationLifecycle","assertAdmission","record","requireConnection","snapshot","awaitBoundaryOperation","boundary","nativePeerId","error","platformError","assertGattSnapshot","state","contractError","database","invalidate","identifiers","path","Object","freeze","attachment","attachmentId","peerId","connectionId","ownerLeaseId","connectionGeneration","databaseId","nextDatabase","databaseGeneration","opaqueId","CoreBluetoothGattDatabase","read","request","databaseForPath","address","addressFor","dispatcher","dispatch","operation","value","ownBytes","terminal","successfulTerminal","write","copied","Uint8Array","bytes","mode","commitState","readDescriptor","_path","unsupportedDispatch","writeDescriptor","subscribe","key","addressKey","physical","subscriptions","get","removal","cleanup","Error","subscriptionId","nextSubscription","undefined","consumers","Set","set","enabling","subscription","CoreBluetoothBackendSubscription","CoreBoundedStream","delivery","overflowPolicy","add","startNotify","emitNotification","delete","stream","closeWithReason","stopNotify","console","unsubscribe","removeSubscription","removed","releasedCleanup","size","stopPhysicalSubscription","then","cleanupFailure","name","subscribeFromDatabase","correlation","operationCorrelation","completion","readFromDatabase","writeFromDatabase","withResponse","source","consumer","emit","indication","byteLength","exports"],"sourceRoot":"../../../../src","sources":["backends/corebluetooth/corebluetooth-gatt-operations.ts"],"mappings":";;;;;;AAGA,IAAAA,OAAA,GAAAC,OAAA;AAaA,IAAAC,WAAA,GAAAD,OAAA;AAEA,IAAAE,cAAA,GAAAF,OAAA;AACA,IAAAG,qBAAA,GAAAH,OAAA;AAnBA;;AA6BA,MAAMI,iBAAiB,GAAG,IAAAC,qBAAS,EAAC,GAAG,GAAG,IAAI,CAAC;AAExC,MAAMC,2BAA2B,CAAC;EACvCC,WAAWA,CAAkBC,OAA6B,EAAE;IAAA,KAA/BA,OAA6B,GAA7BA,OAA6B;EAAG;EAE7D,MAAMC,QAAQA,CACZC,UAA6C,EAC7CC,OAA+B,EACgB;IAC/C,IAAI,CAACH,OAAO,CAACI,YAAY,CAAC,6BAA6B,CAAC;IACxD,IAAI,CAACJ,OAAO,CAACK,kBAAkB,CAACC,eAAe,CAACH,OAAO,EAAE,6BAA6B,CAAC;IACvF,MAAMI,MAAM,GAAG,IAAI,CAACP,OAAO,CAACQ,iBAAiB,CAACN,UAAU,EAAE,6BAA6B,CAAC;IACxF,IAAIO,QAAmC;IACvC,IAAI;MACFA,QAAQ,GAAG,MAAM,IAAI,CAACT,OAAO,CAACK,kBAAkB,CAACK,sBAAsB,CACrEP,OAAO,EACP,6BAA6B,EAC7B,MAAM,IAAI,CAACH,OAAO,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