Query the latest firmware upgrade records of the Plant

for example: http://api.shinemonitor.com/public/?sign=261007b9b49e6bb853674f707bbe07342090e16c&salt=4774753303431526569&token=1fa0b3a0872b7257aa7908e16d316f7149e515d41c8e23092eb83987d6cf2774&action=queryCollectorFirmwareUpgradeLastRecord&pn=COLLECTOR0001&source=0&_app_client_=android&_app_id_=com.demo.test&_app_version_=3.6.2.1

Parameter Description Required
action queryCollectorFirmwareUpgradeLastRecord True
pn Datalogger number True

response:

Parameter Description Required
ts Firmware upgrade time True
status Firmware upgrade status False
progress Firmware upgrade progress 0~1000, representing 0%~100.0% False
{
    "err":0,
    "desc":"ERR_NONE",
    "dat":{
        "ts":"2017-08-17 11:00:00",
        "status":0,
        "progress":999
    }
}

Possible errors:

Response error code Description Details
0x0006 ERR_FORMAT_ERROR Parameter
0x0101 ERR_NOT_FOUND_COLLECTOR Unable to find Datalogger
0x000C ERR_NO_RECORD No record (no recent upgrade record)
Copyright © eybond 2022 all right reserved,powered by Gitbook文档更新时间: 2023-07-18 10:29:27

results matching ""

    No results matching ""