更新时间:2023-06-15 04:51:30
本文介绍生成蓝牙设备配网的 authkey的 API。
生成蓝牙设备配网的 authkey。
POST: /v1.0/iot-03/device-registration/single-bluetooth/auth-key
body 说明
| 参数名 | 类型 | 参数位置 | 是否必填 | 说明 | 
|---|---|---|---|---|
| uuid | String | true | 设备 UUID | |
| asset_id | String | true | 资产 ID | 
| 参数名 | 类型 | 说明 | 
|---|---|---|
| result | DeviceAuthKeyRes | 
result 说明
| 参数名 | 类型 | 说明 | 
|---|---|---|
| random | String | 配网随机数 | 
| auth_key | String | 配网 authkey | 
POST: /v1.0/iot-03/device-registration/single-bluetooth/auth-key
{
  "uuid": "002008535ccf7f53****",
  "asset_id": "1373903144639082***"
}
{
  "result": {
    "random": fa2fxxxxxxxxcb38c
    "auth_key": "******"
  },
  "success": true,
  "t": 1591257455025
}
参考 错误码。
该内容对您有帮助吗?
是意见反馈该内容对您有帮助吗?
是意见反馈