go1090

package module
v0.0.0-...-e4b1dd4 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2018 License: MIT Imports: 4 Imported by: 0

README

go1090

ADS-B (Mode S) message parser implemented with golang.

This library uses the output of rtl-adsb.exe from RTL-SDR package.

  • Download pre-built windows RTL-SDR driver and softwares include rtl-adsb : LINK

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartReceive

func StartReceive(execPath string, handler MessageHandler) (func(), error)

StartReceive function.

Types

type ADSBMsg

type ADSBMsg struct {
	DF     uint8    // Downlink Format
	CA     uint8    // Capability (additional identifier)
	ICAO24 [3]uint8 // ICAO aircraft address
	DATA   [7]uint8 // Data or Type code [TC]
	PI     [3]uint8 // Parity / Interrogator ID
}

ADSBMsg : ADS-B (Mode S) message.

func (*ADSBMsg) PrintMessage

func (m *ADSBMsg) PrintMessage()

PrintMessage :

type MessageHandler

type MessageHandler func(*ADSBMsg)

MessageHandler is function for handling ADS-B Message.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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