Get NB-IoT Lock Device Info
https://cnapi.sciener.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.sciener.com/v3/lock/getNbDeviceInfo?clientId=fd2ff35ee3d8424c8665c07b7b9a7f45&accessToken=780f7671b6e6be3010d9787f19207aca&lockId=1719&date=1625025703000'2 Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
| clientId | String | Y | client_id from Create application |
| accessToken | String | Y | Access token,refer to: Get access token |
| lockId | Int | Y | Lock ID, generated by Lock init |
| date | Long | Y | Current time (timestamp in millisecond) |
3 Response and example
| Parameter | Type | Description |
|---|---|---|
| nbNodeId | String | NB-IoT node id |
| nbCardNumber | String | NB-IoT card number |
| nbOperator | String | NB-IoT operator:46011-China Telecom、46000-China mobile、21401-Vodafone、50212-Maxis |
| nbOperatorName | String | NB-IoT operator name |
| nbRssi | Int | NB RSSI, reference: >20 is strong, 10<i<20 is medium, <-10 is weak |
| updateDate | Long | NB RSSI last updated date (timestamp in millisecond) |
{
"nbNodeId": "866000054718659",
"nbCardNumber": "460223126347331",
"nbOperator": "46011",
"nbOperatorName": "China telecom",
"nbRssi": 12}