Overview
After a device is connected to IoTDA, the platform can send data to the device in the following ways.
Type |
Description |
Application |
Device Shadow |
Synchronous or Asynchronous |
Cached by the Platform |
Supported Protocol (Device) |
Product Model |
---|---|---|---|---|---|---|---|
The platform directly delivers messages to devices and does not rely on product models. It is a one-way notification to devices. If a device is offline, the platform can cache messages (up to 24 hours) and send the data to the device after it goes online. |
This API is used by an application to deliver a message in custom format to a device when the application cannot deliver data in the format defined in the product model. For example, sending data to devices for which no product model is defined. |
Not supported |
Asynchronous |
Supported |
MQTT |
Not required |
|
This mode is used to set or query device properties. After receiving the properties, the device needs to return the property execution result to the platform in a timely manner. If the device does not return a response, the platform considers that the property delivery times out. |
It is used by the platform to proactively obtain or modify the device property value. For example, an app obtains the geographical location of a device at intervals. |
Supported |
Synchronous |
Not supported |
MQTT and LwM2M over CoAP |
Required |
|
The platform delivers a device control command to a device and the device needs to respond. The response can carry parameters indicating operation success or failure.
|
It is used for the command that needs to be confirmed immediately. For example, turning on the fan and controlling the street lamp switch. |
Not supported |
Synchronous |
Not supported |
MQTT |
Required |
|
Asynchronous |
Supported |
LwM2M/CoAP |
It is not suitable to deliver data in JSON format for devices with low configuration and limited resources or with limits on bandwidth usage. In this case, use codecs to convert the JSON format data into binary data on applications.
APIs for Applications
APIs for MQTT Devices
APIs for Devices Using LwM2M over CoAP
- Platform Delivering a Command
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