Upgrade recheck
https://api.sciener.com/v3/lock/upgradeRecheck
Recheck to see whether there is any upgrade for a lock
Warning: Please make sure the lockData is from the SDK method.
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 |
lockData |
String |
Y |
Lock data, generated by SDK |
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 |