After you convert the format of Thing Specification Language (TSL) data, you must define a custom TSL property and service on the AEP platform of China Telecom to check whether you can receive the downstream data of an IoT Platform device.
Procedure
Log on to the AEP platform of China Telecom. In the left-side navigation pane, click Products. On the Products page, find the NBProduct1 product and click the product name. On the product details page, click Service Definition.
On the Service Definition tab, click Properties in the Custom Feature Module section, and click Add Property on the right of the tab. In the dialog box that appears, configure the parameters as prompted and click OK.
Set the parameters to the same values as the values of the test property of the NBProduct1 product in the IoT Platform console. The following table describes some parameters.
For more information, see Create a product in the IoT Platform console.
Parameter
Description
Property Name
Enter test.
Property Identifier
Enter test.
Type
Select int.
Length
Select 1 Byte.
Unit
Select None.
On the Service Definition tab, click Services in the Custom Feature Module section, click Add Service on the right of the tab. In the dialog box that appears, configure the parameters, and click OK to create a message sending service.
The following table describes the parameters.
Parameter
Description
Service Type
Select Message Sending.
Service ID
Specify a custom ID as prompted.
Service Name
Enter test.
Service Identifier
Enter test.
Parameters
Click Add Parameter to create a parameter named test. The values of the parameters of the test parameter are the same as the value of the parameters of the test property.
On the Product page, click Devices, and then click the icon next to the nbdevice device. On the AEP-Online Debugging page, click Connect in the upper-right corner.
In the IoT Platform console, go to the Instance Details page of the instance that you want to manage. In the left-side navigation pane, choose . On the Online Debug page, click Property Debugging and select Default Module.
Set the test parameter to 0 and click Set.
Go to the AEP platform of China Telecom. On the AEP-Online Debugging page of the nbdevice device, view device logs.
If the nbdevice device receives the message, downstream communication is enabled between the device in the IoT Platform console and the device on the AEP platform of China Telecom.