Register NB-IoT Lock

https://api.sciener.com/v3/lock/registerNb

Register NB-IoT Device to NB-IoT Cloud Server.

Normally, this will be done in request cloud API: Init lock,you do not need to request this API.

In case of register failure or replacement of the NB card or module, you can request this API.

1 Request example

POST, ContentType:application/x-www-form-urlencoded

2 Request parameters

NameTypeRequiredDescription
clientIdStringYclient_id from Create application
accessTokenStringYAccess token,refer to: Get access token
lockIdIntYLock ID, generated by Lock init
nbNodeIdStringYNB-IoT node id
nbCardNumberStringYNB-IoT card number
nbOperatorStringYNB-IoT operator:46011-China Telecom、46000-China mobile、21401-Vodafone、50212-Maxis
nbRssiIntYNB RSSI, reference: >20 is strong, 10<i<20 is medium, <-10 is weak
dateLongYCurrent time (timestamp in millisecond)

3 Response and example

ParameterTypeDescription
errcodeIntError code
errmsgStringError message