Query the collection of Devices under the Datalogger
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 |