fields

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ACASOperational

type ACASOperational byte

ACASOperational is the Not ACAS flag definition

Specified in Doc 9871 / C.2.3.10.3

const (
	// AONotOperational indicates TCAS/ACAS is NOT Operational
	AONotOperational ACASOperational = 0
	// AOOperational indicates TCAS/ACAS IS Operational
	AOOperational ACASOperational = 1
)

func ReadACASOperational

func ReadACASOperational(data []byte) ACASOperational

ReadACASOperational reads the ACASOperational from a 56 bits data field

func (ACASOperational) ToString

func (status ACASOperational) ToString() string

ToString returns a basic, but readable, representation of the field

type ACASResolutionAdvisoryActiveV1

type ACASResolutionAdvisoryActiveV1 byte

ACASResolutionAdvisoryActiveV1 is the ACAS Resolution Advisory Active definition

Specified in Doc 9871 / B.2.3.10.4

const (
	// ARAV1NotActive indicates ACAS II or ACAS RA not active
	ARAV1NotActive ACASResolutionAdvisoryActiveV1 = 0
	// ARAV1Active indicates ACAS RA is active
	ARAV1Active ACASResolutionAdvisoryActiveV1 = 1
)

func ReadACASResolutionAdvisoryActiveV1

func ReadACASResolutionAdvisoryActiveV1(data []byte) ACASResolutionAdvisoryActiveV1

ReadACASResolutionAdvisoryActiveV1 reads the ACASResolutionAdvisoryActiveV1 from a 56 bits data field

func (ACASResolutionAdvisoryActiveV1) ToString

func (status ACASResolutionAdvisoryActiveV1) ToString() string

ToString returns a basic, but readable, representation of the field

type ACASResolutionAdvisoryActiveV2

type ACASResolutionAdvisoryActiveV2 byte

ACASResolutionAdvisoryActiveV2 is the ACAS Resolution Advisory Active definition

Specified in Doc 9871 / C.2.3.10.4

const (
	// ARAV2NotActive indicates TCAS II or ACAS RA not active
	ARAV2NotActive ACASResolutionAdvisoryActiveV2 = 0
	// ARAV2Active indicates TCAS/ACAS RA is active
	ARAV2Active ACASResolutionAdvisoryActiveV2 = 1
)

func ReadACASResolutionAdvisoryActiveV2

func ReadACASResolutionAdvisoryActiveV2(data []byte) ACASResolutionAdvisoryActiveV2

ReadACASResolutionAdvisoryActiveV2 reads the ACASResolutionAdvisoryActiveV2 from a 56 bits data field

func (ACASResolutionAdvisoryActiveV2) ToString

func (status ACASResolutionAdvisoryActiveV2) ToString() string

ToString returns a basic, but readable, representation of the field

type AirReferencedVelocityReportCapability

type AirReferencedVelocityReportCapability byte

AirReferencedVelocityReportCapability is the Air Referenced Velocity Report Capability definition

Specified in Doc 9871 / B.2.3.10.3

const (
	// ARVNoCapability indicates No capability for sending messages to support Air-Referenced Velocity Reports
	ARVNoCapability AirReferencedVelocityReportCapability = 0
	// ARVCapable indicates Capability of sending messages to support Air-Referenced Velocity Reports
	ARVCapable AirReferencedVelocityReportCapability = 1
)

func ReadAirReferencedVelocityReportCapability

func ReadAirReferencedVelocityReportCapability(data []byte) AirReferencedVelocityReportCapability

ReadAirReferencedVelocityReportCapability reads the AirReferencedVelocityReportCapability from a 56 bits data field

func (AirReferencedVelocityReportCapability) ToString

ToString returns a basic, but readable, representation of the field

type AirborneCapabilityClassV1

type AirborneCapabilityClassV1 struct {
	NotACASStatus                            NotACASStatus
	CockpitDisplayOfTrafficInformationStatus CockpitDisplayOfTrafficInformationStatus
	AirReferencedVelocityReportCapability    AirReferencedVelocityReportCapability
	TargetStateReportCapability              TargetStateReportCapability
	TargetChangeReportCapability             TargetChangeReportCapability
}

AirborneCapabilityClassV1 is the Airborne Capability Class definition

Specified in Doc 9871 / B.2.3.10.3

func ReadAirborneCapabilityClassV1

func ReadAirborneCapabilityClassV1(data []byte) AirborneCapabilityClassV1

ReadAirborneCapabilityClassV1 reads the AirborneCapabilityClassV1 from a 56 bits data field

func (AirborneCapabilityClassV1) ToString

func (capability AirborneCapabilityClassV1) ToString() string

ToString returns a basic, but readable, representation of the field

type AirborneCapabilityClassV2

type AirborneCapabilityClassV2 struct {
	ACASOperational                       ACASOperational
	ExtendedSquitterIn                    ExtendedSquitterIn
	AirReferencedVelocityReportCapability AirReferencedVelocityReportCapability
	TargetStateReportCapability           TargetStateReportCapability
	TargetChangeReportCapability          TargetChangeReportCapability
	UniversalAccessTransceiverCapability  UniversalAccessTransceiverCapability
}

AirborneCapabilityClassV2 is the Airborne Capability Class definition

Specified in Doc 9871 / C.2.3.10.3

func ReadAirborneCapabilityClassV2

func ReadAirborneCapabilityClassV2(data []byte) AirborneCapabilityClassV2

ReadAirborneCapabilityClassV2 reads the AirborneCapabilityClassV2 from a 56 bits data field

func (AirborneCapabilityClassV2) ToString

func (capability AirborneCapabilityClassV2) ToString() string

ToString returns a basic, but readable, representation of the field

type AirborneOperationalMode

type AirborneOperationalMode struct {
	ACASResolutionAdvisoryActive ACASResolutionAdvisoryActiveV2
	IdentSwitchActive            IdentSwitchActive
	SingleAntennaFlag            SingleAntennaFlag
	SystemDesignAssurance        SystemDesignAssurance
}

AirborneOperationalMode is the Operational Mode definition

Specified in Doc 9871 / C.2.3.10.4

func ReadAirborneOperationalMode

func ReadAirborneOperationalMode(data []byte) AirborneOperationalMode

ReadAirborneOperationalMode reads the AirborneOperationalMode from a 56 bits data field

func (AirborneOperationalMode) ToString

func (mode AirborneOperationalMode) ToString() string

ToString returns a basic, but readable, representation of the field

type ApproachLandingOperationalCapabilities

type ApproachLandingOperationalCapabilities byte

ApproachLandingOperationalCapabilities is the Approach Landing Operational Capabilities

Specified in Doc 9871 / A.2.3.11.5

const (
	// ALOCReserved0 is reserved
	ALOCReserved0 ApproachLandingOperationalCapabilities = 0
	// ALOCReserved1 is reserved
	ALOCReserved1 ApproachLandingOperationalCapabilities = 1
	// ALOCReserved2 is reserved
	ALOCReserved2 ApproachLandingOperationalCapabilities = 2
	// ALOCReserved3 is reserved
	ALOCReserved3 ApproachLandingOperationalCapabilities = 3
	// ALOCReserved4 is reserved
	ALOCReserved4 ApproachLandingOperationalCapabilities = 4
	// ALOCReserved5 is reserved
	ALOCReserved5 ApproachLandingOperationalCapabilities = 5
	// ALOCReserved6 is reserved
	ALOCReserved6 ApproachLandingOperationalCapabilities = 6
	// ALOCReserved7 is reserved
	ALOCReserved7 ApproachLandingOperationalCapabilities = 7
	// ALOCReserved8 is reserved
	ALOCReserved8 ApproachLandingOperationalCapabilities = 8
	// ALOCReserved9 is reserved
	ALOCReserved9 ApproachLandingOperationalCapabilities = 9
	// ALOCReserved10 is reserved
	ALOCReserved10 ApproachLandingOperationalCapabilities = 10
	// ALOCReserved11 is reserved
	ALOCReserved11 ApproachLandingOperationalCapabilities = 11
	// ALOCReserved12 is reserved
	ALOCReserved12 ApproachLandingOperationalCapabilities = 12
	// ALOCReserved13 is reserved
	ALOCReserved13 ApproachLandingOperationalCapabilities = 13
	// ALOCReserved14 is reserved
	ALOCReserved14 ApproachLandingOperationalCapabilities = 14
	// ALOCReserved15 is reserved
	ALOCReserved15 ApproachLandingOperationalCapabilities = 15
)

func ReadApproachLandingOperationalCapabilities

func ReadApproachLandingOperationalCapabilities(data []byte) ApproachLandingOperationalCapabilities

