0.5.0 • Published 7 years ago

nmea0183-signalk v0.5.0

Weekly downloads
5
License
Apache-2.0
Repository
github
Last release
7 years ago

signalk-parser-nmea0183

Build Status

A Node.js stream.Transform which converts NMEA 0183 sentences into Signal K sparse messages.

Supported Sentences

The following is the list of sentences the parser supports. Pull requests welcome!

Installation and Use

$ git clone https://github.com/SignalK/signalk-parser-nmea0183.git
$ cd signalk-parser-nmea0183
$ npm install
$ echo '$IIDBT,035.53,f,010.83,M,005.85,F*23' | ./bin/nmea0183-signalk

Should return something like this:

{
  "self": "D344B1D0",
  "version": "1",
  "vessels": {
    "D344B1D0": {
      "uuid": "D344B1D0",
      "environment": {
        "depth": {
          "belowTransducer": {
            "value": 10.83,
            "source": {
              "type": "NMEA0183",
              "sentence": "DBT",
              "label": "signalk/signalk-parser-nmea0183",
              "talker": "II"
            },
            "timestamp": "2016-04-15T17:56:52.000Z"
          }
        }
      }
    }
  }
}

You can also pipe a file into the parser CLI:

$ cat some-nmea-file.log | ./bin/nmea0183-signalk

Use as a Node Module

See https://github.com/SignalK/signalk-server-node/blob/master/providers/nmea0183-signalk.js for an example in a Node application.

0.5.0

7 years ago

0.4.1

7 years ago

0.4.0

7 years ago

0.3.0

7 years ago

0.2.3

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.1.12

10 years ago

0.1.11

10 years ago

0.1.10

10 years ago

0.1.9

10 years ago

0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago