Open Platform
Skip to content

Get NB-IoT Lock Device Info ​

https://cnapi.ttlock.com/v3/lock/getNbDeviceInfo

After you have registered the NB-IoT lock to the cloud server, you can get the device info of NB-IoT lock from the cloud

1 Request example ​

javascript
curl --location -g --request GET 'https://cnapi.ttlock.com/v3/lock/getNbDeviceInfo?clientId=fd2ff35ee3d8424c8665c07b7b9a7f45&accessToken=780f7671b6e6be3010d9787f19207aca&lockId=1719&date=1625025703000'

2 Request parameters ​

NameTypeRequiredDescription
clientIdStringYclient_id from Create application
accessTokenStringYAccess token,refer to: Get access token
lockIdIntYLock ID, generated by Lock init
dateLongYCurrent time (timestamp in millisecond)

3 Response and example ​

ParameterTypeDescription
nbNodeIdStringNB-IoT node id
nbCardNumberStringNB-IoT card number
nbOperatorStringNB-IoT operator:46011-China Telecom、46000-China mobile、21401-Vodafone、50212-Maxis
nbOperatorNameStringNB-IoT operator name
nbRssiIntNB RSSI, reference: >20 is strong, 10<i<20 is medium, <-10 is weak
updateDateLongNB RSSI last updated date (timestamp in millisecond)
{
    "nbNodeId": "866000054718659",
    "nbCardNumber": "460223126347331",
    "nbOperator": "46011",
    "nbOperatorName": "China telecom",
    "nbRssi": 12}
CopyRight © 2012-2026 TTLock.All Rights Reserved