Help Center> IoT Device Access> User Guide> Devices> Device Registration> Registering an Individual Device

Registering an Individual Device

A device is a physical entity that belongs to a product. Each device has a unique ID. It can be a device directly connected to the platform, or a gateway that connects child devices to the platform. You can register a physical device with the platform, and use the device ID and secret allocated by the platform to connect your SDK-integrated device to the platform.

The platform allows an application to call the API Creating a Device to register an individual device. Alternatively, you can register an individual device on the IoTDA console. This topic describes the procedure on the IoTDA console.

Procedure

  1. Log in to the IoTDA console.
  2. In the navigation pane, choose Devices > All Devices, click Individual Register in the upper right corner, set parameters based on the table below, and click OK.

    Parameter

    Description

    Resource Space

    Select the resource space to which a device belongs.

    Product

    Select the product to which the device belongs.

    You can select a product only after it is defined. If no product is available, create a product by following the instructions provided in Products.

    Node ID

    Enter a unique physical identifier for the device, such as its IMEI or MAC address. The node ID is used by the platform to authenticate the device during device access.

    • For a device using the native MQTT protocol (referred to as MQTT device), set the node ID to a string consisting of letters and numbers. The device ID (corresponding to the node ID) and secret generated after the registration are used for device access.
    • For an NB-IoT device (device using LwM2M over CoAP) or a device integrated with the SDK, set the node ID to the IMEI or MAC address. The device connects to the platform using the node ID and secret entered during registration.

    Device Name

    Customize the name of the device.

    Authentication Type

    • Secret: The device uses the secret for identity verification.
    • X.509 certificate: The device uses an X.509 certificate for identity verification.

    Secret

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

    If no secret is entered during LwM2M device registration, the registered device is a non-DTLS device (the device connects to the platform through port 5683). If a secret is specified, the device is registered as a DTLS device (the device connects to the platform through port 5684).

    Fingerprint

    This parameter is displayed when Authentication Type is set to X.509 certificate. Import the fingerprint corresponding to the preset device certificate on the device side. You can run openssl x509 -fingerprint -sha256 -in deviceCert.pem in the OpenSSL view to query the fingerprint.

    Delete the colons (:) from the obtained fingerprint when filling it.

    Save the device ID and secret. They are used for authentication when the device attempts to access the platform.

    If the secret is lost, you can reset the secret. The secret generated during device registration cannot be retrieved.

    You can delete a device that is no longer used from the device list. Deleted devices cannot be retrieved. Exercise caution when performing this operation.