Gateway upgrade check
https://api.sciener.com/v3/gateway/upgradeCheck
Check to see whether there is any upgrade for a G2 gateway, depending on modelNum、hardwareRevision、firmwareRevision.
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 |
| gatewayId |
Int |
Y |
Gateway 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 |