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

Obtaining Development Resources

Application Development Resources

The IoT platform provides a wealth of RESTful APIs and SDKs to ease application development. Application development is the process in which an application calls APIs of the IoT platform to implement service scenarios such as secure access, device management, data collection, and command delivery. Download the corresponding resource files as required.

Resource Package

Description

Download Link

Application Development Java API Demo

The IoT platform provides the RESTful API for application developers to quickly experience open API capabilities, service functions, and service processes.

For details, see Northbound API Reference and Application Development Guide.

Application Development Java API Demo

Application Development Java SDK

The Java SDK provides Java methods to call RESTful APIs to communicate with the IoT platform. The Java SDK Demo provides the code sample for calling the SDK APIs.

For details, see Northbound Java SDK API Reference and Java SDK Usage Guide.

Device Development Resources

The IoT platform allows device access using MQTT or LWM2M/CoAP. Devices can connect to the IoT platform by calling device APIs or integrating with SDKs.

Resource Package

Description

Download Link

LiteOS SDK

Devices can connect to the IoT platform through the integrated LiteOS SDK. The LiteOS Demo provides the code sample for calling the SDK APIs. For details, see LiteOS SDK Integration Development Guide.

LiteOS SDK

Profile Templates

Profile templates of typical scenarios are provided. Developers can customize their profile files based on the templates.

For details, see Offline Profile Definition.

Profile Example

Codec Example

Demo codec projects are provided for developers to perform secondary development.

For details, see Offline Codec Development.

Codec Example

Codec Test Tool

This tool is used to check whether the codec developed offline is normal.

Codec Test Tool

NB-IoT Device Simulator

This tool is used to simulate the access of NB-IoT devices to the IoT platform using CoAP for data reporting and command delivery.

NB-IoT Device Simulator

Certificates

In some scenarios where a device and NA connect to the IoT platform, the corresponding certificate must be loaded to the device and NA. Click here to obtain the certificate files.

NOTE:

This certificate package is used only for interconnection with the IoT platform deployed on HUAWEI CLOUD.

For details about the directory structure of the certificate package and the usage of each certificate, see Table 1.

Table 1 Certificate information

Certificate Package Name

Level-1 Directory

Level-2 Directory

Level-3 Directory

Description

certificate

Northbound API

code

Java

The certificates in this directory are used when the NA calls IoT platform APIs using HTTPS. Select the certificate in the corresponding directory based on the programming language of the NA, and load the certificate to the NA.

PHP

Python

postman

-

The certificate in this directory is used when Postman tests the IoT platform APIs using HTTPS.

Agent Lite

Android

-

The certificates in this directory are used when the device or gateway connects to the IoT platform through the integrated AgentLite SDK. Select the certificate in the corresponding directory based on the programming language of the device or gateway, and load the certificate to the device or gateway.

C-Linux

-

Java

-