Before you configure a gateway in the IoT Platform console, you must create a product, device, and app on the AEP platform of China Telecom.
Prerequisites
An account is created and verified on the AEP platform of China Telecom..
Procedure
Log on to the AEP platform of China Telecom.
In the upper-right corner of the Products page, click Create Product.
In the Create Product dialog box, configure the parameters and click OK.
The following table describes the parameters.
Parameter
Description
Product Name
NBProduct1. You can specify a custom value.
Category
Smart City/Energy Management/Smart Water Meter. You can specify a custom value.
Node Type
Device.
NoteIf you use an NB-IoT device, set the Node Type, Connection Method, Network Type, and Protocol parameters to the values provided in this example.
Connection Method
Direct Device Connection.
Network Type
NB-IoT.
Protocol
LWM2M.
Data Encryption Method
Plaintext. You can specify a custom value.
If you use this encryption method, you can perform online debugging on a device that is connected over Lightweight M2M (LWM2M).
In this example, the device online debugging feature is used on the AEP platform. This way, you can create a gateway device and simulate a scenario in which the device connects and submits data to the AEP platform in an efficient manner.
Verification Mode
IMEI Verification. You can specify a custom value.
Endpoint Format
imei. You can specify a custom value.
Use Profile Verified by China Telecom
No. You can specify a custom value.
Enable Passthrough
No. You can specify a custom value.
In the Product Added dialog box, click Add Device.
On the Devices tab of the product details page of the NBProduct1 product, click Add Device. In the Add Device dialog box, configure the parameter and click OK.
The following table describes the parameters.
Parameter
Description
Device
nbdevice. You can specify a custom value.
IMEI
321456123456098. You can specify a custom value.
On the Devices page, click the Online Simulation icon next to the nbdevice device. In the upper-right corner of the AEP-Online Debugging page, click Connect to activate the device and simulate a scenario in which the device submits data.
In the left-side navigation pane, click Apps. In the upper-right corner of the Apps page, click Create App. In the Create App dialog box, configure the parameters and click Create.
You can configure the parameters as prompted based on your business requirements.
After you create an app, click the View Details icon next to the app on the Apps page. On the app details page, save the values of the App Key and App Secret parameters.