0.2.0 • Published 5 years ago

ads-b v0.2.0

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

Build Status

ads-b

Node package to decode ADS-B messages

Status

There are a number of messages that can be emitted from an aircraft, this library currently supports the following:

TypeCodeDescriptionStatus
1-4Identification
5-8Surface Position
9-18Airborne Position BARO
19Airborne Velocities
20-22Airborne Position GNSS
28Aircraft Status
29Target State & Status
31Operation Status

Message Example

The library takes input like 8D4840D6202CC371C32CE0576098 and, if successfull, will return the decoded message as:

{
  ca: 5,
  data: {
    callsign: 'KLM1023_'
  },
  df: 17,
  icao: '4840D6',
  messageType: 'AircraftIdentifier',
  pi: '576098',
  tc: 4
}

Install

npm i ads-b

Usage

JavaScript

const decoders = require('ads-b');

const adsb = new decoders.ADSBVersion2Decoder();
const message = adsb.decode('8D4840D6202CC371C32CE0576098');
console.log(message);
0.2.0

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago