设备注册接口
POST
/iot/device/register
接口描述
设备注册接口
请求参数
参数名
类型
描述
必填
name
string
设备名
必填
describe
string
设备描述
必填
ip
string
设备IP
必填
port
int
设备端口
可选
softVersion
string
设备版本号
必填
provider
string
设备厂商
必填
deviceSerialId
string
设备序列号
必填
deviceModel
string
设备类型
必填
longitude
string
经度坐标
可选
latitude
string
纬度坐标
可选
subDeviceId
int
若为子设备则需要填写,标识子设备Id
可选
响应参数
参数名
类型
描述
必填
deviceId
int
设备ID
必填