Add a topology relationship

更新时间:
复制 MD 格式

If a sub-device connects to IoT Platform through a gateway, you must add a topology relationship to associate the sub-device with the gateway device.

Prerequisites

  • A gateway product and a gateway device have been created. When you create the product, set the Node Type to Gateway Device. For more information, see Create a product and Create a device.
  • A sub-device product and a sub-device have been created. When you create the product, set the Node Type to Gateway Sub-device and configure the protocol for connecting to the gateway. For more information, see Create a product and Create a device.

Procedure

  1. Log on to the IoT Platform console.
  2. On the Overview page, find the instance that you want to manage and click the instance ID or instance name.

  3. In the navigation pane on the left, choose Device Management > Devices.
  4. On the Devices page, find the gateway device and click View to go to the Device Details page.
  5. On the Sub-device Management tab, click Add Sub-device
  6. In the dialog box that appears, select the sub-device to associate and click OK.

Result

After the sub-device is added, you can perform the following actions on the Sub-device Management tab:

  • Click View next to a sub-device to go to the Sub-device Details page.
  • Click Delete next to a sub-device to remove it from the gateway.
    Note This operation removes only the topology relationship between the sub-device and the gateway. It does not delete the device itself.