Get the gateway list of a lock
https://api.sciener.com/v3/gateway/listByLock
1. Description
Name |
Type |
Required |
Description |
clientId |
String |
Y |
The app_id which is assigned by system when you create an application |
accessToken |
String |
Y |
Access token |
lockId |
Int |
Y |
Lock ID |
date |
Long |
Y |
Current time (timestamp in millisecond) |
2.Response
Parameter |
Type |
Description |
gatewayId |
Int |
Gateway ID |
gatewayMac |
String |
Gateway MAC |
rssi |
Int |
The signal intensity between gateway and lock. reference: >-75 is strong, -85<i<-75 is medium, <-85 is weak |
rssiUpdateDate |
Long |
The time when the signal intensity updated |
3.Example of response
{
"list": [
{
"gatewayId": 123156,
"gatewayMac": "52:A6:D8:B2:C1:00",
"rssi": -66,
"rssiUpdateDate": 1556085906000
}
],
}