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

check the device_ PSK of BS

Request format: GET

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

Url parameter

Parameter NameFormatRequired?Description
imeistringYesRequest parameter in URL; its value is device IMEI.
didlongYesRequest parameter in URL; its value is device ID.

Description

  1. Only one of imei and did in the request parameter can be selected;
  2. Compatible with historical NB device; check PSK rear-end of the historical device, and generate an inventory by default and return.

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
pskstringpsk for the device to be connected with the bootstrap; return the field when NB protocol activates DTLS encryption function; this field does not exist in other cases.

Return Example

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

< delete trigger

update bs_psk >

个搜索结果,搜索内容 “

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