||
{
"core": {
"modules": {
"schedulerUsb": "modules.schedule.Scheduler",
"com1": "modules.port.SerialPort",
"preProcessor": "modules.processing.PreProcessor",
"fileExporter": "modules.export.FileExporter"
},
"project": {
"name": "GNSS Project",
"id": "afb9ae8ee1f411eab6ae00265e5d7c70",
"description": "Project for testing the GNSS."
},
"node":{
"name": "GNSS Sensor Node 1",
"id": "044ba088e1f511eab6ae00265e5d7c70",
"description": "The only sensor node in this project."
},
"intercom": {
"mqtt": {
"host": "127.0.0.1",
"port": 1883,
"keepAlive": 60,
"topic": "openadms",
"tls": false
}
}
},
"sensors": {
"gnss": {
"description": "Mosaic-X5",
"type": "GNSS",
"observations": [
{
"name": "getValues",
"description": "gets gnss nmea-gga",
"enabled": true,
"nextReceiver": 0,
"onetime": true,
"passiveMode": true,
"target": "Mosaic-X5",
"type": "observation",
"receivers": [
"preProcessor",
"fileExporter"
],
"requestsOrder": [
"draft"
],
"requestSets": {
"draft": {
"enabled": true,
"request": "",
"response": "",
"responseDelimiter": "\r\n",
"responsePattern": "(?P<gga>\\$.*)",
"sleepTime": 1.0
}
},
"responseSets": {
"gga": {
"type": "string",
"unit": ""
}
},
"sleepTime": 1.0
}
]
}
},
"modules": {
"ports": {
"serial": {
"com1": {
"port": "/dev/ttyACM1",
"baudRate": 115200,
"byteSize": 8,
"stopBits": 1,
"parity": "none",
"timeout": 0.0,
"softwareFlowControl": false,
"hardwareFlowControl": false,
"maxAttempts": 1
}
}
},
"schedulers": {
"schedulerUsb": {
"port": "com1",
"sensor": "gnss",
"schedules": [
{
"enabled": true,
"startDate": "2020-08-18",
"endDate": "2020-12-21",
"weekdays": {},
"observations": [
"getValues"
]
}
]
}
},
"fileExporter": {
"fileExtension": ".txt",
"fileName": "{{port}}_{{date}}",
"fileRotation": "monthly",
"paths": [
"./data"
],
"separator": ";",
"dateTimeFormat": "YYYY-MM-DDTHH:mm:ss.SSSSS",
"saveObservationId": false
}
}
}
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-9-1 21:21
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社