Introduction to Device Pairing SDK (without UI)
1. Overview
This article mainly introduces the basic information such as the device pairing type and size supported by the Device Pairing SDK (without UI), and how to integrate the Device Pairing SDK (without UI).
2. Preconditions
- Confirm completion Preparation
- Confirm the completion of Environment Build
3. Features
3.1 Main function
Device Pairing SDK (Without UI) SDK mainly provides the ability to configure Aqara devices on routers, so that they can be connected to the cloud for activation.
3.2 SDK Size
Dependent library | Description | Size |
---|---|---|
Device Pairing SDK (without UI) | For Device Pairing | 6MB |
Other third-party open source components | Components necessary for the SDK to run, such as OKHttp, encryption library, etc. | 23MB |
Total | - | 29MB |
Note: 29MB is the maximum increment of the integrated SDK, that is, when the dependencies of the third-party app and the third-party dependencies of the SDK have no intersection. Normally, it will be less than this value.
3.3 Support network type
Network type | Whether to support | Description |
---|---|---|
Wi-Fi AP | Support | For details, see Wi-Fi |
Ethernet wired | Support | See Ethernet Wired |
Bluetooth | Support | For details, check Bluetooth |
Zigbee Sub-Device | Not support | The third-party app is implemented using the interface, see Zigbee Sub-Device of Hub |
Camera | Not support | / |
3.4 List of Supported Devices
Please check Device Pairing SDK Supported Device List
4. Integrated
4.1 Open the Android Studio project
4.2 Edit build.gradle
in the app
directory
dependencies {
implementation 'com.lumi.external:core:2.1.9'
//Device Pairing Logic Layer
implementation 'com.lumi.module.smart_connect:connect:3.0.32'
}