Query the collection of Devices under the Datalogger

for example: http://api.shinemonitor.com/public/?sign=67cae506578fdd86bc9f49082437ddc9511e0727&salt=2337424845041575963&token=91a6c87e89acbfb2fa482f3b02ee071ee58ea0293dd92f243a88ee51415f497f&action=queryCollectorDevices&pn=COLLECTOR0001&source=0&_app_client_=android&_app_id_=com.demo.test&_app_version_=3.6.2.1

Parameter Description Required
action queryCollectorDevices True
pn Datalogger number True

response:

Parameter Description Required
pn Datalogger number True
dev Collection of Devices under the collector False
dev[x].devcode Device protocol encoding True
dev[x].devaddr Device address (485 bus) True
dev[x].sn Device serial number True
dev[x].alias Device aliases False
{
    "err":0,
    "desc":"ERR_NONE",
    "dat":{
        "pn":"COLLECTOR0001",
        "dev":[
            {
                "devcode":752,
                "devaddr":1,
                "sn":"687489900018",
                "alias":"687489900018"
            }
        ]
    }
}
Response error code Description Details
0x0006 ERR_FORMAT_ERROR Parameter error
0x0101 ERR_NOT_FOUND_COLLECTOR Unable to find Datalogger
0x0102 ERR_NOT_FOUND_DEVICE Unable to find Device
Copyright © eybond 2022 all right reserved,powered by Gitbook文档更新时间: 2023-07-18 10:29:01

results matching ""

    No results matching ""