fields

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2019 License: Apache-2.0 Imports: 3 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.9.18

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 AltitudeHoldModeEngaged

type AltitudeHoldModeEngaged byte

AltitudeHoldModeEngaged is the Altitude Hold Mode Engaged definition

Specified in Doc 9871 / C.2.3.9.15

const (
	// AHENotEngaged indicates that altitude hold mode is not active
	AHENotEngaged AltitudeHoldModeEngaged = 0
	// AHEngaged indicates that altitude hold mode is active
	AHEngaged AltitudeHoldModeEngaged = 1
)

func ReadAltitudeHoldModeEngaged

func ReadAltitudeHoldModeEngaged(data []byte) AltitudeHoldModeEngaged

ReadAltitudeHoldModeEngaged reads the AltitudeHoldModeEngaged from a 56 bits data field

func (AltitudeHoldModeEngaged) ToString

func (status AltitudeHoldModeEngaged) ToString() string

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

type ApproachModeEngaged

type ApproachModeEngaged byte

ApproachModeEngaged is the Altitude Hold Mode Engaged definition

Specified in Doc 9871 / C.2.3.9.15

const (
	// AMENotEngaged indicates that approach mode is not active
	AMENotEngaged ApproachModeEngaged = 0
	// AMEngaged indicates that approach mode is active
	AMEngaged ApproachModeEngaged = 1
)

func ReadApproachModeEngaged

func ReadApproachModeEngaged(data []byte) ApproachModeEngaged

ReadApproachModeEngaged reads the ApproachModeEngaged from a 56 bits data field

func (ApproachModeEngaged) ToString

func (status ApproachModeEngaged) ToString() string

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

type AutopilotEngaged

type AutopilotEngaged byte

AutopilotEngaged is the Autopilot Engaged definition

Specified in Doc 9871 / C.2.3.9.13

const (
	// AENotEngaged indicates that autopilot is not engaged (e.g., not actively coupled and flying the aircraft)
	AENotEngaged AutopilotEngaged = 0
	// AEEngaged indicates that autopilot is engaged (e.g., actively coupled and flying the aircraft)
	AEEngaged AutopilotEngaged = 1
)

func ReadAutopilotEngaged

func ReadAutopilotEngaged(data []byte) AutopilotEngaged

ReadAutopilotEngaged reads the AutopilotEngaged from a 56 bits data field

func (AutopilotEngaged) ToString

func (status AutopilotEngaged) ToString() string

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

type BarometricPressureSetting

type BarometricPressureSetting float64

BarometricPressureSetting is the Selected Altitude definition

Specified in Doc 9871 / C.2.3.9.5

func ReadBarometricPressureSetting

func ReadBarometricPressureSetting(data []byte) BarometricPressureSetting

ReadBarometricPressureSetting reads the BarometricPressureSetting from a 56 bits data field

func (BarometricPressureSetting) GetBarometricPressureSetting

func (barometricPressureSetting BarometricPressureSetting) GetBarometricPressureSetting() float64

GetBarometricPressureSetting returns the BarometricPressureSetting. Note that the returned value will be the 0 for SASInvalid

func (BarometricPressureSetting) GetStatus

func (barometricPressureSetting BarometricPressureSetting) GetStatus() BarometricPressureSettingStatus

GetStatus returns the status of the altitude

func (BarometricPressureSetting) ToString

func (barometricPressureSetting BarometricPressureSetting) ToString() string

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

type BarometricPressureSettingStatus

type BarometricPressureSettingStatus int

BarometricPressureSettingStatus is the status of the Barometric Pressure Setting information

const (
	// BPSInvalid indicates that the Barometric Pressure Setting is invalid of absent
	BPSInvalid BarometricPressureSettingStatus = 0
	// BPSValid indicates that the Barometric Pressure Setting is valid
	BPSValid BarometricPressureSettingStatus = 1
)

type CapabilityModeCode

type CapabilityModeCode byte

CapabilityModeCode is the Capability Mode Code definition

Specified in Doc 9871 / B.2.3.9.15

