Before You Start
Currently, CoAP supports only command delivery and data reporting of directly connected devices.
- When the IoT platform functions as the message subscriber, it has subscribed to related topics by default. The IoT platform can receive messages sent by devices to the corresponding topics.
- When a device functions as a message subscriber, the device needs to subscribe to related topics first so that the device can receive messages sent by the IoT platform to the corresponding topics. The device determines the topics to be subscribed to based on the specific business requirements.
Topic |
Supported Protocol |
Publisher |
Subscriber |
Function |
---|---|---|---|---|
/v1/devices/{gatewayId}/topo/add |
MQTT |
Edge device |
IoT platform |
The edge device adds a subdevice. |
/v1/devices/{gatewayId}/topo/addResponse |
IoT platform |
Edge device |
The IoT platform returns a response for adding a subdevice. |
|
/v1/devices/{gatewayId}/topo/update |
Edge device |
IoT platform |
The edge device updates the subdevice status. |
|
/v1/devices/{gatewayId}/topo/updateResponse |
IoT platform |
Edge device |
The IoT platform returns a response for updating the subdevice status. |
|
/v1/devices/{gatewayId}/topo/delete |
IoT platform |
Edge device |
The IoT platform deletes a subdevice. |
|
/v1/devices/{gatewayId}/topo/query |
Edge device |
IoT platform |
The edge device queries gateway information. |
|
/v1/devices/{gatewayId}/topo/queryResponse |
IoT platform |
Edge device |
The IoT platform returns a response for querying gateway information. |
|
/v1/devices/{gatewayId}/command |
IoT platform |
Edge device |
The IoT platform delivers a command to a device or an edge device. |
|
/v1/devices/{gatewayId}/commandResponse |
Edge device |
IoT platform |
The edge device returns a command response to the IoT platform. |
|
/v1/devices/{gatewayId}/datas |
Edge device |
IoT platform |
The edge device reports data. |
In the preceding table, {gatewayId} indicates the device ID. Specifications of previous sites are inherited by delete, while specifications are not provided for deleteResponse now.
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