Introduction to Device Pairing SDK (Without UI)
1. Overview
This document describes basic information such as the pairing types and size supported by the Device Pairing SDK (without UI), and how to integrate it.
2. Prerequisites
- Complete Preparation
- Complete Environment Build
3. Features
3.1 Main capabilities
The Device Pairing SDK (without UI) mainly provides the ability to configure Aqara devices onto a router so they can connect to the cloud for activation.
3.2 SDK size
| Dependency | Description | Size |
|---|---|---|
| Device Pairing SDK (without UI) | Used for device pairing | 6MB |
| Other third-party open-source components | Components required for SDK runtime, such as OKHttp and crypto libraries | 23MB |
| Total | - | 29MB |
Note: 29MB is the maximum incremental size when integrating the SDK, that is, when the third-party app dependencies and the SDK third-party dependencies have no overlap. In most cases, the actual increase is smaller.
3.3 Supported onboarding types
| Onboarding type | Supported | Description |
|---|---|---|
| Magic Pair pairing | Not supported | / |
| Wi-Fi AP pairing | Supported | See Wi-Fi Pairing |
| Ethernet wired pairing | Supported | See Ethernet Wired Pairing |
| Bluetooth pairing | Supported | See Bluetooth Pairing |
| Zigbee child device pairing | Not supported | Implement via APIs in the third-party app; see Zigbee Child Device Pairing |
| Matter pairing | Not supported | / |
| Camera pairing | Not supported | / |
| Door lock pairing | Not supported | / |
3.4 Supported device list
See Device Pairing SDK Supported Device List
4. Integration
4.1 Open the Android Studio project
4.2 Edit build.gradle in the app module
Get the latest version: The Latest Version of the SDK
dependencies {
implementation 'com.lumi.external:core:2.2.62'
// Device pairing logic layer
implementation 'com.lumi.module.smart_connect:connect:4.0.37'
}