All Products
Search
Document Center

LinkVisual:Add an IP camera device

Last Updated:May 19, 2022

This article describes how to add an IP camera device in IoT Platform if you need to connect the device directly with IoT Platform.

To connect an IP camera device directly with IoT Platform, you must develop the device SDK and integrate the SDK on the device. For more information, see Device development guide.

Prerequisites

Procedure

  1. Log on to the IoT Platform console.

  2. On the Instance Overview page, find the instance and click the instance name to go to the Instance Details page.

  3. In the left-side navigation pane, choose Devices > Devices.

  4. On the Devices page, click Add Device.

  5. In the Add Device dialog box, set the parameters as required and click OK.

    For more information, see Create a device.

    Parameter

    Description

    Products

    The name of the created IP camera product. The device to be created derives the features and properties of the specified product.

    DeviceName

    The DeviceName of the device. The DeviceName must be unique within the product. The name must be 4 to 32 characters in length, and can contain letters, digits, hyphens (-), underscores (_), at signs (@), periods (.), and colons (:).

    Note

    You can leave the DeviceName parameter unspecified. If you do not specify this parameter, IoT Platform generates a globally unique identifier (GUID) as the DeviceName.

    Alias

    The alias of the device. The name must be 4 to 64 characters in length, and can contain letters, digits, and underscores (_).

    Note

    You can leave the Alias parameter unspecified.

Result

After the device is created, the The devices have been added dialog box appears. In this dialog box, you can click Learn More to go to the Device Details page. On this page, you can view and copy the device certificate information. A device certificate consists of a ProductKey, a DeviceName, and a DeviceSecret. A device certificate is the credential that a device uses to communicate with IoT Platform. We recommend that you keep your device certificates confidential.

Parameter

Description

ProductKey

The ProductKey of the product to which the device belongs. The ProductKey is the GUID that is issued by IoT Platform to the product.

DeviceName

The DeviceName of the device, which is the unique identifier of the device within the product. A combination of the DeviceName and ProductKey is used as the device identifier. IoT Platform authenticates the device and communicates with the device based on the device identifier.

DeviceSecret

The DeviceSecret of the device, which is issued by IoT Platform for device authentication and encryption. The DeviceSecret must be used in combination with the DeviceName.

What to do next

  1. After you create a device, the device is in the Inactive state. To activate the device, you must integrate Link SDK on the device and connect the device to IoT Platform. For more information, see the Link SDK documentation. Inactive

  2. After you activate the device, integrate LinkVisual SDK on the device. Then, you can use the API operations provided by LinkVisual. For more information, see Device development guide.