ReadApproachLandingOperationalCapabilities reads the ApproachLandingOperationalCapabilities from a 56 bits data field

func (ApproachLandingOperationalCapabilities) ToString

func (capabilities ApproachLandingOperationalCapabilities) ToString() string

ToString returns a basic, but readable, representation of the field

type ApproachLandingOperationalCapabilityStatus

type ApproachLandingOperationalCapabilityStatus byte

ApproachLandingOperationalCapabilityStatus is the Approach Landing Operational Capability Status

Specified in Doc 9871 / A.2.3.11.9

const (
	// ALOCSReserved0 is reserved
	ALOCSReserved0 ApproachLandingOperationalCapabilityStatus = 0
	// ALOCSReserved1 is reserved
	ALOCSReserved1 ApproachLandingOperationalCapabilityStatus = 1
	// ALOCSReserved2 is reserved
	ALOCSReserved2 ApproachLandingOperationalCapabilityStatus = 2
	// ALOCSReserved3 is reserved
	ALOCSReserved3 ApproachLandingOperationalCapabilityStatus = 3
	// ALOCSReserved4 is reserved
	ALOCSReserved4 ApproachLandingOperationalCapabilityStatus = 4
	// ALOCSReserved5 is reserved
	ALOCSReserved5 ApproachLandingOperationalCapabilityStatus = 5
	// ALOCSReserved6 is reserved
	ALOCSReserved6 ApproachLandingOperationalCapabilityStatus = 6
	// ALOCSReserved7 is reserved
	ALOCSReserved7 ApproachLandingOperationalCapabilityStatus = 7
	// ALOCSReserved8 is reserved
	ALOCSReserved8 ApproachLandingOperationalCapabilityStatus = 8
	// ALOCSReserved9 is reserved
	ALOCSReserved9 ApproachLandingOperationalCapabilityStatus = 9
	// ALOCSReserved10 is reserved
	ALOCSReserved10 ApproachLandingOperationalCapabilityStatus = 10
	// ALOCSReserved11 is reserved
	ALOCSReserved11 ApproachLandingOperationalCapabilityStatus = 11
	// ALOCSReserved12 is reserved
	ALOCSReserved12 ApproachLandingOperationalCapabilityStatus = 12
	// ALOCSReserved13 is reserved
	ALOCSReserved13 ApproachLandingOperationalCapabilityStatus = 13
	// ALOCSReserved14 is reserved
	ALOCSReserved14 ApproachLandingOperationalCapabilityStatus = 14
	// ALOCSReserved15 is reserved
	ALOCSReserved15 ApproachLandingOperationalCapabilityStatus = 15
)

func ReadApproachLandingOperationalCapabilityStatus

func ReadApproachLandingOperationalCapabilityStatus(data []byte) ApproachLandingOperationalCapabilityStatus

ReadApproachLandingOperationalCapabilityStatus reads the ApproachLandingOperationalCapabilityStatus from a 56 bits data field

func (ApproachLandingOperationalCapabilityStatus) ToString

ToString returns a basic, but readable, representation of the field

type B2Low

type B2Low byte

B2Low is the B2 Low definition

Specified in Doc 9871 / B.2.3.10.3

const (
	// B2LGreaterThan70W indicates Greater than or equal to 70 Watts transmit power
	B2LGreaterThan70W B2Low = 0
	// B2LLessThan70W indicates Less than 70 Watts transmit power
	B2LLessThan70W B2Low = 1
)

func ReadB2Low

func ReadB2Low(data []byte) B2Low

ReadB2Low reads the B2Low from a 56 bits data field

func (B2Low) ToString

func (status B2Low) ToString() string

ToString returns a basic, but readable, representation of the field

type CockpitDisplayOfTrafficInformationStatus

type CockpitDisplayOfTrafficInformationStatus byte

CockpitDisplayOfTrafficInformationStatus is the Cockpit Display of Traffic Information Status definition

Specified in Doc 9871 / B.2.3.10.3

const (
	// CDTINotOperational indicates Traffic display not operational
	CDTINotOperational CockpitDisplayOfTrafficInformationStatus = 0
	// CDTIOperational indicates Traffic display operational
	CDTIOperational CockpitDisplayOfTrafficInformationStatus = 1
)

func ReadCockpitDisplayOfTrafficInformationStatus

func ReadCockpitDisplayOfTrafficInformationStatus(data []byte) CockpitDisplayOfTrafficInformationStatus

ReadCockpitDisplayOfTrafficInformationStatus reads the CockpitDisplayOfTrafficInformationStatus from a 56 bits data field

func (CockpitDisplayOfTrafficInformationStatus) ToString

ToString returns a basic, but readable, representation of the field

type EnRouteOperationalCapabilities

type EnRouteOperationalCapabilities byte

EnRouteOperationalCapabilities is the En Route Operational Capabilities

Specified in Doc 9871 / A.2.3.11.3

const (
	// EROCReserved0 is reserved
	EROCReserved0 EnRouteOperationalCapabilities = 0
	// EROCReserved1 is reserved
	EROCReserved1 EnRouteOperationalCapabilities = 1
	// EROCReserved2 is reserved
	EROCReserved2 EnRouteOperationalCapabilities = 2
	// EROCReserved3 is reserved
	EROCReserved3 EnRouteOperationalCapabilities = 3
	// EROCReserved4 is reserved
	EROCReserved4 EnRouteOperationalCapabilities = 4
	// EROCReserved5 is reserved
	EROCReserved5 EnRouteOperationalCapabilities = 5
	// EROCReserved6 is reserved
	EROCReserved6 EnRouteOperationalCapabilities = 6
	// EROCReserved7 is reserved
	EROCReserved7 EnRouteOperationalCapabilities = 7
	// EROCReserved8 is reserved
	EROCReserved8 EnRouteOperationalCapabilities = 8
	// EROCReserved9 is reserved
	EROCReserved9 EnRouteOperationalCapabilities = 9
	// EROCReserved10 is reserved
	EROCReserved10 EnRouteOperationalCapabilities = 10
	// EROCReserved11 is reserved
	EROCReserved11 EnRouteOperationalCapabilities = 11
	// EROCReserved12 is reserved
	EROCReserved12 EnRouteOperationalCapabilities = 12
	// EROCReserved13 is reserved
	EROCReserved13 EnRouteOperationalCapabilities = 13
	// EROCReserved14 is reserved
	EROCReserved14 EnRouteOperationalCapabilities = 14
	// EROCReserved15 is reserved
	EROCReserved15 EnRouteOperationalCapabilities = 15
)

func ReadEnRouteOperationalCapabilities

func ReadEnRouteOperationalCapabilities(data []byte) EnRouteOperationalCapabilities

ReadEnRouteOperationalCapabilities reads the EnRouteOperationalCapabilities from a 56 bits data field

func (EnRouteOperationalCapabilities) ToString

func (capabilities EnRouteOperationalCapabilities) ToString() string

ToString returns a basic, but readable, representation of the field

type EnRouteOperationalCapabilityStatus

type EnRouteOperationalCapabilityStatus byte

EnRouteOperationalCapabilityStatus is the En Route Operational Capability Status

Specified in Doc 9871 / A.2.3.11.7

const (
	// EROCSReserved0 is reserved
	EROCSReserved0 EnRouteOperationalCapabilityStatus = 0
	// EROCSReserved1 is reserved
	EROCSReserved1 EnRouteOperationalCapabilityStatus = 1
	// EROCSReserved2 is reserved
	EROCSReserved2 EnRouteOperationalCapabilityStatus = 2
	// EROCSReserved3 is reserved
	EROCSReserved3 EnRouteOperationalCapabilityStatus = 3
	// EROCSReserved4 is reserved
	EROCSReserved4 EnRouteOperationalCapabilityStatus = 4
	// EROCSReserved5 is reserved
	EROCSReserved5 EnRouteOperationalCapabilityStatus = 5
	// EROCSReserved6 is reserved
	EROCSReserved6 EnRouteOperationalCapabilityStatus = 6
	// EROCSReserved7 is reserved
	EROCSReserved7 EnRouteOperationalCapabilityStatus = 7
	// EROCSReserved8 is reserved
	EROCSReserved8 EnRouteOperationalCapabilityStatus = 8
	// EROCSReserved9 is reserved
	EROCSReserved9 EnRouteOperationalCapabilityStatus = 9
	// EROCSReserved10 is reserved
	EROCSReserved10 EnRouteOperationalCapabilityStatus = 10
	// EROCSReserved11 is reserved
	EROCSReserved11 EnRouteOperationalCapabilityStatus = 11
	// EROCSReserved12 is reserved
	EROCSReserved12 EnRouteOperationalCapabilityStatus = 12
	// EROCSReserved13 is reserved
	EROCSReserved13 EnRouteOperationalCapabilityStatus = 13
	// EROCSReserved14 is reserved
	EROCSReserved14 EnRouteOperationalCapabilityStatus = 14
	// EROCSReserved15 is reserved
	EROCSReserved15 EnRouteOperationalCapabilityStatus = 15
)

