sbsmessage

package
v0.0.0-...-bebcb30 Latest Latest
Warning

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

Go to latest
Published: May 27, 2018 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SBSMessage

type SBSMessage struct {
	// contains filtered or unexported fields
}

*

  • Basestation messages consist of comma separated fields described here
  • @see http://woodair.net/SBS/Article/Barebones42_Socket_Data.htm *
  • Different message types contain different data, eg callsign information
  • is not usually transmitted alongside positional information, however
  • a common 'flight id' is transmitted for each flight so different attributes
  • such as call sign, altitude, position etc can be tied together using the
  • flightid field.

func (*SBSMessage) FromString

func (message *SBSMessage) FromString(message_string string) (err error)

func (SBSMessage) GetAltitude

func (message SBSMessage) GetAltitude() (altitude int, err error)

func (SBSMessage) GetCallsign

func (message SBSMessage) GetCallsign() (callsign string, err error)

func (SBSMessage) GetFlightId

func (message SBSMessage) GetFlightId() (flightid string, err error)

func (SBSMessage) GetLatLong

func (message SBSMessage) GetLatLong() (lat float64, lon float64, err error)

Jump to

Keyboard shortcuts

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