Socket
Book a DemoInstallSign in
Socket

nmea0183-signalk

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nmea0183-signalk

NMEA0183 to Signal K parser

0.5.0
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
2
Weekly downloads
 
Created
Source

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.

Keywords

nmea

FAQs

Package last updated on 28 Jul 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.