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 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 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 NumericValueStatus added in v0.6.0

type NumericValueStatus int

NumericValueStatus is the status of the numeric values, such as air speed, velocity, etc.

const (
	// NVSNoInformation indicates no velocity information
	NVSNoInformation NumericValueStatus = 0
	// NVSRegular indicates that the Velocity is computed on the linear scale value of field * factor
	NVSRegular NumericValueStatus = 1
	// NVSMaximum indicates that the Velocity field value indicates velocity greater the maximum of the scale
	NVSMaximum NumericValueStatus = 2
)

func ReadBarometricPressureSetting

func ReadBarometricPressureSetting(data []byte) (float32, NumericValueStatus)

ReadBarometricPressureSetting reads the Barometric Pressure Setting from a 56 bits data field

func ReadSelectedAltitude

func ReadSelectedAltitude(data []byte) (uint16, NumericValueStatus)

ReadSelectedAltitude reads the SelectedAltitude from a 56 bits data field

func ReadTargetAltitude

func ReadTargetAltitude(data []byte) (int32, NumericValueStatus)

ReadTargetAltitude reads the TargetAltitude from a 56 bits data field

func ReadTargetHeadingTrackAngle

func ReadTargetHeadingTrackAngle(data []byte) (uint16, NumericValueStatus)

ReadTargetHeadingTrackAngle reads the TargetAltitude from a 56 bits data field Specified in Doc 9871 / B.2.3.9.9

func (NumericValueStatus) ToString added in v0.6.0

func (vs NumericValueStatus) ToString() string

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

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 SelectedAltitudeType = 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 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 ReadSelectedHeading

func ReadSelectedHeading(data []byte) (float32, SelectedHeadingStatus)

ReadSelectedHeading reads the SelectedHeading 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

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 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 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 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 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