Updated on 2024-11-04 GMT+08:00

Registering a Device

Before using IoTDA to send and receive messages, you need to create a product and device.

  1. Access the IoTDA service page and click Access Console. In the navigation pane, choose IoTDA Instances and click the target instance card.
  2. Create a product. Choose Products in the navigation pane and click Create Product on the left. Set the parameters as prompted and click OK.

    Parameter

    Description

    Product Name

    Set it to MyProduct.

    Data Type

    Select JSON.

    Industry

    Set this parameter as required.

    Device Type

    Set this parameter as required.

    Figure 1 Creating a product - MQTT

  3. Register a device. In the navigation pane, choose Devices > All Devices, click Register Device, set parameters based on the following table, and click OK. After the device is registered, keep the device ID and secret properly for authentication when the device accesses the IoT platform.

    Parameter

    Description

    Product

    Select the product to which the device belongs.

    Node ID

    Set it to test001.

    Device Name

    Set it to test001.

    Authentication Type

    Select Secret.

    Secret

    Customize the secret used for device access. If the secret is left blank, the platform automatically generates one.

    Figure 2 Device - Registering a secret device