func ReadEnRouteOperationalCapabilityStatus

func ReadEnRouteOperationalCapabilityStatus(data []byte) EnRouteOperationalCapabilityStatus

ReadEnRouteOperationalCapabilityStatus reads the EnRouteOperationalCapabilityStatus from a 56 bits data field

func (EnRouteOperationalCapabilityStatus) ToString

func (status EnRouteOperationalCapabilityStatus) ToString() string

ToString returns a basic, but readable, representation of the field

type ExtendedSquitterIn

type ExtendedSquitterIn byte

ExtendedSquitterIn is the 1090ES IN (1090 MHz Extended Squitter) definition

Specified in Doc 9871 / C.2.3.10.3

const (
	// ESINoCapability indicates Aircraft has NO 1090ES Receive capability
	ESINoCapability ExtendedSquitterIn = 0
	// ESICapable indicates Aircraft has 1090ES Receive capability
	ESICapable ExtendedSquitterIn = 1
)

func ReadExtendedSquitterIn

func ReadExtendedSquitterIn(data []byte) ExtendedSquitterIn

ReadExtendedSquitterIn reads the ExtendedSquitterIn from a 56 bits data field

func (ExtendedSquitterIn) ToString

func (status ExtendedSquitterIn) ToString() string

ToString returns a basic, but readable, representation of the field

type GPSAntenna

type GPSAntenna struct {
	GPSAntennaLateral      GPSAntennaLateral
	GPSAntennaLongitudinal GPSAntennaLongitudinal
}

GPSAntenna is the Lateral Axis GPS Antenna Offset Encoding definition

Specified in Doc 9871 / Table C-26, C33 and C-34

func ReadGPSAntenna

func ReadGPSAntenna(data []byte) GPSAntenna

ReadGPSAntenna reads the GPS Antenna from a 56 bits data field

func (GPSAntenna) ToString

func (antenna GPSAntenna) ToString() string

ToString returns a basic, but readable, representation of the field

type GPSAntennaLateral

type GPSAntennaLateral byte

GPSAntennaLateral is the Lateral Axis GPS Antenna Offset Encoding definition

Specified in Doc 9871 / Table C-33

const (
	// GLATNoData indicates No Data
	GLATNoData GPSAntennaLateral = 0
	// GLATLeft2Meters indicates Direction Left at 2 Meters
	GLATLeft2Meters GPSAntennaLateral = 1
	// GLATLeft4Meters indicates Direction Left at 4 Meters
	GLATLeft4Meters GPSAntennaLateral = 2
	// GLATLeft6Meters indicates Direction Left at 6 Meters
	GLATLeft6Meters GPSAntennaLateral = 3
	// GLATRight0Meter indicates Direction Right at 0 Meters
	GLATRight0Meter GPSAntennaLateral = 4
	// GLATRight02Meters indicates Direction Right 2 Meters
	GLATRight02Meters GPSAntennaLateral = 5
	// GLATRight4Meters indicates Direction Right 4 Meters
	GLATRight4Meters GPSAntennaLateral = 6
	// GLATRight6Meters indicates Direction Right 6 Meters
	GLATRight6Meters GPSAntennaLateral = 7
)

func ReadGPSAntennaLateral

func ReadGPSAntennaLateral(data []byte) GPSAntennaLateral

ReadGPSAntennaLateral reads the GPSAntennaLateral from a 56 bits data field

func (GPSAntennaLateral) ToString

func (data GPSAntennaLateral) ToString() string

ToString returns a basic, but readable, representation of the field

type GPSAntennaLongitudinal

type GPSAntennaLongitudinal byte

GPSAntennaLongitudinal is the Lateral Axis GPS Antenna Offset Encoding definition

Specified in Doc 9871 / Table C-33

const (
	// GLONNoData indicates No Data
	GLONNoData GPSAntennaLongitudinal = 0
	// GLONCompensatedBySensor indicates the Antenna Offset is compensated by the Sensor to be the position of the ADS-B participant’s ADS-B Position Reference Point
	GLONCompensatedBySensor GPSAntennaLongitudinal = 1

	// GLON2Meters indicates 2 meters
	GLON2Meters GPSAntennaLongitudinal = 2
	// GLON4Meters indicates 4 meters
	GLON4Meters GPSAntennaLongitudinal = 3
	// GLON6Meters indicates 6 meters
	GLON6Meters GPSAntennaLongitudinal = 4
	// GLON8Meters indicates 8 meters
	GLON8Meters GPSAntennaLongitudinal = 5

	// GLON10Meters indicates 10 meters
	GLON10Meters GPSAntennaLongitudinal = 6
	// GLON12Meters indicates 12 meters
	GLON12Meters GPSAntennaLongitudinal = 7
	// GLON14Meters indicates 14 meters
	GLON14Meters GPSAntennaLongitudinal = 8
	// GLON16Meters indicates 16 meters
	GLON16Meters GPSAntennaLongitudinal = 9
	// GLON18Meters indicates 18 meters
	GLON18Meters GPSAntennaLongitudinal = 10

	// GLON20Meters indicates 20 meters
	GLON20Meters GPSAntennaLongitudinal = 11
	// GLON22Meters indicates 22 meters
	GLON22Meters GPSAntennaLongitudinal = 12
	// GLON24Meters indicates 24 meters
	GLON24Meters GPSAntennaLongitudinal = 13
	// GLON26Meters indicates 26 meters
	GLON26Meters GPSAntennaLongitudinal = 14
	// GLON28Meters indicates 28 meters
	GLON28Meters GPSAntennaLongitudinal = 15

	// GLON30Meters indicates 30 meters
	GLON30Meters GPSAntennaLongitudinal = 16
	// GLON32Meters indicates 32 meters
	GLON32Meters GPSAntennaLongitudinal = 17
	// GLON34Meters indicates 34 meters
	GLON34Meters GPSAntennaLongitudinal = 18
	// GLON36Meters indicates 36 meters
	GLON36Meters GPSAntennaLongitudinal = 19
	// GLON38Meters indicates 38 meters
	GLON38Meters GPSAntennaLongitudinal = 20

	// GLON40Meters indicates 40 meters
	GLON40Meters GPSAntennaLongitudinal = 21
	// GLON42Meters indicates 42 meters
	GLON42Meters GPSAntennaLongitudinal = 22
	// GLON44Meters indicates 44 meters
	GLON44Meters GPSAntennaLongitudinal = 23
	// GLON46Meters indicates 46 meters
	GLON46Meters GPSAntennaLongitudinal = 24
	// GLON48Meters indicates 48 meters
	GLON48Meters GPSAntennaLongitudinal = 25

	// GLON50Meters indicates 50 meters
	GLON50Meters GPSAntennaLongitudinal = 26
	// GLON52Meters indicates 52 meters
	GLON52Meters GPSAntennaLongitudinal = 27
	// GLON54Meters indicates 54 meters
	GLON54Meters GPSAntennaLongitudinal = 28
	// GLON56Meters indicates 56 meters
	GLON56Meters GPSAntennaLongitudinal = 29
	// GLON58Meters indicates 58 meters
	GLON58Meters GPSAntennaLongitudinal = 30

	// GLON60Meters indicates 60 meters
	GLON60Meters GPSAntennaLongitudinal = 31
)

func ReadGPSAntennaLongitudinal

func ReadGPSAntennaLongitudinal(data []byte) GPSAntennaLongitudinal

ReadGPSAntennaLongitudinal reads the GPSAntennaLongitudinal from a 56 bits data field

func (GPSAntennaLongitudinal) ToString

func (data GPSAntennaLongitudinal) ToString() string

ToString returns a basic, but readable, representation of the field

type GeometricVerticalAccuracy

type GeometricVerticalAccuracy byte

GeometricVerticalAccuracy is the Geometric Vertical Accuracy definition

Specified in Doc 9871 / C.2.3.10.8

const (
	// GVAUnknownOrGreaterThan150m indicates Unknown or GVA >= 150 meters
	GVAUnknownOrGreaterThan150m GeometricVerticalAccuracy = 0
	// GVALowerThan150m indicates GVA <= 150 meters
	GVALowerThan150m GeometricVerticalAccuracy = 1
	// GVALowerThan45m indicates GVA <= 45 meters
	GVALowerThan45m GeometricVerticalAccuracy = 2
	// GVAReserved3 is reserved
	GVAReserved3 GeometricVerticalAccuracy = 3
)

func ReadGeometricVerticalAccuracy

func ReadGeometricVerticalAccuracy(data []byte) GeometricVerticalAccuracy

ReadGeometricVerticalAccuracy reads the GeometricVerticalAccuracy from a 56 bits data field

func (GeometricVerticalAccuracy) ToString

func (baro GeometricVerticalAccuracy) ToString() string

ToString returns a basic, but readable, representation of the field

type HorizontalReferenceDirection

type HorizontalReferenceDirection byte

HorizontalReferenceDirection is the Horizontal Reference Direction definition

Specified in Doc 9871 / B.2.3.10.13

const (
	// HRDTrueNorth indicates True North
	HRDTrueNorth HorizontalReferenceDirection = 0
	// HRDMagneticNorth indicates Magnetic North
	HRDMagneticNorth HorizontalReferenceDirection = 1
)

func ReadHorizontalReferenceDirection

func ReadHorizontalReferenceDirection(data []byte) HorizontalReferenceDirection

ReadHorizontalReferenceDirection reads the HorizontalReferenceDirection from a 56 bits data field

func (HorizontalReferenceDirection) ToString

func (direction HorizontalReferenceDirection) ToString() string

ToString returns a basic, but readable, representation of the field

type IdentSwitchActive

type IdentSwitchActive byte

IdentSwitchActive is the Ident Switch Active definition

Specified in Doc 9871 / B.2.3.10.4

const (
	// ISANotActive indicates Ident switch not active
	ISANotActive IdentSwitchActive = 0
	// ISAActive indicates Ident switch active - retained for 18 ±1 seconds
	ISAActive IdentSwitchActive = 1
)

func ReadIdentSwitchActive

func ReadIdentSwitchActive(data []byte) IdentSwitchActive

ReadIdentSwitchActive reads the IdentSwitchActive from a 56 bits data field

func (IdentSwitchActive) ToString

func (status IdentSwitchActive) ToString() string

ToString returns a basic, but readable, representation of the field

type LengthWidth

type LengthWidth byte

LengthWidth is the Aircraft Length And Width definition

Specified in Doc 9871 / B.2.3.10.11

const (
	// LWLength15Width11Point5 indicates Length lower than 15 meters and Width lower than 11.5 meters
	LWLength15Width11Point5 LengthWidth = 0
	// LWLength15Width23 indicates Length lower than 15 meters and Width lower than 23 meters
	LWLength15Width23 LengthWidth = 1
	// LWLength25Width28Point5 indicates Length lower than 25 meters and Width lower than 28.5 meters
	LWLength25Width28Point5 LengthWidth = 2
	// LWLength25Width34 indicates Length lower than 25 meters and Width lower than 34 meters
	LWLength25Width34 LengthWidth = 3
	// LWLength35Width33 indicates Length lower than 35 meters and Width lower than 33 meters
	LWLength35Width33 LengthWidth = 4
	// LWLength35Width38 indicates Length lower than 35 meters and Width lower than 38 meters
	LWLength35Width38 LengthWidth = 5
	// LWLength45Width39Point5 indicates Length lower than 45 meters and Width lower than 39.5 meters
	LWLength45Width39Point5 LengthWidth = 6
	// LWLength45Width45 indicates Length lower than 45 meters and Width lower than 45 meters
	LWLength45Width45 LengthWidth = 7
	// LWLength55Width45 indicates Length lower than 55 meters and Width lower than 45 meters
	LWLength55Width45 LengthWidth = 8
	// LWLength55Width52 indicates Length lower than 55 meters and Width lower than 52 meters
	LWLength55Width52 LengthWidth = 9
	// LWLength65Width59Point5 indicates Length lower than 65 meters and Width lower than 59 meters
	LWLength65Width59Point5 LengthWidth = 10
	// LWLength65Width67 indicates Length lower than 65 meters and Width lower than 67 meters
	LWLength65Width67 LengthWidth = 11
	// LWLength75Width72Point5 indicates Length lower than 75 meters and Width lower than 72.5 meters
	LWLength75Width72Point5 LengthWidth = 12
	// LWLength75Width80 indicates Length lower than 75 meters and Width lower than 80 meters
	LWLength75Width80 LengthWidth = 13
	// LWLength85Width80 indicates Length lower than 85 meters and Width lower than 80 meters
	LWLength85Width80 LengthWidth = 14
	// LWLength85Width90 indicates Length lower than 85 meters and Width lower than 90 meters
	LWLength85Width90 LengthWidth = 15
)

func ReadAircraftLengthAndWidth

func ReadAircraftLengthAndWidth(data []byte) LengthWidth

ReadAircraftLengthAndWidth reads the LengthWidth from a 56 bits data field

func (LengthWidth) ToString

func (status LengthWidth) ToString() string

ToString returns a basic, but readable, representation of the field

type NICBaro

type NICBaro byte

NICBaro is the NIC Baro definition

Specified in Doc 9871 / B.2.3.10.10

const (
	// NICBGilhamNotCrossChecked indicates that the barometric altitude that is being reported in the SubtypeAirborne
	// Position Message is based on a Gilham coded input that has not been cross-checked against another source of
	// pressure-altitude
	NICBGilhamNotCrossChecked NICBaro = 0
	// NICBGilhamCrossCheckedOrNonGilham indicates that the barometric altitude that is being reported in the SubtypeAirborne
	// Position Message is either based on a Gilham code input that has been cross-checked against another source of
	// pressure-altitude and verified as being consistent, or is based on a non-Gilham coded source
	NICBGilhamCrossCheckedOrNonGilham NICBaro = 1
)

func ReadNICBaro

func ReadNICBaro(data []byte) NICBaro

ReadNICBaro reads the NICBaro from a 56 bits data field

func (NICBaro) ToString

func (baro NICBaro) ToString() string

ToString returns a basic, but readable, representation of the field

type NICSupplementA

type NICSupplementA byte

NICSupplementA is the NIC Supplement A definition

Specified in Doc 9871 / B.2.3.10.6

const (
	// NICAZero indicates NICSupplementA = 0
	NICAZero NICSupplementA = 0
	// NICAOne indicates NICSupplementA = 1
	NICAOne NICSupplementA = 1
)

func ReadNICSupplementA

func ReadNICSupplementA(data []byte) NICSupplementA

ReadNICSupplementA reads the NICSupplementA from a 56 bits data field

func (NICSupplementA) ToString

func (supplement NICSupplementA) ToString() string

ToString returns a basic, but readable, representation of the field

type NICSupplementC

type NICSupplementC byte

NICSupplementC is the NIC Supplement definition

Specified in Doc 9871 / C.2.3.10.3

const (
	// NICCSZero indicates NICSupplementC = 0
	NICCSZero NICSupplementC = 0
	// NICCSOne indicates NICSupplementC = 1
	NICCSOne NICSupplementC = 1
)

func ReadNICSupplementC

func ReadNICSupplementC(data []byte) NICSupplementC

ReadNICSupplementC reads the NICSupplementC from a 56 bits data field

func (NICSupplementC) ToString

func (supplement NICSupplementC) ToString() string

ToString returns a basic, but readable, representation of the field

type NavigationAccuracyCategoryVelocity byte

NavigationAccuracyCategoryVelocity is the NACv (Navigation Accuracy Category for Velocity) definition

Specified in Doc 9871 / C.2.3.10.3

func ReadNavigationAccuracyCategoryVelocity added in v0.3.0

func ReadNavigationAccuracyCategoryVelocity(data []byte) NavigationAccuracyCategoryVelocity

ReadNavigationAccuracyCategoryVelocity reads the NavigationAccuracyCategoryVelocity from a 56 bits data field

func (category NavigationAccuracyCategoryVelocity) ToString() string

ToString returns a basic, but readable, representation of the field

type NavigationalAccuracyCategoryPositionV1 byte

NavigationalAccuracyCategoryPositionV1 is the Navigational Accuracy Category Position definition

Specified in Doc 9871 / B.2.3.10.7

const (
	// NACV1PEPUGreaterThan18Point52Km indicates EPU >= 18.52 km (10 NM) - Unknown accuracy
	NACV1PEPUGreaterThan18Point52Km NavigationalAccuracyCategoryPositionV1 = 0
	// NACV1PEPULowerThan18Point52Km indicates  EPU < 18.52 km (10 NM) - RNP-10 accuracy
	NACV1PEPULowerThan18Point52Km NavigationalAccuracyCategoryPositionV1 = 1
	// NACV1PEPULowerThan7Point408Km indicates EPU < 7.408 km (4 NM) - RNP-4 accuracy
	NACV1PEPULowerThan7Point408Km NavigationalAccuracyCategoryPositionV1 = 2
	// NACV1PEPULowerThan3Point704Km indicates EPU < 3.704 km (2 NM) - RNP-2 accuracy
	NACV1PEPULowerThan3Point704Km NavigationalAccuracyCategoryPositionV1 = 3
	// NACV1PEPUGreaterThan1852M indicates EPU < 1 852 m (1 NM) - RNP-1 accuracy
	NACV1PEPUGreaterThan1852M NavigationalAccuracyCategoryPositionV1 = 4
	// NACV1PEPULowerThan926M indicates EPU < 926 m (0.5 NM) - RNP-0.5 accuracy
	NACV1PEPULowerThan926M NavigationalAccuracyCategoryPositionV1 = 5
	// NACV1PEPUGreaterThan555Point6M indicates EPU < 555.6 m ( 0.3 NM) - RNP-0.3 accuracy
	NACV1PEPUGreaterThan555Point6M NavigationalAccuracyCategoryPositionV1 = 6
	// NACV1PEPULowerThan185Point2M indicates EPU < 185.2 m (0.1 NM) - RNP-0.1 accuracy
	NACV1PEPULowerThan185Point2M NavigationalAccuracyCategoryPositionV1 = 7
	// NACV1PEPUGreaterThan92Point6M indicates EPU < 92.6 m (0.05 NM) - e.g. GPS (with SA)
	NACV1PEPUGreaterThan92Point6M NavigationalAccuracyCategoryPositionV1 = 8
	// NACV1PEPULowerThan30MAndVEPULowerThan45M indicates EPU < 30 m and VEPU < 45 m - e.g. GPS (SA off)
	NACV1PEPULowerThan30MAndVEPULowerThan45M NavigationalAccuracyCategoryPositionV1 = 9
	// NACV1PEPULowerThan10MAndVEPULowerThan15M indicates EPU < 10 m and VEPU < 15 m - e.g. WAAS
	NACV1PEPULowerThan10MAndVEPULowerThan15M NavigationalAccuracyCategoryPositionV1 = 10
	// NACV1PEPULowerThan3MAndVEPULowerThan4M indicates EPU < 3 m and VEPU < 4 m - e.g. LAAS
	NACV1PEPULowerThan3MAndVEPULowerThan4M NavigationalAccuracyCategoryPositionV1 = 11
	// NACV1PReserved12 is reserved
	NACV1PReserved12 NavigationalAccuracyCategoryPositionV1 = 12
	// NACV1PReserved13 is reserved
	NACV1PReserved13 NavigationalAccuracyCategoryPositionV1 = 13
	// NACV1PReserved14 is reserved
	NACV1PReserved14 NavigationalAccuracyCategoryPositionV1 = 14
	// NACV1PReserved15 is reserved
	NACV1PReserved15 NavigationalAccuracyCategoryPositionV1 = 15
)

func ReadNavigationalAccuracyCategoryPositionV1

func ReadNavigationalAccuracyCategoryPositionV1(data []byte) NavigationalAccuracyCategoryPositionV1

ReadNavigationalAccuracyCategoryPositionV1 reads the NavigationalAccuracyCategoryPositionV1 from a 56 bits data field

func (category NavigationalAccuracyCategoryPositionV1) ToString() string

ToString returns a basic, but readable, representation of the field

type NavigationalAccuracyCategoryPositionV2 byte

NavigationalAccuracyCategoryPositionV2 is the Navigational Accuracy Category Position definition

Specified in Doc 9871 / Table C-13

const (
	// NACV2PEPUGreaterThan18Point52Km indicates EPU >= 18.52 km (10 NM) - Unknown accuracy
	NACV2PEPUGreaterThan18Point52Km NavigationalAccuracyCategoryPositionV2 = 0
	// NACV2PEPULowerThan18Point52Km indicates  EPU < 18.52 km (10 NM) - RNP-10 accuracy
	NACV2PEPULowerThan18Point52Km NavigationalAccuracyCategoryPositionV2 = 1
	// NACV2PEPULowerThan7Point408Km indicates EPU < 7.408 km (4 NM) - RNP-4 accuracy
	NACV2PEPULowerThan7Point408Km NavigationalAccuracyCategoryPositionV2 = 2
	// NACV2PEPULowerThan3Point704Km indicates EPU < 3.704 km (2 NM) - RNP-2 accuracy
	NACV2PEPULowerThan3Point704Km NavigationalAccuracyCategoryPositionV2 = 3
	// NACV2PEPUGreaterThan1852M indicates EPU < 1 852 m (1 NM) - RNP-1 accuracy
	NACV2PEPUGreaterThan1852M NavigationalAccuracyCategoryPositionV2 = 4
	// NACV2PEPULowerThan926M indicates EPU < 926 m (0.5 NM) - RNP-0.5 accuracy
	NACV2PEPULowerThan926M NavigationalAccuracyCategoryPositionV2 = 5
	// NACV2PEPUGreaterThan555Point6M indicates EPU < 555.6 m ( 0.3 NM) - RNP-0.3 accuracy
	NACV2PEPUGreaterThan555Point6M NavigationalAccuracyCategoryPositionV2 = 6
	// NACV2PEPULowerThan185Point2M indicates EPU < 185.2 m (0.1 NM) - RNP-0.1 accuracy
	NACV2PEPULowerThan185Point2M NavigationalAccuracyCategoryPositionV2 = 7
	// NACV2PEPUGreaterThan92Point6M indicates EPU < 92.6 m (0.05 NM) - e.g. GPS (with SA)
	NACV2PEPUGreaterThan92Point6M NavigationalAccuracyCategoryPositionV2 = 8
	// NACV2PEPULowerThan30M indicates EPU < 30 m - e.g. GPS (SA off)
	NACV2PEPULowerThan30M NavigationalAccuracyCategoryPositionV2 = 9
	// NACV2PEPULowerThan10M indicates EPU < 10 m - e.g. WAAS
	NACV2PEPULowerThan10M NavigationalAccuracyCategoryPositionV2 = 10
	// NACV2PEPULowerThan3M indicates EPU < 3 m - e.g. LAAS
	NACV2PEPULowerThan3M NavigationalAccuracyCategoryPositionV2 = 11
	// NACV2PReserved12 is reserved
	NACV2PReserved12 NavigationalAccuracyCategoryPositionV2 = 12
	// NACV2PReserved13 is reserved
	NACV2PReserved13 NavigationalAccuracyCategoryPositionV2 = 13
	// NACV2PReserved14 is reserved
	NACV2PReserved14 NavigationalAccuracyCategoryPositionV2 = 14
	// NACV2PReserved15 is reserved
	NACV2PReserved15 NavigationalAccuracyCategoryPositionV2 = 15
)

func ReadNavigationalAccuracyCategoryPositionV2

func ReadNavigationalAccuracyCategoryPositionV2(data []byte) NavigationalAccuracyCategoryPositionV2

ReadNavigationalAccuracyCategoryPositionV2 reads the NavigationalAccuracyCategoryPositionV2 from a 56 bits data field

func (category NavigationalAccuracyCategoryPositionV2) ToString() string

ToString returns a basic, but readable, representation of the field

type NotACASStatus

type NotACASStatus byte

NotACASStatus is the Not ACAS flag definition

Specified in Doc 9871 / B.2.3.10.3

const (
	// NotACASStatusOperationalUnknown indicates ACAS operational or unknown
	NotACASStatusOperationalUnknown NotACASStatus = 0
	// NotACASStatusNotInstalledNotOperational indicates ACAS not installed or not operational
	NotACASStatusNotInstalledNotOperational NotACASStatus = 1
)

func ReadNotACASStatus

func ReadNotACASStatus(data []byte) NotACASStatus

ReadNotACASStatus reads the NotACASStatus from a 56 bits data field

func (NotACASStatus) ToString

func (status NotACASStatus) ToString() string

ToString returns a basic, but readable, representation of the field

type OperationalMode

type OperationalMode struct {
	ACASResolutionAdvisoryActive ACASResolutionAdvisoryActiveV1
	IdentSwitchActive            IdentSwitchActive
	ReceivingATCServices         ReceivingATCServices
}

OperationalMode is the Operational Mode definition

Specified in Doc 9871 / B.2.3.10.4

func ReadOperationalMode

func ReadOperationalMode(data []byte) OperationalMode

ReadOperationalMode reads the OperationalMode from a 56 bits data field

func (OperationalMode) ToString

func (mode OperationalMode) ToString() string

ToString returns a basic, but readable, representation of the field

type PositionOffsetApplied

type PositionOffsetApplied byte

PositionOffsetApplied is the Position Offset Applied definition

Specified in Doc 9871 / B.2.3.10.3

const (
	// POANotADSB indicates Position transmitted is not the ADS-B position reference point
	POANotADSB PositionOffsetApplied = 0
	// POAIsADSB indicates Position transmitted is the ADS-B position reference point
	POAIsADSB PositionOffsetApplied = 1
)

func ReadPositionOffsetApplied

func ReadPositionOffsetApplied(data []byte) PositionOffsetApplied

ReadPositionOffsetApplied reads the PositionOffsetApplied from a 56 bits data field

func (PositionOffsetApplied) ToString

func (status PositionOffsetApplied) ToString() string

ToString returns a basic, but readable, representation of the field

type ReceivingATCServices

type ReceivingATCServices byte

ReceivingATCServices is the Receiving ATC Services definition

Specified in Doc 9871 / B.2.3.10.4

const (
	// RASNotReceivingATC indicates Aircraft not receiving ATC services
	RASNotReceivingATC ReceivingATCServices = 0
	// RASReceivingATC indicates Aircraft receiving ATC services
	RASReceivingATC ReceivingATCServices = 1
)

func ReadReceivingATCServices

func ReadReceivingATCServices(data []byte) ReceivingATCServices

ReadReceivingATCServices reads the ReceivingATCServices from a 56 bits data field

func (ReceivingATCServices) ToString

func (status ReceivingATCServices) ToString() string

ToString returns a basic, but readable, representation of the field

type SingleAntennaFlag

type SingleAntennaFlag byte

SingleAntennaFlag is the Single Antenna Flag definition

Specified in Doc 9871 / C.2.3.10.4

const (
	// SAFTwoAntennas indicates Ident switch not active
	SAFTwoAntennas SingleAntennaFlag = 0
	// SAFOneAntenna indicates Ident switch active - retained for 18 ±1 seconds
	SAFOneAntenna SingleAntennaFlag = 1
)

func ReadSingleAntennaFlag

func ReadSingleAntennaFlag(data []byte) SingleAntennaFlag

ReadSingleAntennaFlag reads the SingleAntennaFlag from a 56 bits data field

func (SingleAntennaFlag) ToString

func (status SingleAntennaFlag) ToString() string

ToString returns a basic, but readable, representation of the field

type SourceIntegrityLevel

type SourceIntegrityLevel byte

SourceIntegrityLevel is the Source Integrity Level definition

Specified in Doc 9871 / C.5.3.2.8

const (
	// SILLevel0 indicates Unknown or SIL > 1 * 10^-3 per flight hour or per sample
	SILLevel0 SourceIntegrityLevel = 0
	// SILLevel1 indicates SIL <= 1 * 10^-3 per flight hour or per sample
	SILLevel1 SourceIntegrityLevel = 1
	// SILLevel2 indicates SIL <= 1 * 10^-5 per flight hour or per sample
	SILLevel2 SourceIntegrityLevel = 2
	// SILLevel3 indicates SIL <= 1 * 10^-7 per flight hour or per sample
	SILLevel3 SourceIntegrityLevel = 3
)

func ReadSourceIntegrityLevel

func ReadSourceIntegrityLevel(data []byte) SourceIntegrityLevel

ReadSourceIntegrityLevel reads the SourceIntegrityLevel from a 56 bits data field

func (SourceIntegrityLevel) ToString

func (level SourceIntegrityLevel) ToString() string

ToString returns a basic, but readable, representation of the field

type SourceIntegrityLevelSupplement

type SourceIntegrityLevelSupplement byte

SourceIntegrityLevelSupplement is the Source Integrity Level Supplement definition

Specified in Doc 9871 / C.2.3.10.15

const (
	// SILSByHour indicates Probability of exceeding NIC radius of containment is based on "per hour"
	SILSByHour SourceIntegrityLevelSupplement = 0
	// SILSBySample indicates Probability of exceeding NIC radius of containment is based on "per sample"
	SILSBySample SourceIntegrityLevelSupplement = 1
)

func ReadSourceIntegrityLevelSupplement

func ReadSourceIntegrityLevelSupplement(data []byte) SourceIntegrityLevelSupplement

ReadSourceIntegrityLevelSupplement reads the SourceIntegrityLevelSupplement from a 56 bits data field

func (SourceIntegrityLevelSupplement) ToString

func (status SourceIntegrityLevelSupplement) ToString() string

ToString returns a basic, but readable, representation of the field

type Subtype

type Subtype byte

Subtype is Subtype of the message

Specified in Doc 9871 / Figure C-10

const (
	// SubtypeAirborne indicates airborne data
	SubtypeAirborne Subtype = 0
	// SubtypeSurface indicates surface data
	SubtypeSurface Subtype = 1
)

func ReadSubtype added in v0.3.0

func ReadSubtype(data []byte) Subtype

ReadSubtype reads the Subtype from a 56 bits data field

func (Subtype) ToString added in v0.3.0

func (subtype Subtype) ToString() string

ToString returns a basic, but readable, representation of the field

type SurfaceCapabilityClassV1

type SurfaceCapabilityClassV1 struct {
	PositionOffsetApplied                    PositionOffsetApplied
	CockpitDisplayOfTrafficInformationStatus CockpitDisplayOfTrafficInformationStatus
	B2Low                                    B2Low
}

SurfaceCapabilityClassV1 is the Capability Class Surface definition

Specified in Doc 9871 / B.2.3.10.3

func ReadSurfaceCapabilityClassV1

func ReadSurfaceCapabilityClassV1(data []byte) SurfaceCapabilityClassV1

ReadSurfaceCapabilityClassV1 reads the SurfaceCapabilityClassV1 from a 56 bits data field

func (SurfaceCapabilityClassV1) ToString

func (capability SurfaceCapabilityClassV1) ToString() string

ToString returns a basic, but readable, representation of the field

type SurfaceCapabilityClassV2

type SurfaceCapabilityClassV2 struct {
	ExtendedSquitterIn                   ExtendedSquitterIn
	B2Low                                B2Low
	UniversalAccessTransceiverCapability UniversalAccessTransceiverCapability
	NavigationAccuracyCategoryVelocity   NavigationAccuracyCategoryVelocity
	NICSupplementC                       NICSupplementC
}

SurfaceCapabilityClassV2 is the Capability Class Surface definition

Specified in Doc 9871 / C.2.3.10.3

func ReadSurfaceCapabilityClassV2

func ReadSurfaceCapabilityClassV2(data []byte) SurfaceCapabilityClassV2

ReadSurfaceCapabilityClassV2 reads the SurfaceCapabilityClassV2 from a 56 bits data field

func (SurfaceCapabilityClassV2) ToString

func (capability SurfaceCapabilityClassV2) ToString() string

ToString returns a basic, but readable, representation of the field

type SurfaceOperationalCapabilities

type SurfaceOperationalCapabilities byte

SurfaceOperationalCapabilities is the Surface Operational Capabilities format definition

Specified in Doc 9871 / A.2.3.11.6

const (
	// SOCReserved0 is reserved
	SOCReserved0 SurfaceOperationalCapabilities = 0
	// SOCReserved1 is reserved
	SOCReserved1 SurfaceOperationalCapabilities = 1
	// SOCReserved2 is reserved
	SOCReserved2 SurfaceOperationalCapabilities = 2
	// SOCReserved3 is reserved
	SOCReserved3 SurfaceOperationalCapabilities = 3
	// SOCReserved4 is reserved
	SOCReserved4 SurfaceOperationalCapabilities = 4
	// SOCReserved5 is reserved
	SOCReserved5 SurfaceOperationalCapabilities = 5
	// SOCReserved6 is reserved
	SOCReserved6 SurfaceOperationalCapabilities = 6
	// SOCReserved7 is reserved
	SOCReserved7 SurfaceOperationalCapabilities = 7
	// SOCReserved8 is reserved
	SOCReserved8 SurfaceOperationalCapabilities = 8
	// SOCReserved9 is reserved
	SOCReserved9 SurfaceOperationalCapabilities = 9
	// SOCReserved10 is reserved
	SOCReserved10 SurfaceOperationalCapabilities = 10
	// SOCReserved11 is reserved
	SOCReserved11 SurfaceOperationalCapabilities = 11
	// SOCReserved12 is reserved
	SOCReserved12 SurfaceOperationalCapabilities = 12
	// SOCReserved13 is reserved
	SOCReserved13 SurfaceOperationalCapabilities = 13
	// SOCReserved14 is reserved
	SOCReserved14 SurfaceOperationalCapabilities = 14
	// SOCReserved15 is reserved
	SOCReserved15 SurfaceOperationalCapabilities = 15
)

func ReadSurfaceOperationalCapabilities

func ReadSurfaceOperationalCapabilities(data []byte) SurfaceOperationalCapabilities

ReadSurfaceOperationalCapabilities reads the SurfaceOperationalCapabilities from a 56 bits data field

func (SurfaceOperationalCapabilities) ToString

func (capabilities SurfaceOperationalCapabilities) ToString() string

ToString returns a basic, but readable, representation of the field

type SurfaceOperationalCapabilityStatus

type SurfaceOperationalCapabilityStatus byte

SurfaceOperationalCapabilityStatus is the Surface Operational Capability Status format definition

Specified in Doc 9871 / A.2.3.11.10

const (
	// SOCSReserved0 is reserved
	SOCSReserved0 SurfaceOperationalCapabilityStatus = 0
	// SOCSReserved1 is reserved
	SOCSReserved1 SurfaceOperationalCapabilityStatus = 1
	// SOCSReserved2 is reserved
	SOCSReserved2 SurfaceOperationalCapabilityStatus = 2
	// SOCSReserved3 is reserved
	SOCSReserved3 SurfaceOperationalCapabilityStatus = 3
	// SOCSReserved4 is reserved
	SOCSReserved4 SurfaceOperationalCapabilityStatus = 4
	// SOCSReserved5 is reserved
	SOCSReserved5 SurfaceOperationalCapabilityStatus = 5
	// SOCSReserved6 is reserved
	SOCSReserved6 SurfaceOperationalCapabilityStatus = 6
	// SOCSReserved7 is reserved
	SOCSReserved7 SurfaceOperationalCapabilityStatus = 7
	// SOCSReserved8 is reserved
	SOCSReserved8 SurfaceOperationalCapabilityStatus = 8
	// SOCSReserved9 is reserved
	SOCSReserved9 SurfaceOperationalCapabilityStatus = 9
	// SOCSReserved10 is reserved
	SOCSReserved10 SurfaceOperationalCapabilityStatus = 10
	// SOCSReserved11 is reserved
	SOCSReserved11 SurfaceOperationalCapabilityStatus = 11
	// SOCSReserved12 is reserved
	SOCSReserved12 SurfaceOperationalCapabilityStatus = 12
	// SOCSReserved13 is reserved
	SOCSReserved13 SurfaceOperationalCapabilityStatus = 13
	// SOCSReserved14 is reserved
	SOCSReserved14 SurfaceOperationalCapabilityStatus = 14
	// SOCSReserved15 is reserved
	SOCSReserved15 SurfaceOperationalCapabilityStatus = 15
)

func ReadSurfaceOperationalCapabilityStatus

func ReadSurfaceOperationalCapabilityStatus(data []byte) SurfaceOperationalCapabilityStatus

ReadSurfaceOperationalCapabilityStatus reads the SurfaceOperationalCapabilityStatus from a 56 bits data field

func (SurfaceOperationalCapabilityStatus) ToString

func (status SurfaceOperationalCapabilityStatus) ToString() string

ToString returns a basic, but readable, representation of the field

type SurfaceOperationalMode

type SurfaceOperationalMode struct {
	ACASResolutionAdvisoryActive ACASResolutionAdvisoryActiveV2
	IdentSwitchActive            IdentSwitchActive
	SingleAntennaFlag            SingleAntennaFlag
	SystemDesignAssurance        SystemDesignAssurance
	GPSAntenna                   GPSAntenna
}

SurfaceOperationalMode is the Operational Mode definition

Specified in Doc 9871 / C.2.3.10.4

func ReadSurfaceOperationalMode

func ReadSurfaceOperationalMode(data []byte) SurfaceOperationalMode

ReadSurfaceOperationalMode reads the SurfaceOperationalMode from a 56 bits data field

func (SurfaceOperationalMode) ToString

func (mode SurfaceOperationalMode) ToString() string

ToString returns a basic, but readable, representation of the field

type SurveillanceIntegrityLevel

type SurveillanceIntegrityLevel byte

SurveillanceIntegrityLevel is the Surveillance Integrity Level definition

Specified in Doc 9871 / B.2.3.10.9

const (
	// SUILLevel0 indicates:
	//     - Probability of exceeding the Horizontal CR without notification: unknown
	//     - Probability of exceeding the Vertical Integrity CR without notification: unknown
	SUILLevel0 SurveillanceIntegrityLevel = 0
	// SUILLevel1 indicates:
	//     - Probability of exceeding the Horizontal CR without notification: <=1 * 10^-3 per flight hour or per sample
	//     - Probability of exceeding the Vertical Integrity CR without notification: <= 1 * 10^-3 per flight hour or per sample
	SUILLevel1 SurveillanceIntegrityLevel = 1
	// SUILLevel2 indicates:
	//     - Probability of exceeding the Horizontal CR without notification: <=1 * 10^-5 per flight hour or per sample
	//     - Probability of exceeding the Vertical Integrity CR without notification: <= 1 * 10^-5 per flight hour or per sample
	SUILLevel2 SurveillanceIntegrityLevel = 2
	// SUILLevel3 indicates:
	//     - Probability of exceeding the Horizontal CR without notification: <=1 * 10^-7 per flight hour or per sample
	//     - Probability of exceeding the Vertical Integrity CR without notification: <= 2 * 10^-7 per 150 seconds or per sample
	SUILLevel3 SurveillanceIntegrityLevel = 3
)

func ReadSurveillanceIntegrityLevel

func ReadSurveillanceIntegrityLevel(data []byte) SurveillanceIntegrityLevel

ReadSurveillanceIntegrityLevel reads the SourceIntegrityLevel from a 56 bits data field

func (SurveillanceIntegrityLevel) ToString

func (level SurveillanceIntegrityLevel) ToString() string

ToString returns a basic, but readable, representation of the field

type SystemDesignAssurance

type SystemDesignAssurance byte

SystemDesignAssurance is the System Design Assurance definition

Specified in Doc 9871 / Table C-32

const (
	// SDANotApplicable indicates Not Applicable
	SDANotApplicable SystemDesignAssurance = 0
	// SDALevelD indicates Level D
	SDALevelD SystemDesignAssurance = 1
	// SDALevelC indicates Level C
	SDALevelC SystemDesignAssurance = 2
	// SDALevelB indicates Level B
	SDALevelB SystemDesignAssurance = 3
)

func ReadSystemDesignAssurance

func ReadSystemDesignAssurance(data []byte) SystemDesignAssurance

ReadSystemDesignAssurance reads the SystemDesignAssurance from a 56 bits data field

func (SystemDesignAssurance) ToString

func (status SystemDesignAssurance) ToString() string

ToString returns a basic, but readable, representation of the field

type TargetChangeReportCapability

type TargetChangeReportCapability byte

TargetChangeReportCapability is the Target Change Report Capability definition

Specified in Doc 9871 / B.2.3.10.3

const (
	// TCRCNoCapability indicates No capability for sending messages to support Trajectory Change Reports
	TCRCNoCapability TargetChangeReportCapability = 0
	// TCRCCapableTC0Only indicates Capability of sending messages to support TC+0 Report only
	TCRCCapableTC0Only TargetChangeReportCapability = 1
	// TCRCCapableMultipleTC indicates Capability of sending information for multiple TC Reports
	TCRCCapableMultipleTC TargetChangeReportCapability = 2
	// TCRCCapableReserved is Reserved
	TCRCCapableReserved TargetChangeReportCapability = 3
)

func ReadTargetChangeReportCapability

func ReadTargetChangeReportCapability(data []byte) TargetChangeReportCapability

ReadTargetChangeReportCapability reads the TargetStateReportCapability from a 56 bits data field

func (TargetChangeReportCapability) ToString

func (status TargetChangeReportCapability) ToString() string

ToString returns a basic, but readable, representation of the field

type TargetStateReportCapability

type TargetStateReportCapability byte

TargetStateReportCapability is the Target State Report Capability definition

Specified in Doc 9871 / B.2.3.10.3

const (
	// TSRCNoCapability indicates No capability for sending messages to support Target State Reports
	TSRCNoCapability TargetStateReportCapability = 0
	// TSRCCapable indicates Capability of sending messages to support Target State Reports
	TSRCCapable TargetStateReportCapability = 1
)

func ReadTargetStateReportCapability

func ReadTargetStateReportCapability(data []byte) TargetStateReportCapability

ReadTargetStateReportCapability reads the TargetStateReportCapability from a 56 bits data field

func (TargetStateReportCapability) ToString

func (status TargetStateReportCapability) ToString() string

ToString returns a basic, but readable, representation of the field

type TerminalAreaOperationalCapabilities

type TerminalAreaOperationalCapabilities byte

TerminalAreaOperationalCapabilities is the Terminal Area Operational Capabilities format definition

Specified in Doc 9871 / A.2.3.11.4

const (
	// TAOCReserved0 is reserved
	TAOCReserved0 TerminalAreaOperationalCapabilities = 0
	// TAOCReserved1 is reserved
	TAOCReserved1 TerminalAreaOperationalCapabilities = 1
	// TAOCReserved2 is reserved
	TAOCReserved2 TerminalAreaOperationalCapabilities = 2
	// TAOCReserved3 is reserved
	TAOCReserved3 TerminalAreaOperationalCapabilities = 3
	// TAOCReserved4 is reserved
	TAOCReserved4 TerminalAreaOperationalCapabilities = 4
	// TAOCReserved5 is reserved
	TAOCReserved5 TerminalAreaOperationalCapabilities = 5
	// TAOCReserved6 is reserved
	TAOCReserved6 TerminalAreaOperationalCapabilities = 6
	// TAOCReserved7 is reserved
	TAOCReserved7 TerminalAreaOperationalCapabilities = 7
	// TAOCReserved8 is reserved
	TAOCReserved8 TerminalAreaOperationalCapabilities = 8
	// TAOCReserved9 is reserved
	TAOCReserved9 TerminalAreaOperationalCapabilities = 9
	// TAOCReserved10 is reserved
	TAOCReserved10 TerminalAreaOperationalCapabilities = 10
	// TAOCReserved11 is reserved
	TAOCReserved11 TerminalAreaOperationalCapabilities = 11
	// TAOCReserved12 is reserved
	TAOCReserved12 TerminalAreaOperationalCapabilities = 12
	// TAOCReserved13 is reserved
	TAOCReserved13 TerminalAreaOperationalCapabilities = 13
	// TAOCReserved14 is reserved
	TAOCReserved14 TerminalAreaOperationalCapabilities = 14
	// TAOCReserved15 is reserved
	TAOCReserved15 TerminalAreaOperationalCapabilities = 15
)

func ReadTerminalAreaOperationalCapabilities

func ReadTerminalAreaOperationalCapabilities(data []byte) TerminalAreaOperationalCapabilities

ReadTerminalAreaOperationalCapabilities reads the TerminalAreaOperationalCapabilities from a 56 bits data field

func (TerminalAreaOperationalCapabilities) ToString

func (capabilities TerminalAreaOperationalCapabilities) ToString() string

ToString returns a basic, but readable, representation of the field

type TerminalAreaOperationalCapabilityStatus

type TerminalAreaOperationalCapabilityStatus byte

TerminalAreaOperationalCapabilityStatus is the Terminal Area Operational Capabilities format definition

Specified in Doc 9871 / A.2.3.11.8

const (
	// TAOCSReserved0 is reserved
	TAOCSReserved0 TerminalAreaOperationalCapabilityStatus = 0
	// TAOCSReserved1 is reserved
	TAOCSReserved1 TerminalAreaOperationalCapabilityStatus = 1
	// TAOCSReserved2 is reserved
	TAOCSReserved2 TerminalAreaOperationalCapabilityStatus = 2
	// TAOCSReserved3 is reserved
	TAOCSReserved3 TerminalAreaOperationalCapabilityStatus = 3
	// TAOCSReserved4 is reserved
	TAOCSReserved4 TerminalAreaOperationalCapabilityStatus = 4
	// TAOCSReserved5 is reserved
	TAOCSReserved5 TerminalAreaOperationalCapabilityStatus = 5
	// TAOCSReserved6 is reserved
	TAOCSReserved6 TerminalAreaOperationalCapabilityStatus = 6
	// TAOCSReserved7 is reserved
	TAOCSReserved7 TerminalAreaOperationalCapabilityStatus = 7
	// TAOCSReserved8 is reserved
	TAOCSReserved8 TerminalAreaOperationalCapabilityStatus = 8
	// TAOCSReserved9 is reserved
	TAOCSReserved9 TerminalAreaOperationalCapabilityStatus = 9
	// TAOCSReserved10 is reserved
	TAOCSReserved10 TerminalAreaOperationalCapabilityStatus = 10
	// TAOCSReserved11 is reserved
	TAOCSReserved11 TerminalAreaOperationalCapabilityStatus = 11
	// TAOCSReserved12 is reserved
	TAOCSReserved12 TerminalAreaOperationalCapabilityStatus = 12
	// TAOCSReserved13 is reserved
	TAOCSReserved13 TerminalAreaOperationalCapabilityStatus = 13
	// TAOCSReserved14 is reserved
	TAOCSReserved14 TerminalAreaOperationalCapabilityStatus = 14
	// TAOCSReserved15 is reserved
	TAOCSReserved15 TerminalAreaOperationalCapabilityStatus = 15
)

func ReadTerminalAreaOperationalCapabilityStatus

func ReadTerminalAreaOperationalCapabilityStatus(data []byte) TerminalAreaOperationalCapabilityStatus

ReadTerminalAreaOperationalCapabilityStatus reads the TerminalAreaOperationalCapabilityStatus from a 56 bits data field

func (TerminalAreaOperationalCapabilityStatus) ToString

ToString returns a basic, but readable, representation of the field

type TrackAngleHeading

type TrackAngleHeading byte

TrackAngleHeading is the Track Angle / Heading definition

Specified in Doc 9871 / B.2.3.10.12

const (
	// TAHTargetHeadingReported indicates Target heading angle is being reported
	TAHTargetHeadingReported TrackAngleHeading = 0
	// TAHTrackAngleReported indicates Track angle is being reported
	TAHTrackAngleReported TrackAngleHeading = 1
)

func ReadTrackAngleHeading

func ReadTrackAngleHeading(data []byte) TrackAngleHeading

ReadTrackAngleHeading reads the TrackAngleHeading from a 56 bits data field

func (TrackAngleHeading) ToString

func (headingAngle TrackAngleHeading) ToString() string

ToString returns a basic, but readable, representation of the field

type UniversalAccessTransceiverCapability

type UniversalAccessTransceiverCapability byte

UniversalAccessTransceiverCapability is the UAT IN (Universal Access Transceiver) definition

Specified in Doc 9871 / C.2.3.10.3

const (
	// UATNoCapability indicates Aircraft has No UAT Receive capability
	UATNoCapability UniversalAccessTransceiverCapability = 0
	// UATCapable indicates Aircraft has UAT Receive capability
	UATCapable UniversalAccessTransceiverCapability = 1
)

func ReadUniversalAccessTransceiverCapabilityAirborne

func ReadUniversalAccessTransceiverCapabilityAirborne(data []byte) UniversalAccessTransceiverCapability

ReadUniversalAccessTransceiverCapabilityAirborne reads the UAT IN (Universal Access Transceiver) from a 56 bits data field

func ReadUniversalAccessTransceiverCapabilitySurface

func ReadUniversalAccessTransceiverCapabilitySurface(data []byte) UniversalAccessTransceiverCapability

ReadUniversalAccessTransceiverCapabilitySurface reads the UAT IN (Universal Access Transceiver) from a 56 bits data field

func (UniversalAccessTransceiverCapability) ToString

func (status UniversalAccessTransceiverCapability) ToString() string

ToString returns a basic, but readable, representation of the field

type VersionNumber

type VersionNumber byte

VersionNumber is the ADSB version number

Specified in Doc 9871 / B.2.3.10.5

const (
	// ADSBVersion0 indicates ADSB V0: Conformant to Doc 9871, Appendix A
	ADSBVersion0 VersionNumber = 0
	// ADSBVersion1 indicates ADSB V1: Conformant to Doc 9871, Appendix B
	ADSBVersion1 VersionNumber = 1
	// ADSBVersion2 indicates ADSB V2: Conformant to Doc 9871, Appendix C
	ADSBVersion2 VersionNumber = 2
)

func ReadVersionNumber

func ReadVersionNumber(data []byte) VersionNumber

ReadVersionNumber reads the VersionNumber from a 56 bits data field

func (VersionNumber) ToString

func (versionNumber VersionNumber) ToString() string

ToString returns a basic, but readable, representation of the field

Source Files

Jump to

Keyboard shortcuts

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