Skip to content

DeviceProps

Properties for defining a Device.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-iot-device

Initializer

import ros_cdk_iot
ros_cdk_iot.DeviceProps(
  product_key: typing.Union[str, IResolvable],
  dev_eui: typing.Union[str, IResolvable] = None,
  device_name: typing.Union[str, IResolvable] = None,
  iot_instance_id: typing.Union[str, IResolvable] = None,
  nickname: typing.Union[str, IResolvable] = None,
  pin_code: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
product_key typing.Union[str, ros_cdk_core.IResolvable] Property productKey: The identifier of the product to which the device to be registered belongs.
dev_eui typing.Union[str, ros_cdk_core.IResolvable] Property devEui: DevEUI LoRaWAN equipment.
device_name typing.Union[str, ros_cdk_core.IResolvable] Property deviceName: The name of the device that you want to register.
iot_instance_id typing.Union[str, ros_cdk_core.IResolvable] Property iotInstanceId: Public instance does not pass this parameter;
nickname typing.Union[str, ros_cdk_core.IResolvable] Property nickname: Add a nickname for the device.
pin_code typing.Union[str, ros_cdk_core.IResolvable] Property pinCode: PIN Code LoRaWAN device for checking the legitimacy of DevEUI.

product_keyRequired

product_key: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property productKey: The identifier of the product to which the device to be registered belongs.


dev_euiOptional

dev_eui: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property devEui: DevEUI LoRaWAN equipment.

When you create a LoRaWAN devices, this will pass.


device_nameOptional

device_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


iot_instance_idOptional

iot_instance_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property iotInstanceId: Public instance does not pass this parameter;

instance that you need to buy the incoming instance ID.


nicknameOptional

nickname: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


pin_codeOptional

pin_code: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.