signalk-server
Version:
An implementation of a [Signal K](http://signalk.org) server for boats.
62 lines (57 loc) • 1.27 kB
JSON
{
"vessel": {
"name": "Volare",
"brand": "Friendship",
"type": "22",
"uuid": "10101010",
"dimensions": {
"length": 7,
"width": 2.5,
"mast": 10,
"depthTransducer": 0.5,
"keel": 1.5
}
},
"interfaces": {},
"pipedProviders": [
{
"id": "nmeaFromFile",
"pipeElements": [
{
"type": "providers/serialport",
"options": {
"device": "/dev/ttyUSB0",
"baudrate": 4800,
"toStdout": ["nmea0183out1", "nmea0183out2"]
},
"optionMappings": [
{
"fromAppProperty": "argv.nmeadevice",
"toOption": "device"
},
{
"fromAppProperty": "argv.nmeabaudrate",
"toOption": "baudrate"
}
]
},
{
"type": "providers/nmea0183-signalk",
"options": {
"sentenceEvent": "nmea0183in1"
},
"optionMappings": [
{
"fromAppProperty": "selfId",
"toOption": "selfId"
},
{
"fromAppProperty": "selfType",
"toOption": "selfType"
}
]
}
]
}
]
}