DeviceProps
Properties for defining a Device
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-iot-device
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkiot"
&alicloudroscdkiot.DeviceProps {
ProductKey: interface{},
DevEui: interface{},
DeviceName: interface{},
IotInstanceId: interface{},
Nickname: interface{},
PinCode: interface{},
}
Properties
Name | Type | Description |
---|---|---|
ProductKey |
interface{} |
Property productKey: The identifier of the product to which the device to be registered belongs. |
DevEui |
interface{} |
Property devEui: DevEUI LoRaWAN equipment. |
DeviceName |
interface{} |
Property deviceName: The name of the device that you want to register. |
IotInstanceId |
interface{} |
Property iotInstanceId: Public instance does not pass this parameter; |
Nickname |
interface{} |
Property nickname: Add a nickname for the device. |
PinCode |
interface{} |
Property pinCode: PIN Code LoRaWAN device for checking the legitimacy of DevEUI. |
ProductKey
Required
ProductKey interface{}
- Type: interface{}
Property productKey: The identifier of the product to which the device to be registered belongs.
DevEui
Optional
DevEui interface{}
- Type: interface{}
Property devEui: DevEUI LoRaWAN equipment.
When you create a LoRaWAN devices, this will pass.
DeviceName
Optional
DeviceName interface{}
- Type: interface{}
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
IotInstanceId interface{}
- Type: interface{}
Property iotInstanceId: Public instance does not pass this parameter;
instance that you need to buy the incoming instance ID.
Nickname
Optional
Nickname interface{}
- Type: interface{}
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
PinCode interface{}
- Type: interface{}
Property pinCode: PIN Code LoRaWAN device for checking the legitimacy of DevEUI.
When you create a LoRaWAN devices, this will pass.