Gateway upgrade check

https://api.sciener.com/v3/gateway/upgradeCheck

Check if the gateway have a new version of firmware base on the three parameters: modelNum、hardwareRevision、firmwareRevision uploaded to cloud server when addding gateway.

Refer to APP SDK DEMO for detailed steps of gateway firmware upgrade.

1 Request example

2 Request parameters

NameTypeRequiredDescription
clientIdStringYclient_id from Create application
accessTokenStringYAccess token,refer to: Get access token
gatewayIdIntYGateway ID
dateLongYCurrent time (timestamp in millisecond)

3 Response and example

ParameterTypeDescription
needUpgradeIntIs upgrading available: 0-No, 1-Yes, 2-Unknown
firmwareInfoStringFirmware info, will be used in APP SDK
versionStringLatest firmware version