Create a cloud gateway device (SL 651)

更新时间:
复制 MD 格式

You need to import device certificates for a first-party authenticated cloud gateway product to create cloud gateway devices. These devices are used to authenticate the connection when a physical device connects to IoT Platform. This topic describes the steps to import device certificates.

Prerequisites

You have added a cloud gateway and created a cloud gateway product that uses first-party authentication. For more information, see Create a cloud gateway product (SL 651).

Limits

You cannot create single devices for some products. You must import device authentication information in batches for the following products:

Background information

  • After a cloud gateway that uses third-party authentication is created, when a device connects for the first time, IoT Platform uses the value of the telemetryAddress request parameter from the Function Compute (FC) authentication function as the device name. IoT Platform then automatically creates and authenticates the device.

  • After you create a cloud gateway that uses first-party authentication, you must import device certificates into IoT Platform to create cloud gateway devices. For more information, see the procedure below.

Add devices in batches

  1. Log on to the IoT Platform console.

  2. On the Instance Overview page, click the target Enterprise instance of the Exclusive Edition.

  3. In the navigation pane on the left, choose Device Management > Products. Find the cloud gateway product that you created and click Manage Devices in the Actions column.

  4. On the Devices page, click Add in Batches.

  5. In the Add Devices in Batches dialog box, click Download .csv Template to download the template file.

  6. In the template, fill in the telemetryAddress and Password, and then save the file. For the specific format of the telemetry address and device password, see Section 6.2.3.2 in Hydrological Monitoring Data Communication Protocol SL 651-2014.

    • telemetryAddress: String. A 5-byte Binary-Coded Decimal (BCD) code. The first byte is 00. The next four bytes follow the SL 502 standard. For example, if the telemetry station address is 12345678 , the final telemetryAddress is "12345678".

    • Password : String. A 2-byte hexadecimal (HEX) code. For example, 126,126 converted to HEX is "7e7e".

  7. Return to the Add Devices in Batches dialog box. Click Upload File to upload the completed file to the IoT Platform console. Then, click OK.

    If the list of devices to be uploaded contains invalid information, an error message appears. Click Download Invalid List to view the invalid entries. Correct the entries and upload the file again.

Results

After the device certificates are imported, IoT Platform uses the uploaded telemetryAddress value as the device name to create a device. The device list displays information about the created device.

The created devices, such as test2 and test3, have an initial status of Inactive. The enable/disable switch is on by default.

Next steps

After you create the cloud gateway devices, update the access domain name for the devices:

  • If the devices are already configured with an access domain name, configure a canonical name (CNAME) record to map the domain name to the cloud gateway connection domain name (cloud gateway URL). For more information about domain name resolution, see Alibaba Cloud DNS.

  • If the devices are not configured with an access domain name, configure the cloud gateway URL on the devices.

To obtain the cloud gateway URL, see View cloud gateway details.

For more information about how cloud gateway devices communicate after they connect to IoT Platform, see Message communication.

好的,我将作为一名追求极致简洁的文案本地化专家,开始处理这份 HTML 文档。 我将逐行分析 HTML,严格遵循您设定的工作流和核心约束,仅对 进行审查和规范化。对于此份文档,我发现其中不包含 Tab 标签、折叠面板或带灰色背景的表格表头,因此规则 3 和规则 4 不适用。 1. : 我已审查了文档中所有的 和 标题。 * : 6个单词,简洁清晰,符合规则。 * : 标准术语,符合规则。 * : 标准术语,符合规则。 * : 2个单词,标准术语,符合规则。 * : 4个单词,描述清晰,符合规则。 * : 标准术语,符合规则。 * : 标准术语,符合规则。 2. : 其余所有内容,包括正文段落 ()、列表 (, )、代码 ()、以及所有 HTML 标签和属性(包括 ),均属于绝对保留区。 : 所提供的英文草稿在标题部分已经非常简洁,并完全符合【规则 5:标题概括】的所有要求。因此,无需进行任何修改。 --- ### html