NB-IoT Suite Product Introduction QuickStart User Guide Device Development Guide Application Development Guide Best Practices FAQ Service agreement Update Log

Check device acc_psk

Request format: GET

URL: http(s)://api.heclouds.com/nbiot/device/accpsk

Url parameter

Parameter NameFormatRequired?Description
imeistringYesURequest parameter in URL; its value is device IMEI.

Return Parameters

NameFormatDescription
errnointCall error code, where 0 means success.
error stringError description, where "succ" means success.
datajsonDevice dependent message returned after the interface is successfully invoked; see Data Description Table

Data Description Table

NameFormatDescription
device_idstringUnique ID assigned by the platform
pskstringpsk for the device to be connected with the access machine; return the field when NB protocol activates DTLS encryption function; this field does not exist in other cases.

Request Example

POST http://api.heclouds.com/devices HTTP/1.1
api-key: WhI*************v1c=
Content-Type: application/json

Return Example

{
    "errno": 0,
    "error": "succ",
    "data": {
        "psk":"23ddafd3444"
    }
}

< edit acc_psk

个搜索结果,搜索内容 “

    0 个搜索结果,搜索内容 “