Overview
When you develop IoT products in Java, use the Java SDK provided by IoT Platform to simplify development and quickly connect devices.
SDK series
The Java SDK is available in two series: Paho-SDK and Link SDK.
-
The Paho-MQTT Java connection example is based on the open source Paho-Java library and provides basic connection and messaging features. Integrate advanced features as needed based on the Alink protocol.
-
The Link SDK covers basic and most advanced IoT Platform features, including Thing Specification Language models, gateways, and device shadows. This topic focuses on the Java Link SDK series.
Features
|
Type |
Feature module |
Description |
References |
|
Device connection |
MQTT connection |
Connects a device to IoT Platform over MQTT for device-cloud communication. Important
Use MQTT if you need IoT Platform to push messages to your device. |
|
|
Device management |
Thing Specification Language model |
Manage devices through Thing Specification Language models, eliminating custom data format handling and reducing development costs. |
|
|
Device tags |
Define custom device IDs for flexible management. |
||
|
Device shadow |
Caches device status so online devices receive cloud instructions immediately and offline devices pull them upon reconnection. |
||
|
Gateways and sub-devices |
Connects non-IP devices to IoT Platform indirectly through a gateway. |
||
|
Message communication |
Data compression |
Specify topics whose messages are compressed during device-cloud transmission. The SDK handles compression and decompression transparently — both the device and server work with uncompressed data. |
|
|
Monitoring and O&M |
Remote Configuration |
Remotely update device configurations such as system and network parameters without restarting the device or interrupting its operation. |