Device Pairing SDK FAQ
1. Overview
This article mainly introduces how to troubleshoot and solve problems that may occur during the process of integrating the Device Pairing SDK or when the Device Pairing SDK is running.
2. Preconditions
None.
3. FAQs And Solutions
Question 1: During the integration process, it is found that there is a third-party open source library dependency conflict, which makes the project unable to be compiled. How to solve it?
A:
- Please try to upgrade or downgrade your version first to make it consistent with the dependencies of the Device Pairing SDK;
- If operation "1" cannot be completed, you can use the
resolutionStrategy
syntax inbuild.gradle
to forcibly depend on the version of your project, and then check whether it affects the SDK; - If you cannot complete operations "1" and "2", you can contact the business or project manager of Lumi, and after submitting the work order, our technical staff will assist in solving it;
Question 2: The network configuration of the device keeps failing, how to solve it?
A:
- Check the parameter information of initializing the SDK -
baseUrl
andcoapServer
parameters, the two need to be used together. For example:baseUrl
configures the domain name in mainland China,coapServer
configures the domain name in the United States, which will cause the device to request the server in the United States, but the Device Pairing SDK queries the server in mainland China. The configuration information of the two is not on the same server, which will eventually lead to network access failure. - Check whether the Wi-Fi name and Wi-Fi password transmitted to the device pairing are correct, and ensure that it can connect to the Internet.
- If "1" and "2" have not solved your problem, you can contact the business or project manager of Lumi, and after submitting the work order, our technical staff will assist in solving it.