SDK Usage
Introduction
The IoT Device Java SDK provides abundant demo code for devices to communicate with the platform and implement device, gateway, and over-the-air (OTA) services. The SDK greatly simplifies device development and enables quick access to the platform.
Change History
|
Version |
Change |
Description |
|---|---|---|
|
1.2.2 |
Function optimization |
Modified the log framework and used Simple Logging Facade for Java (SLF4J) to implement log framework selection. |
|
1.2.1 |
Function addition |
Supported OTA upgrade in gateway mode and device rules. |
|
1.2.0 |
Function addition |
Added the functions of generic protocols, Chinese cryptographic algorithms, and Object Storage Service (OBS) upgrade packages. |
|
Function enhancement |
1. Optimized the method for passing the platform root CA certificate in the BootstrapClient constructor. The original constructor has been marked as deprecated. 2. Updated the ca.jks file in the Samples to a certificate file that includes all authoritative root CA certificates for device-side certificates across all regional platform instances. 3. Fixed some spelling mistakes. 4. Upgraded paho. 5. Fixed the issue where the system did not retry after a backoff reconnection. |
|
|
1.1.2 |
Function enhancement |
Modified the provisioning function to be compatible with scenarios where different certificates are used in multiple regions. |
|
1.0.1 |
Function addition |
Added the implicit subscription interface and data compression reporting interface. |
|
1.0.0 |
Function enhancement |
1. Modified the logic for compatibility with old V3 interfaces. 2. Added the function of refreshing the child device status on the gateway. 3. Modified the QoS of the default subscription topic, modified the conflict between a new link and an old link during reconnection, and modified the reconnection time. |
|
0.8.0 |
Function enhancement |
Added the access domain name (iot-mqtts.cn-north-4.myhuaweicloud.com) and root certificates. If the device uses the old domain name (iot-acc.cn-north-4.myhuaweicloud.com) for access, use the SDK of v0.6.0 or an earlier version. |
|
0.6.0 |
Function enhancement |
Adjusted the OTA service use and improved the MD file. |
|
0.5.0 |
Function addition |
Added the capability of connecting to the Huawei Cloud IoT platform to facilitate service scenarios such as access, device management, and command delivery. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot