go-adsb

module
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2023 License: MIT

README

Overview

PkgGoDev GitHub GitHub tag (latest SemVer) Build Status codecov

go-adsb is a Go module that includes packages for working with ADS-B and Mode S aircraft transponder data.

beast

The beast package is a low-level library for handling data in Mode S Beast format, as provided by common software such as dump1090. Decoder provides a consumer for an io.Reader such as net.Conn, which will then parse a Beast stream into individual frames. These frames are passed to a BinaryUnmarshaler via Decode. The provided Frame is a BinaryUnmarshaler that provides methods to extract the Beast data such as timestamp and signal level, as well as the enclosed Mode S or ADS-B data.

adsb

The adsb package is a library for decoding Mode S and ADS-B transponder messages. RawMessage is a low-level wrapper that provides access to arbitrary bit sequences and named message fields. Message is a higher-level abstraction that provides functions to retrieve decoded values such as altitude and callsign from the encoded data.

Both Message and RawMessage designed to accept a beast.Frame to provide a complete solution for decoding usable values from an incoming data stream.

adsbtype

The adsbtype package provides constants for Mode S and ADS-B data fields that have fixed values. Converting the value to a provided data type allows the text description of the value to be returned via the %s operator in Printf-style operations.

Usage

See the documentation on pkg.go.dev for import paths and usage information.

About

go-adsb is maintained by Collin Kreklow. The source code is licensed under the terms of the MIT license, see LICENSE.txt for further information.

Directories

Path Synopsis
Package adsb provides objects and methods for decoding and managing raw ADS-B messages.
Package adsb provides objects and methods for decoding and managing raw ADS-B messages.
Package adsbtype provides types and constant values for the fields and values in the ADS-B Mode S and Extended Squitter specifications.
Package adsbtype provides types and constant values for the fields and values in the ADS-B Mode S and Extended Squitter specifications.
Package beast provides objects and methods for decoding and managing raw Mode-S Beast format frames.
Package beast provides objects and methods for decoding and managing raw Mode-S Beast format frames.
internal
Package internal contains mock objects for testing.
Package internal contains mock objects for testing.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL