DeviceProps
Properties for defining a Device
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-iot-device
Initializer
import { DeviceProps } from '@alicloud/ros-cdk-iot'
const deviceProps: DeviceProps = { ... }
Properties
Name | Type | Description |
---|---|---|
productKey |
string | @alicloud/ros-cdk-core.IResolvable |
Property productKey: The identifier of the product to which the device to be registered belongs. |
devEui |
string | @alicloud/ros-cdk-core.IResolvable |
Property devEui: DevEUI LoRaWAN equipment. |
deviceName |
string | @alicloud/ros-cdk-core.IResolvable |
Property deviceName: The name of the device that you want to register. |
iotInstanceId |
string | @alicloud/ros-cdk-core.IResolvable |
Property iotInstanceId: Public instance does not pass this parameter; |
nickname |
string | @alicloud/ros-cdk-core.IResolvable |
Property nickname: Add a nickname for the device. |
pinCode |
string | @alicloud/ros-cdk-core.IResolvable |
Property pinCode: PIN Code LoRaWAN device for checking the legitimacy of DevEUI. |
productKey
Required
public readonly productKey: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property productKey: The identifier of the product to which the device to be registered belongs.
devEui
Optional
public readonly devEui: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property devEui: DevEUI LoRaWAN equipment.
When you create a LoRaWAN devices, this will pass.
deviceName
Optional
public readonly deviceName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property deviceName: The name of the device that you want to register.
The device name must consist of 4 to 32 characters, including English letters, digits, and special characters, for example, hyphens (-), underscores (_), at signs (@), periods (.) , and colons (:). DeviceName is used with ProductKey to identify a specified device. Note If you do not specify this parameter, the system will generate a name for the device.
iotInstanceId
Optional
public readonly iotInstanceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property iotInstanceId: Public instance does not pass this parameter;
instance that you need to buy the incoming instance ID.
nickname
Optional
public readonly nickname: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property nickname: Add a nickname for the device.
A nickname can be 4-64 characters in length, and can contain Chinese characters, English letters, numbers and underscores (_). A Chinese character counts as two characters.
pinCode
Optional
public readonly pinCode: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property pinCode: PIN Code LoRaWAN device for checking the legitimacy of DevEUI.
When you create a LoRaWAN devices, this will pass.