Commands
On the device list, click a device to open the Device Details page.
- On the Commands page, you can deliver commands to an individual device. Specifically, click Send Command, select a command and set command parameters in the dialog box displayed, and click Confirm.
NOTE:
- IoT Device Management can deliver commands only to NB-IoT devices. To deliver commands to MQTT devices, call the IoT platform APIs.
- The commands can be delivered only after being defined in the product model.
- The parameters with the asterisk (*) are mandatory. The parameters displayed vary by command.
- The Commands tab page displays historical commands delivered by the IoT platform or NA to the device. On this page, you can view information such as the creation time of the command delivery task, the time at which the IoT platform sent the command, the time at which the command was delivered, and the command status. This information helps you learn the command execution status. The task status transition is listed in Table 1. If there are many historical commands, you can filter them by Command ID, Status, and Period.
Status |
Description |
---|---|
Pending |
|
Expired |
|
Canceled |
If you cancel a pending task, the task status is Canceled. |
Sent |
|
Timed out |
If the IoT platform does not receive a response within 180 seconds after issuing a command to an NB-IoT device, the task status is Timed out. This status does not exist for an MQTT device. |
Delivered |
If the IoT platform receives a response from a device, the task status is Delivered. |
Successful |
If the IoT platform receives a result indicating that the command is successfully executed, the task status is Successful. |
Failed |
|
If the NA calls the batch task creation API of the IoT platform to deliver control instructions to devices in batches, you can view the task execution status and result on the Command Delivery page.
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