Last Updated on : 2023-06-15 04:51:41
Activate a Bluetooth device.
POST: /v1.0/iot-03/device-registration/single-bluetooth/actions/active
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | true | The device ID. | |
auth_key | String | false | The device auth_key . | |
bv | String | true | The baseline version. | |
pv | String | true | The protocol version. | |
sv | String | true | The software version. | |
etag | String | false | The device ETag. | |
lat | String | false | The longitude. | |
lon | String | false | The latitude. | |
lang | String | false | The language. | |
time_zone | String | false | The time zone. | |
time_zone_id | String | false | The ID of the specified time zone. | |
options | String | false | The extension options. | |
modules | String | false | The information about the module. | |
asset_id | String | true | The asset ID. | |
uid | String | true | The user ID. |
Parameter name | Type | Description |
---|---|---|
result | BleDeviceActiveRes |
Description of result
Parameter name | Type | Description |
---|---|---|
device_id | String | The device ID. |
local_key | String | The device local_key . |
POST: /v1.0/iot-03/device-registration/single-bluetooth/actions/active
{ "uuid": "device_id", "auth_key": "xxx", "bv": "1.0" "sv": "1.0", "etag": "xx", "lat": "1.011", "lon": "1.011", "lang": "zh", "time_zone": "+8:00", "time_zone_id": "Asia/Shanghai", "options": "", "modules": "", "asset_id": "213" }
{
"result": {
"device_id": "******",
"local_key": "******"
},
"t": 1591257455025,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback