Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadGroundTrack ¶
ReadGroundTrack reads the GroundTrack from a 56 bits data field
Types ¶
type CompactPositionReportingFormat ¶
type CompactPositionReportingFormat byte
CompactPositionReportingFormat is the CPR (Compact Position Reporting) format definition
Specified in Doc 9871 / A.2.3.3.3
const ( // CPRFormatEven denotes an even format coding CPRFormatEven CompactPositionReportingFormat = 0 // CPRFormatOdd indicates an odd format coding CPRFormatOdd CompactPositionReportingFormat = 1 )
func ReadCompactPositionReportingFormat ¶
func ReadCompactPositionReportingFormat(data []byte) CompactPositionReportingFormat
ReadCompactPositionReportingFormat reads the CompactPositionReportingFormat from a 56 bits data field
func (CompactPositionReportingFormat) ToString ¶
func (format CompactPositionReportingFormat) ToString() string
ToString returns a basic, but readable, representation of the field
type EncodedLatitude ¶
type EncodedLatitude uint32
EncodedLatitude is the encoded latitude
Specified in Doc 9871 / C.2.6
func ReadEncodedLatitude ¶
func ReadEncodedLatitude(data []byte) EncodedLatitude
ReadEncodedLatitude reads the EncodedLatitude from a 56 bits data field
func (EncodedLatitude) ToString ¶
func (encodedLatitude EncodedLatitude) ToString() string
ToString returns a basic, but readable, representation of the field
type EncodedLongitude ¶
type EncodedLongitude uint32
EncodedLongitude is the encoded longitude
Specified in Doc 9871 / C.2.6
func ReadEncodedLongitude ¶
func ReadEncodedLongitude(data []byte) EncodedLongitude
ReadEncodedLongitude reads the EncodedLongitude from a 56 bits data field
func (EncodedLongitude) ToString ¶
func (encodedLongitude EncodedLongitude) ToString() string
ToString returns a basic, but readable, representation of the field
type MovementStatus ¶
type MovementStatus int
MovementStatus is the status of the Movement information
const ( // MSNoInformation indicates no information MSNoInformation MovementStatus = 0 // MSAircraftStopped indicates that the aircraft is stopped MSAircraftStopped MovementStatus = 1 // MSAboveMaximum indicates that the Movement is above the maximum MSAboveMaximum MovementStatus = 124 // MSReservedDecelerating indicates that the value is reserved MSReservedDecelerating MovementStatus = 125 // MSReservedAccelerating indicates that the value is reserved MSReservedAccelerating MovementStatus = 126 // MSReservedBackingUp indicates that the value is reserved MSReservedBackingUp MovementStatus = 127 )
func ReadMovement ¶
func ReadMovement(data []byte) (float32, MovementStatus)
ReadMovement reads the Movement from a 56 bits data field
func (MovementStatus) ToString ¶ added in v0.6.0
func (movementStatus MovementStatus) ToString() string
ToString returns a basic, but readable, representation of the field