@react-native-ohos/react-native-ble-plx 3.5.1-rc.1
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/README.OpenSource +11 -0
- package/README.md +9 -0
- package/app.plugin.js +1 -0
- package/harmony/rn_bleplx/BuildProfile.ets +9 -0
- package/harmony/rn_bleplx/build-profile.json5 +8 -0
- package/harmony/rn_bleplx/hvigorfile.ts +6 -0
- package/harmony/rn_bleplx/index.ets +5 -0
- package/harmony/rn_bleplx/obfuscation-rules.txt +18 -0
- package/harmony/rn_bleplx/oh-package.json5 +13 -0
- package/harmony/rn_bleplx/src/main/cpp/CMakeLists.txt +9 -0
- package/harmony/rn_bleplx/src/main/cpp/generated/BlePlx.cpp +64 -0
- package/harmony/rn_bleplx/src/main/cpp/generated/BlePlx.h +21 -0
- package/harmony/rn_bleplx/src/main/cpp/generated/BlePlxRNOHGeneratedPackage.h +76 -0
- package/harmony/rn_bleplx/src/main/ets/BleDevice.ts +79 -0
- package/harmony/rn_bleplx/src/main/ets/BleModule.ts +1208 -0
- package/harmony/rn_bleplx/src/main/ets/BlePlxInterface.ts +7 -0
- package/harmony/rn_bleplx/src/main/ets/BlePlxModule.ts +226 -0
- package/harmony/rn_bleplx/src/main/ets/BlePlxPackage.ts +26 -0
- package/harmony/rn_bleplx/src/main/ets/Characteristic.ts +159 -0
- package/harmony/rn_bleplx/src/main/ets/CommonConstants.ts +10 -0
- package/harmony/rn_bleplx/src/main/ets/Descriptor.ts +123 -0
- package/harmony/rn_bleplx/src/main/ets/Service.ts +65 -0
- package/harmony/rn_bleplx/src/main/ets/common/BleError.ts +70 -0
- package/harmony/rn_bleplx/src/main/ets/common/BleErrorToJsObjectConverter.ts +43 -0
- package/harmony/rn_bleplx/src/main/ets/common/BleEvent.ts +13 -0
- package/harmony/rn_bleplx/src/main/ets/common/BleUtils.ts +66 -0
- package/harmony/rn_bleplx/src/main/ets/common/IdGenerator.ts +29 -0
- package/harmony/rn_bleplx/src/main/ets/common/IdGeneratorKey.ts +50 -0
- package/harmony/rn_bleplx/src/main/ets/common/InstanceIdGenerator.ts +17 -0
- package/harmony/rn_bleplx/src/main/ets/common/Logger.ts +64 -0
- package/harmony/rn_bleplx/src/main/ets/common/PermissionHandler.ts +78 -0
- package/harmony/rn_bleplx/src/main/ets/common/ServiceFactory.ts +17 -0
- package/harmony/rn_bleplx/src/main/ets/generated/components/ts.ts +8 -0
- package/harmony/rn_bleplx/src/main/ets/generated/index.ets +8 -0
- package/harmony/rn_bleplx/src/main/ets/generated/ts.ts +9 -0
- package/harmony/rn_bleplx/src/main/ets/generated/turboModules/BlePlx.ts +105 -0
- package/harmony/rn_bleplx/src/main/ets/generated/turboModules/ts.ts +8 -0
- package/harmony/rn_bleplx/src/main/module.json5 +7 -0
- package/harmony/rn_bleplx/ts.ts +6 -0
- package/harmony/rn_bleplx.har +0 -0
- package/package.json +181 -0
- package/src/BleError.js +555 -0
- package/src/BleManager.js +1324 -0
- package/src/BleModule.js +857 -0
- package/src/Characteristic.js +180 -0
- package/src/Descriptor.js +83 -0
- package/src/Device.js +378 -0
- package/src/NativeBlePlx.ts +101 -0
- package/src/Service.js +204 -0
- package/src/TypeDefinition.js +365 -0
- package/src/Utils.js +29 -0
- package/src/index.d.ts +2126 -0
- package/src/index.js +20 -0
package/src/index.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export { BleError, BleErrorCode, BleAndroidErrorCode, BleIOSErrorCode, BleATTErrorCode } from './BleError'
|
|
2
|
+
export { BleManager } from './BleManager'
|
|
3
|
+
export { Device } from './Device'
|
|
4
|
+
export { Service } from './Service'
|
|
5
|
+
export { Characteristic } from './Characteristic'
|
|
6
|
+
export { Descriptor } from './Descriptor'
|
|
7
|
+
export { fullUUID } from './Utils'
|
|
8
|
+
export { State, LogLevel, ConnectionPriority, ScanCallbackType, ScanMode, MatchMode, PhyType } from './TypeDefinition'
|
|
9
|
+
|
|
10
|
+
export type {
|
|
11
|
+
Subscription,
|
|
12
|
+
DeviceId,
|
|
13
|
+
UUID,
|
|
14
|
+
TransactionId,
|
|
15
|
+
Base64,
|
|
16
|
+
ScanOptions,
|
|
17
|
+
ConnectionOptions,
|
|
18
|
+
BleManagerOptions,
|
|
19
|
+
BleRestoredState
|
|
20
|
+
} from './TypeDefinition'
|