Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page

Show all

Commands

Updated on 2022-02-24 GMT+08:00

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.
Table 1 Task status transition

Status

Description

Pending

  • For an NB-IoT device that uses the pending delivery mode, the IoT platform caches a command if the device does not report data. The task status is Pending.
  • This status does not exist for an NB-IoT device that uses the immediate delivery mode.
  • This status does not exist for an MQTT device.

Expired

  • For an NB-IoT device that uses the pending delivery mode, if the IoT platform does not deliver a command to the device within the specified expiration time, the task status is Expired. The expiration time is subject to the value of expireTime carried by the NA. If expireTime is not carried, the default value (48 hours) is used.
  • This status does not exist for an NB-IoT device that uses the immediate delivery mode.
  • This status does not exist for an MQTT device.

Canceled

If you cancel a pending task, the task status is Canceled.

Sent

  • For an NB-IoT device that uses the pending delivery mode, the IoT platform sends the cached command when receiving data reported by the device. In this case, the task status changes from Pending to Sent.
  • For an NB-IoT device that uses the immediate delivery mode, if the device is online when an IoT platform issues a command, the task status is Sent.
  • If an MQTT device is online when the IoT platform issues a command, the task status is 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 IoT platform receives a result indicating that the command fails to be executed, the task status is Failed.
  • For an NB-IoT device that uses the immediate delivery mode, if the device is offline when an IoT platform issues a command, the task status is Failed.
  • If an MQTT device is offline when the IoT platform issues a command, the task status is 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.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback