Pair NB-IoT Device by Scanning QR Code

Last Updated on : 2024-06-13 02:26:28download

Pair an NB-IoT device by scanning the specified QR code.

API address

POST: /v1.0/iot-03/device-registration/qrcode-bind

Request parameter

Description of body

Parameter name Type IN Required Description
qrcode String true The code of a specified QR code. There is one QR code on the NB-IoT device. For more information, see the requirements of the NB-IoT device.
asset_id String true The ID of a specified asset.
time_zone_id String true The time zone.

Return parameter

Parameter name Type Description
result NBDeviceRes

Description of result

Parameter name Type Description
device_id String The device ID.

Request example

POST: /v1.0/iot-03/device-registration/qrcode-bind
{ "qrcode": "xx", "asset_id": "***", "time_zone_id": "***" }

Return example

{ "result": { "device_id": "vdevoxxxx" }, "t": 1591257455025, "success": true }

Error code

For more information, see error code.