Query Datalogger status
Parameter | Description | Required |
---|---|---|
action | queryCollectorStatus | True |
pn | Number of Dataloggers, separated by ',' , up to 256 at a time | True |
response:
Parameter | Description | Required |
---|---|---|
collector[x].pn | Datalogger number | True |
collector[x].status | Datalogger status, refer to Device status | True |
It should be noted that interfaces fail quickly: that is, if a Datalogger number is considered incorrect, the interface will immediately return an error Additionally, the order of the returned data collectors may differ from the order passed during the query
{
"err":0,
"desc":"ERR_NONE",
"dat":{
"collector":[
{
"pn":"COLLECTOR0001",
"status":1
},
{
"pn":"COLLECTOR0002",
"status":1
}
]
}
}
Possible errors:
Response error code | Description | Details |
---|---|---|
0x0006 | ERR_FORMAT_ERROR | Parameter error |
0x0007 | ERR_MISSING_PARAMETER | Missing necessary parameters (incoming parameters may be empty) |
0x000D | ERR_OVER_LIMIT | EXCEEDS LIMIT |
0x0101 | ERR_NOT_FOUND_COLLECTOR | Unable to find Datalogger |