Last Updated on : 2023-06-20 15:20:27download
Register a Bluetooth device.
POST: /v1.0/iot-03/device-registration/single-bluetooth/actions/register
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
asset_id | String | true | The asset ID. | |
uuid | String | true | The device UUID. | |
auth_key | String | true | The value of authKey for Bluetooth pairing. | |
mac | String | false | The MAC address of the device. | |
product_id | String | true | The product ID. | |
pv | String | true | The protocol version number. |
Parameter name | Type | Description |
---|---|---|
result | String |
POST: /v1.0/iot-03/device-registration/single-bluetooth/actions/register
{
"uuid": "002008535ccf7f53****",
"asset_id": "213",
"auth_key": "xxxx",
"mac": "5c:cf:7f:53:**:**",
"product_id": "sfclyxhrfnys****",
"pv": "xx"
}
{
"result": {
"auth_key": "******",
"random": "******"
},
"t": 1591257455025,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback