Get NB-IoT Clound Server Info

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

When initializing NB-IoT lock by APP SDK you have to write NB-IoT cloud server's IP and port into the lock, then the lock can connect to the NB-IoT cloud server. You have to choose specific IP and port for different NB-IoT operator.

After the lock is successfully initialized by APP SDK, request the cloud API: Init lock to initialize the lock on the cloud server and register it to the NB-IoT cloud server.

In case you have not register to NB-IoT cloud server when initializing the lock, you can call APP SDK method to config the lock, then request cloud API: Register NB-IoT lock to register it to NB-IoT cloud server.

1 Request example

2 Request parameters

NameTypeRequiredDescription
clientIdStringYclient_id from Create application
accessTokenStringYAccess token,refer to: Get access token
dateLongYCurrent time (timestamp in millisecond)

3 Response and example

ParameterTypeDescription
listJSONArraylist of records

The objects in the list

ParameterTypeDescription
nbOperatorStringNB-IoT operator:46011-China Telecom、46000-China mobile、21401-Vodafone、50212-Maxis
ipStringNB-IoT operator Server IP
portIntNB-IoT operator Server Port