هذه الصفحة غير متوفرة حاليًا بلغتك المحلية. نحن نعمل جاهدين على إضافة المزيد من اللغات. شاكرين تفهمك ودعمك المستمر لنا.

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
Help Center/ IoT Device Access/ User Guide/ Device Management/ OTA Upgrade/ Software/Firmware Package Upload

Software/Firmware Package Upload

Updated on 2024-11-06 GMT+08:00

Overview

Software includes system software and application software. The system software provides the basic device functions, such as the compilation tool and system file management. The application software provides functions such as data collection, analysis, and processing, depending on the features the device provides. Software upgrade, also called software over the air (SOTA), allows you to upgrade the software of LwM2M or MQTT devices in OTA mode.

  • For an LwM2M product model, the software upgrade complies with PCP. You must comply with PCP during device adaptation development of software upgrades.
  • For an MQTT product model, the software upgrade protocol is not verified.

Firmware is like a device driver for the hardware. It is responsible for the underlying work of a system, for example, the basic input/output system (BIOS) on a computer mainboard. Firmware upgrade, also called firmware over the air (FOTA), allows you to upgrade the firmware of LwM2M or MQTT devices in OTA mode.

Procedure

You need to add an upgrade package on the IoTDA console to upgrade device software and firmware. You can either use an OBS file as an upgrade package or upload a local upgrade package.

NOTE:
  • The size of the OBS file cannot exceed 1 GB. You will be billed for storing and downloading the OBS file.

    OBS billing items include the storage space, request, data transfer, data restoration, and data processing. Billing modes include pay-per-use and yearly/monthly. For details, see Billing.

    For example, if a user in CN North-Beijing4 needs to upgrade 10,000 devices per month and the size of the upgrade package is 100 MB, you will be charged CNY512.15 in total (including CNY0.139 for storage, CNY512 for data transfer, and 0.01 for requests) on a pay-per-use basis.

    If the yearly/monthly billing mode is used, you will be charged CNY506.01 in total (including CNY1.00 for storage, CNY505.00 for 1 TB Internet outbound traffic package for a month, and CNY0.01 for requests).

  • You are not billed for uploading local upgrade packages. The maximum package size is 20 MB.
  • The upgrade package format can only be .bin, .dav, .tar, .gz, .zip, .gzip, .apk, .tar.gz, .tar.xz, .pack, .exe, .bat, or .img.
  1. Access the IoTDA service page and click Access Console. Click the target instance card.
  2. In the navigation pane, choose Devices > Software/Firmware Upgrades.
  3. To upload a firmware upgrade package, click the Firmware List tab and click Upload. To upload a software upgrade package, click the Software List tab and click Upload.
  4. On the package upload page, select OBS or Local for Upload Mode.

    • OBS: Before using this mode, click Agree in the displayed authorization dialog box. After authorization, select the bucket where the upgrade file is located. If no bucket is available, click Create Bucket to go to the OBS page and create a bucket. If the upgrade file is not uploaded to the corresponding bucket, click Upload Object to go to the OBS bucket page and upload the upgrade file. Select the target OBS object and click Next.
      NOTICE:

      If you have not authorized IoTDA to access Key Management Service (KMS), click Authorize Access in Encryption Service Authorization. Otherwise, upgrade file downloading will be affected if you set or modify Default Encryption for the bucket on the OBS console.

      Figure 1 Uploading the upgrade package - OBS file
    • Local: Drag and drop a file or click Select File to upload a software/firmware upgrade package.
      Figure 2 Uploading the upgrade package - local file

  5. Configure parameters in the upgrade package list based on the following information, and click OK.

    Figure 3 Uploading the upgrade package - OBS file parameters

    Fill in the parameters as follows:

    Parameter

    Description

    Firmware/Software Version

    Version of the firmware/software package. (A device reports the version number after the upgrade. The platform checks whether the version number reported by the device is the same as the value of this parameter. If they are the same, the upgrade is successful.)

    Product

    Select the product model of the corresponding device.

    Source Versions

    Source version of the device that can be upgraded. Enter the version manually. To add multiple versions, press Enter after inputting one version, and then input the next.

    NOTE:

    Currently, the platform does not support automatic differential upgrade packages. You can prepare differential packages on your local PC and upload them to the platform. Then, specify different source versions for these differential packages. You can select multiple differential packages when creating an upgrade task. During a software/firmware upgrade, the platform delivers differential packages based on source versions reported by devices.

    Software Package Segment Size

    Size of each segment of the software package downloaded by the device, in bytes. The value ranges from 32 to 500. The default value is 500. This function is supported only by NB-IoT device software upgrade tasks.

    Description

    Description of the firmware/software package.

    Customized information pushed to devices

    The platform delivers the custom information when delivering an upgrade notification to devices.

    NOTE:
    • The function of uploading signed software/firmware packages has been brought offline. Uploaded signed software/firmware packages can still be used for upgrade. To ensure proper use of software/firmware upgrades, directly upload the upgrade files to be delivered to devices.
    • Only MQTT devices can use OBS files as software/firmware upgrade files. You need to configure a new event_type value on the device side.
    • If no device source version is specified for an upgrade package, all selected devices will be upgraded.

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