Create a product in IoT Platform
更新时间:
复制 MD 格式
To connect devices from the China Telecom AEP platform, create a product in IoT Platform. The product name must match the name of the product on the China Telecom AEP platform.
Prerequisites
You have created a device and an application on the China Telecom AEP platform. For more information, see Develop a device and add an application on the AEP platform.Procedure
Gateway devices are available only for Exclusive Enterprise Edition instances, so you must create the product within one.
Log on to the IoT Platform console.
- On the Overview page, on the Purchase Enterprise Edition Instance
card, click Purchase Instance.
On the instance purchase page, select the required instance specifications and complete the purchase. For this example, select Enterprise IoT Platform as the edition and Exclusive as the type.
For more information, see Purchase an Enterprise Edition instance.
After the purchase, the system assigns a default instance name. For example, iot-cn-z2q1***. - On the Overview page, click your instance, for example, iot-cn-z2q1***.
- In the left-side navigation pane, choose . Click Create Product, configure the parameters, and then click OK.
The following table describes the key parameters. Use the default values for all other parameters.
Parameter Description Product name Enter NBProduct1. This name must match the product name on the China Telecom AEP platform.
Category Select Custom Category. Node type Select Directly Connected Device. Network connection method Select Wi-Fi. Data format Select Custom. Data verification level Select Weak Verification. For more information, see Create a product.
- Add properties to the default module of the Thing Specification Language (TSL) model for the NBProduct1 product.
Create a property with the identifier water_consumption. This must match the property identifier water_consumption for the NBProduct1 product on the China Telecom AEP platform. Also, create another property, such as test, to verify downstream device communication. The following table shows a sample configuration.
Parameter Description Feature name Enter test. Identifier Enter test. Data type Select int32. Unit Select None. For more information, see Add a TSL feature. For the water_consumption property, set the data type to double and the value range to 0–99999999.
Next steps
Create a gateway device to connect to AEP platform devices该文章对您有帮助吗?