Query the status of Dataloggers and subordinate Devices
Parameter | Description | Required |
---|---|---|
action | queryCollectorDevicesStatus | True |
pn | Datalogger number | True |
response:
Parameter | Description | Required |
---|---|---|
pn | Datalogger number | True |
status | Datalogger status, refer to Device status | 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].status | Device status | True |
{
"err":0,
"desc":"ERR_NONE",
"dat":{
"pn":"COLLECTOR0001",
"status": 0,
"dev":[
{
"devcode":752,
"devaddr":1,
"sn":"687489900018",
"status":1
}
]
}
}
Possible errors:
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 |