const (
	// CMCOperationalNoRAActive indicates TCAS/ACAS operational or unknown + No TCAS/ACAS Resolution Advisory active
	CMCOperationalNoRAActive CapabilityModeCode = 0
	// CMCOperationalRAActive indicates TCAS/ACAS operational or unknown + TCAS/ACAS Resolution Advisory active
	CMCOperationalRAActive CapabilityModeCode = 1
	// CMCNotOperationalNoRAActive indicates TCAS/ACAS not operational + No TCAS/ACAS Resolution Advisory active
	CMCNotOperationalNoRAActive CapabilityModeCode = 2
	// CMCNotOperationalRAActive indicates TCAS/ACAS not operational + TCAS/ACAS Resolution Advisory active
	CMCNotOperationalRAActive CapabilityModeCode = 3
)

func ReadCapabilityModeCode

func ReadCapabilityModeCode(data []byte) CapabilityModeCode

ReadCapabilityModeCode reads the CapabilityModeCode from a 56 bits data field

func (CapabilityModeCode) ToString

func (capability CapabilityModeCode) ToString() string

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

type EmergencyPriorityStatus

type EmergencyPriorityStatus byte

EmergencyPriorityStatus is the Emergency Priority Status definition

Specified in Doc 9871 / B.2.3.9.16

const (
	// EPSNoEmergency indicates no emergency
	EPSNoEmergency EmergencyPriorityStatus = 0
	// EPSGeneralEmergency indicates general emergency
	EPSGeneralEmergency EmergencyPriorityStatus = 1
	// EPSLifeguardMedical indicates lifeguard/medical emergency
	EPSLifeguardMedical EmergencyPriorityStatus = 2
	// EPSMinimumFuel indicates minimum fuel
	EPSMinimumFuel EmergencyPriorityStatus = 3
	// EPSNoCommunication indicates no communications
	EPSNoCommunication EmergencyPriorityStatus = 4
	// EPSUnlawfulInterference indicates unlawful interference
	EPSUnlawfulInterference EmergencyPriorityStatus = 5
	// EPSDownedAircraft indicates downed aircraft
	EPSDownedAircraft EmergencyPriorityStatus = 6
	// EPSReserved7 is reserved
	EPSReserved7 EmergencyPriorityStatus = 7
)

func ReadEmergencyPriorityStatus

func ReadEmergencyPriorityStatus(data []byte) EmergencyPriorityStatus

ReadEmergencyPriorityStatus reads the EmergencyPriorityStatus from a 56 bits data field

func (EmergencyPriorityStatus) ToString

func (capability EmergencyPriorityStatus) ToString() string

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

type HorizontalDataAvailableSourceIndicator

type HorizontalDataAvailableSourceIndicator byte

HorizontalDataAvailableSourceIndicator is the Horizontal Data Available / Source Indicator definition

Specified in Doc 9871 / B.2.3.9.8

const (
	// HDANoValidDataAvailable indicates no valid horizontal target state data is available
	HDANoValidDataAvailable HorizontalDataAvailableSourceIndicator = 0
	// HDAAutopilot indicates autopilot control panel selected value, such as Mode Control Panel (MCP) or Flight Control Unit (FCU)
	HDAAutopilot HorizontalDataAvailableSourceIndicator = 1
	// HDAHoldingAltitude indicates maintaining current heading or track angle (e.g. autopilot mode select)
	HDAHoldingAltitude HorizontalDataAvailableSourceIndicator = 2
	// HDAFMS indicates FMS/RNAV system (indicates track angle specified by leg type)
	HDAFMS HorizontalDataAvailableSourceIndicator = 3
)

func ReadHorizontalDataAvailableSourceIndicator

func ReadHorizontalDataAvailableSourceIndicator(data []byte) HorizontalDataAvailableSourceIndicator

ReadHorizontalDataAvailableSourceIndicator reads the HorizontalDataAvailableSourceIndicator from a 56 bits data field

func (HorizontalDataAvailableSourceIndicator) ToString

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

type HorizontalModeIndicator

type HorizontalModeIndicator byte

HorizontalModeIndicator is the Horizontal Mode Indicator definition

Specified in Doc 9871 / B.2.3.9.11

const (
	// HMIUnknown indicates unknown mode or information unavailable
	HMIUnknown HorizontalModeIndicator = 0
	// HMIAcquiringMode indicates "Acquiring" Mode
	HMIAcquiringMode HorizontalModeIndicator = 1
	// HMICapturingMode indicates "Capturing" or "Maintaining" Mode
	HMICapturingMode HorizontalModeIndicator = 2
	// HMIReserved3 is reserved
	HMIReserved3 HorizontalModeIndicator = 3
)

func ReadHorizontalModeIndicator

func ReadHorizontalModeIndicator(data []byte) HorizontalModeIndicator

ReadHorizontalModeIndicator reads the HorizontalModeIndicator from a 56 bits data field

func (HorizontalModeIndicator) ToString

func (indicator HorizontalModeIndicator) ToString() string

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

type LNAVModeEngaged byte

LNAVModeEngaged is the LNAV Mode Engaged definition

Specified in Doc 9871 / C.2.3.9.19

const (
	// LMENotEngaged indicates that LNAV Mode is NOT Active
	LMENotEngaged LNAVModeEngaged = 0
	// LMEngaged indicates that LNAV Mode is Active
	LMEngaged LNAVModeEngaged = 1
)

func ReadLNAVModeEngaged

func ReadLNAVModeEngaged(data []byte) LNAVModeEngaged

ReadLNAVModeEngaged reads the LNAVModeEngaged from a 56 bits data field

func (status LNAVModeEngaged) 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.9.13

const (
	// NICBGilhamNotCrossChecked indicates that the barometric altitude that is being reported in the Airborne
	// 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 Airborne
	// 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 NavigationalAccuracyCategoryPositionV1 byte

NavigationalAccuracyCategoryPositionV1 is the Navigational Accuracy Category Position definition

Specified in Doc 9871 / B.2.3.9.12

const (
	// NACPV1EPUGreaterThan18Point52Km indicates EPU >= 18.52 km (10 NM) - Unknown accuracy
	NACPV1EPUGreaterThan18Point52Km NavigationalAccuracyCategoryPositionV1 = 0
	// NACPV1EPULowerThan18Point52Km indicates  EPU < 18.52 km (10 NM) - RNP-10 accuracy
	NACPV1EPULowerThan18Point52Km NavigationalAccuracyCategoryPositionV1 = 1
	// NACPV1EPULowerThan7Point408Km indicates EPU < 7.408 km (4 NM) - RNP-4 accuracy
	NACPV1EPULowerThan7Point408Km NavigationalAccuracyCategoryPositionV1 = 2
	// NACPV1EPULowerThan3Point704Km indicates EPU < 3.704 km (2 NM) - RNP-2 accuracy
	NACPV1EPULowerThan3Point704Km NavigationalAccuracyCategoryPositionV1 = 3
	// NACPV1EPUGreaterThan1852M indicates EPU < 1 852 m (1 NM) - RNP-1 accuracy
	NACPV1EPUGreaterThan1852M NavigationalAccuracyCategoryPositionV1 = 4
	// NACPV1EPULowerThan926M indicates EPU < 926 m (0.5 NM) - RNP-0.5 accuracy
	NACPV1EPULowerThan926M NavigationalAccuracyCategoryPositionV1 = 5
	// NACPV1EPUGreaterThan555Point6M indicates EPU < 555.6 m ( 0.3 NM) - RNP-0.3 accuracy
	NACPV1EPUGreaterThan555Point6M NavigationalAccuracyCategoryPositionV1 = 6
	// NACPV1EPULowerThan185Point2M indicates EPU < 185.2 m (0.1 NM) - RNP-0.1 accuracy
	NACPV1EPULowerThan185Point2M NavigationalAccuracyCategoryPositionV1 = 7
	// NACPV1EPUGreaterThan92Point6M indicates EPU < 92.6 m (0.05 NM) - e.g. GPS (with SA)
	NACPV1EPUGreaterThan92Point6M NavigationalAccuracyCategoryPositionV1 = 8
	// NACPV1EPULowerThan30MAndVEPULowerThan45M indicates EPU < 30 m and VEPU < 45 m - e.g. GPS (SA off)
	NACPV1EPULowerThan30MAndVEPULowerThan45M NavigationalAccuracyCategoryPositionV1 = 9
	// NACPV1EPULowerThan10MAndVEPULowerThan15M indicates EPU < 10 m and VEPU < 15 m - e.g. WAAS
	NACPV1EPULowerThan10MAndVEPULowerThan15M NavigationalAccuracyCategoryPositionV1 = 10
	// NACPV1EPULowerThan4MAndVEPULowerThan3M indicates EPU < 3 m and VEPU < 4 m - e.g. LAAS
	NACPV1EPULowerThan4MAndVEPULowerThan3M NavigationalAccuracyCategoryPositionV1 = 11
	// NACPV1Reserved12 is reserved
	NACPV1Reserved12 NavigationalAccuracyCategoryPositionV1 = 12
	// NACPV1Reserved13 is reserved
	NACPV1Reserved13 NavigationalAccuracyCategoryPositionV1 = 13
	// NACPV1Reserved14 is reserved
	NACPV1Reserved14 NavigationalAccuracyCategoryPositionV1 = 14
	// NACPV1Reserved15 is reserved
	NACPV1Reserved15 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 / C.2.3.9.9

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 SelectedAltitude

type SelectedAltitude uint16

SelectedAltitude is the Selected Altitude definition

Specified in Doc 9871 / C.2.3.9.4

func ReadSelectedAltitude

func ReadSelectedAltitude(data []byte) SelectedAltitude

ReadSelectedAltitude reads the SelectedAltitude from a 56 bits data field

func (SelectedAltitude) GetSelectedAltitude

func (selectedAltitude SelectedAltitude) GetSelectedAltitude() int

GetSelectedAltitude returns the SelectedAltitude. Note that the returned value will be the 0 for SASInvalid

func (SelectedAltitude) GetStatus

func (selectedAltitude SelectedAltitude) GetStatus() SelectedAltitudeStatus

GetStatus returns the status of the altitude

func (SelectedAltitude) ToString

func (selectedAltitude SelectedAltitude) ToString() string

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

type SelectedAltitudeStatus

type SelectedAltitudeStatus int

SelectedAltitudeStatus is the status of the Selected Altitude information

const (
	// SASInvalid indicates that the Selected Altitude is invalid of absent
	SASInvalid SelectedAltitudeStatus = 0
	// SASValid indicates that the Selected Altitude is valid
	SASValid SelectedAltitudeStatus = 1
)

type SelectedAltitudeType

type SelectedAltitudeType byte

SelectedAltitudeType is the Selected Altitude Type definition

Specified in Doc 9871 / C.2.3.9.3

const (
	// SATByMCPFCU indicates MCP/FCU (Mode Control Panel / Flight Control Unit)
	SATByMCPFCU = 0
	// SATByFMS indicates FMS (Flight Management System)
	SATByFMS SelectedAltitudeType = 1
)

func ReadSelectedAltitudeType

func ReadSelectedAltitudeType(data []byte) SelectedAltitudeType

ReadSelectedAltitudeType reads the SelectedAltitudeType from a 56 bits data field

func (SelectedAltitudeType) ToString

func (status SelectedAltitudeType) ToString() string

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

type SelectedHeading

type SelectedHeading byte

SelectedHeading is the Selected Altitude definition

Specified in Doc 9871 / C.2.3.9.8

func ReadSelectedHeading

func ReadSelectedHeading(data []byte) SelectedHeading

ReadSelectedHeading reads the SelectedHeading from a 56 bits data field

func (SelectedHeading) GetSelectedHeading

func (selectedHeading SelectedHeading) GetSelectedHeading(status SelectedHeadingStatus, sign SelectedHeadingSign) float64

GetSelectedHeading returns the SelectedHeading. Note that the returned value will be the 0 for SASInvalid

func (SelectedHeading) ToString

func (selectedHeading SelectedHeading) ToString(status SelectedHeadingStatus, sign SelectedHeadingSign) string

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

type SelectedHeadingSign

type SelectedHeadingSign byte

SelectedHeadingSign is the Selected Heading Status definition

Specified in Doc 9871 / C.2.3.9.7

const (
	// SHSPositive indicates that the Selected Heading is positive
	SHSPositive = 0
	// SHSNegative indicates that the Selected Heading is negative
	SHSNegative SelectedHeadingSign = 1
)

func ReadSelectedHeadingSign

func ReadSelectedHeadingSign(data []byte) SelectedHeadingSign

ReadSelectedHeadingSign reads the SelectedHeadingSign from a 56 bits data field

func (SelectedHeadingSign) ToString

func (status SelectedHeadingSign) ToString() string

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

type SelectedHeadingStatus

type SelectedHeadingStatus byte

SelectedHeadingStatus is the Selected Heading Status definition

Specified in Doc 9871 / C.2.3.9.6

const (
	// SHSInvalid indicates that the Selected Heading is invalid or not available
	SHSInvalid = 0
	// SHSValid indicates that the Selected Heading is invalid or not available
	SHSValid SelectedHeadingStatus = 1
)

func ReadSelectedHeadingStatus

func ReadSelectedHeadingStatus(data []byte) SelectedHeadingStatus

ReadSelectedHeadingStatus reads the SelectedHeadingStatus from a 56 bits data field

func (SelectedHeadingStatus) ToString

func (status SelectedHeadingStatus) 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 StatusMCPFCUBits

type StatusMCPFCUBits byte

StatusMCPFCUBits is the Status of MCP/FCU Mode Bits definition

Specified in Doc 9871 / C.2.3.9.12

const (
	// SMFBNoInformationProvided indicates that No Mode Information is being provided in “ME” bits 48, 49, 50,
	// 52 or 54 (Message bits 80, 81, 82, 84 or 86)
	SMFBNoInformationProvided StatusMCPFCUBits = 0
	// SMFBInformationProvided indicates that the Mode Information is deliberately being provided in “ME” bits 48,
	// 49, 50, 52, or 54 (Message bits 80, 81, 82, 84, or 86)
	SMFBInformationProvided StatusMCPFCUBits = 1
)

func ReadStatusMCPFCUBits

func ReadStatusMCPFCUBits(data []byte) StatusMCPFCUBits

ReadStatusMCPFCUBits reads the StatusMCPFCUBits from a 56 bits data field

func (StatusMCPFCUBits) ToString

func (status StatusMCPFCUBits) ToString() string

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

type Subtype

type Subtype byte

Subtype is the Airborne Velocity Subtype Code definition

Specified in Doc 9871 / Table A-2-9 and Table B-2-98

const (
	// Subtype0 indicates Subtype 0
	Subtype0 Subtype = 0
	// Subtype1 indicates Subtype 1
	Subtype1 Subtype = 1
	// SubtypeReserved2 is reserved
	SubtypeReserved2 Subtype = 2
	// SubtypeReserved3 is reserved
	SubtypeReserved3 Subtype = 3
)

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

func (Subtype) ToSubtype

func (subtype Subtype) ToSubtype() adsb.Subtype

ToSubtype returns the subtype itself

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 TargetAltitude

type TargetAltitude uint16

TargetAltitude is the Target Altitude definition

Specified in Doc 9871 / B.2.3.9.7

func ReadTargetAltitude

func ReadTargetAltitude(data []byte) TargetAltitude

ReadTargetAltitude reads the TargetAltitude from a 56 bits data field

func (TargetAltitude) GetStatus

func (targetAltitude TargetAltitude) GetStatus() TargetAltitudeStatus

GetStatus returns the status of the altitude

func (TargetAltitude) GetTargetAltitude

func (targetAltitude TargetAltitude) GetTargetAltitude() int

GetTargetAltitude returns the TargetAltitude. Note that the returned value will be the maximum for TASInvalid

func (TargetAltitude) ToString

func (targetAltitude TargetAltitude) ToString() string

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

type TargetAltitudeCapability

type TargetAltitudeCapability byte

TargetAltitudeCapability is the Target Altitude Capability definition

Specified in Doc 9871 / B.2.3.9.5

const (
	// TACAltitudeOnly indicates capability for reporting holding altitude only
	TACAltitudeOnly TargetAltitudeCapability = 0
	// TACAltitudeOrAutopilot indicates capability for reporting either holding altitude or autopilot control panel
	// selected altitude
	TACAltitudeOrAutopilot TargetAltitudeCapability = 1
	// TACAltitudeOrAutopilotOrFMS indicates capability for reporting either holding altitude, autopilot control panel
	// selected altitude, or any FMS/RNAV level-off altitude
	TACAltitudeOrAutopilotOrFMS TargetAltitudeCapability = 2
	// TACReserved3 is reserved
	TACReserved3 TargetAltitudeCapability = 3
)

func ReadTargetAltitudeCapability

func ReadTargetAltitudeCapability(data []byte) TargetAltitudeCapability

ReadTargetAltitudeCapability reads the TargetAltitudeCapability from a 56 bits data field

func (TargetAltitudeCapability) ToString

func (capability TargetAltitudeCapability) ToString() string

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

type TargetAltitudeStatus

type TargetAltitudeStatus int

TargetAltitudeStatus is the status of the Target Altitude information

const (
	// TASInvalid indicates that the Target Altitude is invalid (out of range)
	TASInvalid TargetAltitudeStatus = 0
	// TASValid indicates that the Target Altitude is valid
	TASValid TargetAltitudeStatus = 1
)

type TargetAltitudeType

type TargetAltitudeType byte

TargetAltitudeType is the Target Altitude Type definition

Specified in Doc 9871 / B.2.3.9.4

const (
	// TATReferencedToPressureAltitude indicates referenced to pressure-altitude (flight level)
	TATReferencedToPressureAltitude TargetAltitudeType = 0
	// TATReferencedToBarometricAltitude indicates referenced to barometric corrected altitude (mean sea level)
	TATReferencedToBarometricAltitude TargetAltitudeType = 1
)

func ReadTargetAltitudeType

func ReadTargetAltitudeType(data []byte) TargetAltitudeType

ReadTargetAltitudeType reads the TargetAltitudeType from a 56 bits data field

func (TargetAltitudeType) ToString

func (targetType TargetAltitudeType) ToString() string

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

type TargetHeadingTrackAngle

type TargetHeadingTrackAngle uint16

TargetHeadingTrackAngle is the Target Altitude definition

Specified in Doc 9871 / B.2.3.9.9

func ReadTargetHeadingTrackAngle

func ReadTargetHeadingTrackAngle(data []byte) TargetHeadingTrackAngle

ReadTargetHeadingTrackAngle reads the TargetHeadingTrackAngle from a 56 bits data field

func (TargetHeadingTrackAngle) GetStatus

func (targetAngle TargetHeadingTrackAngle) GetStatus() TargetHeadingTrackStatus

GetStatus returns the status of the target heading / track

func (TargetHeadingTrackAngle) GetTargetHeadingTrackAngle

func (targetAngle TargetHeadingTrackAngle) GetTargetHeadingTrackAngle() int

GetTargetHeadingTrackAngle returns the TargetHeadingTrackAngle. Note that the returned value will be the maximum for THTSValid

func (TargetHeadingTrackAngle) ToString

func (targetAngle TargetHeadingTrackAngle) ToString() string

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

type TargetHeadingTrackIndicator

type TargetHeadingTrackIndicator byte

TargetHeadingTrackIndicator is the Target Heading / Track Angle Indicator definition

Specified in Doc 9871 / B.2.3.9.10

const (
	// THTIHeading indicates target heading angle is being reported
	THTIHeading TargetHeadingTrackIndicator = 0
	// THTITrack indicates track angle is being reported
	THTITrack TargetHeadingTrackIndicator = 1
)

func ReadTargetHeadingTrackIndicator

func ReadTargetHeadingTrackIndicator(data []byte) TargetHeadingTrackIndicator

ReadTargetHeadingTrackIndicator reads the TargetHeadingTrackIndicator from a 56 bits data field

func (TargetHeadingTrackIndicator) ToString

func (targetType TargetHeadingTrackIndicator) ToString() string

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

type TargetHeadingTrackStatus

type TargetHeadingTrackStatus int

TargetHeadingTrackStatus is the status of the Target Heading / Track Indicator information

const (
	// THTSInvalid indicates that the Target Heading/Track is invalid (out of range)
	THTSInvalid TargetHeadingTrackStatus = 0
	// THTSValid indicates that the Target Heading/Track is valid
	THTSValid TargetHeadingTrackStatus = 1
)

type VNAVModeEngaged

type VNAVModeEngaged byte

VNAVModeEngaged is the VNAV Mode Engaged definition

Specified in Doc 9871 / C.2.3.9.14

const (
	// VMENotEngaged indicates that VNAV Mode is NOT Active
	VMENotEngaged VNAVModeEngaged = 0
	// VMEngaged indicates that VNAV Mode is Active
	VMEngaged VNAVModeEngaged = 1
)

func ReadVNAVModeEngaged

func ReadVNAVModeEngaged(data []byte) VNAVModeEngaged

ReadVNAVModeEngaged reads the VNAVModeEngaged from a 56 bits data field

func (VNAVModeEngaged) ToString

func (status VNAVModeEngaged) ToString() string

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

type VerticalDataAvailableSourceIndicator

type VerticalDataAvailableSourceIndicator byte

VerticalDataAvailableSourceIndicator is the Vertical Data Available / Source Indicator definition

Specified in Doc 9871 / B.2.3.9.3

const (
	// VDANoValidDataAvailable indicates no valid Vertical Target State data is available
	VDANoValidDataAvailable VerticalDataAvailableSourceIndicator = 0
	// VDAAutopilot indicates autopilot control panel selected value, such as Mode Control Panel (MCP) or Flight Control Unit (FCU)
	VDAAutopilot VerticalDataAvailableSourceIndicator = 1
	// VDAHoldingAltitude indicates holding altitude
	VDAHoldingAltitude VerticalDataAvailableSourceIndicator = 2
	// VDAFMS indicates FMS/RNAV system
	VDAFMS VerticalDataAvailableSourceIndicator = 3
)

func ReadVerticalDataAvailableSourceIndicator

func ReadVerticalDataAvailableSourceIndicator(data []byte) VerticalDataAvailableSourceIndicator

ReadVerticalDataAvailableSourceIndicator reads the VerticalDataAvailableSourceIndicator from a 56 bits data field

func (VerticalDataAvailableSourceIndicator) ToString

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

type VerticalModeIndicator

type VerticalModeIndicator byte

VerticalModeIndicator is the Vertical Mode Indicator definition

Specified in Doc 9871 / B.2.3.9.6

const (
	// VMIUnknown indicates unknown mode or information unavailable
	VMIUnknown VerticalModeIndicator = 0
	// VMIAcquiringMode indicates "Acquiring" Mode
	VMIAcquiringMode VerticalModeIndicator = 1
	// VMICapturingMode indicates "Capturing" or "Maintaining" Mode
	VMICapturingMode VerticalModeIndicator = 2
	// VMIReserved3 is reserved
	VMIReserved3 VerticalModeIndicator = 3
)

func ReadVerticalModeIndicator

func ReadVerticalModeIndicator(data []byte) VerticalModeIndicator

ReadVerticalModeIndicator reads the VerticalModeIndicator from a 56 bits data field

func (VerticalModeIndicator) ToString

func (indicator VerticalModeIndicator) ToString() string

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

Jump to

Keyboard shortcuts

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