Upgrade check
https://api.sciener.com/v3/lock/upgradeCheck
Check to see whether there is any upgrade for a lock.
If there is no version info on the server, returns 'unknown'.In this case, you need to call SDK method to get lockData, and then call [Upgrade recheck] to check for upgrading.
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 |
needUpgrade |
Int |
Is upgrading available: 0-No, 1-Yes, 2-Unknown |
firmwareInfo |
String |
Firmware info |
firmwarePackage |
String |
firmware package |
version |
String |
Latest firmware version |