vokkim / nmea0183-to-nmea0183

Signal K Node server plugin to forward and filter NMEA0183 input sentences

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nmea0183-to-nmea0183

Signal K Node server plugin to filter and forward NMEA0183 sentences.

Usage

  1. Add NMEA0183 provider to SignalK configuration with a sentenceEvent option:
  },{
    "type": "providers/nmea0183-signalk",
    "options":{
      "sentenceEvent": "myNMEA0183InputEvent"
    },
    "optionMappings": [
      ...
    ]
  }, {
  1. Activate the plugin and add a new configuration block that lists all NMEA0183 sentences and describes the internal SignalK server input and output events.

  1. Add SignalK configuration to forward sentences to specific serialport configuration with matching toStdout:
...
  }, {
    "id": "nmea-out",
    "pipeElements": [{
      "type": "providers/serialport",
      "options": {
        "device": "/dev/nmea-digyacht",
        "baudrate": 4800,
        "toStdout": ["myNMEA0183OutputEvent"]
      }
    }, {
...

Contribute

Use GitHub issues and Pull Requests.

License

MIT

About

Signal K Node server plugin to forward and filter NMEA0183 input sentences

License:MIT License


Languages

Language:JavaScript 100.0%