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: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ModeSSubnetworkNotAvailable indicates that Mode S subnetwork is not available.
	ModeSSubnetworkNotAvailable ModeSSubnetworkVersion = 0
	// ModeSSubnetworkVersion1 indicates that the version is 1.
	ModeSSubnetworkVersion1 ModeSSubnetworkVersion = 1
	// ModeSSubnetworkVersion2 indicates that the version is 2.
	ModeSSubnetworkVersion2 = 2
	// ModeSSubnetworkVersion3 indicates that the version is 3.
	ModeSSubnetworkVersion3 = 3
	// ModeSSubnetworkVersion4 indicates that the version is 4.
	ModeSSubnetworkVersion4 = 4
	// ModeSSubnetworkVersion5 indicates that the version is 5.
	ModeSSubnetworkVersion5 = 5
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ACASApplicableDocument

type ACASApplicableDocument byte

ACASApplicableDocument is the ACAS applicable MOPS documents definition

Specified in Doc 9871 / D.2.4.1

const (
	// ACASApplicableDocument185 indicates RTCA DO-185.
	ACASApplicableDocument185 ACASApplicableDocument = 0
	// ACASApplicableDocument185A indicates RTCA DO-185A.
	ACASApplicableDocument185A ACASApplicableDocument = 2
	// ACASApplicableDocument185B indicates RTCA DO-185B.
	ACASApplicableDocument185B ACASApplicableDocument = 1
)

func ReadACASApplicableDocument

func ReadACASApplicableDocument(data []byte) ACASApplicableDocument

ReadACASApplicableDocument reads the ACASApplicableDocument from a 56 bits data field

func (ACASApplicableDocument) ToString

func (aad ACASApplicableDocument) ToString() string

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

type ACASGenerationCapability

type ACASGenerationCapability byte

ACASGenerationCapability is the ACAS generation capability definition

Specified in Doc 9871 / D.2.4.1

const (
	// ACASGenerationNotCapable indicates that the ACAS is generating TAs only.
	ACASGenerationNotCapable ACASGenerationCapability = 0
	// ACASGenerationCapable indicates that the ACAS is generating both TAs and RAs.
	ACASGenerationCapable ACASGenerationCapability = 1
)

func ReadACASGenerationCapability

func ReadACASGenerationCapability(data []byte) ACASGenerationCapability

ReadACASGenerationCapability reads the ACASGenerationCapability from a 56 bits data field

func (ACASGenerationCapability) ToString

func (agc ACASGenerationCapability) ToString() string

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

type ACASHybridSurveillanceCapability

type ACASHybridSurveillanceCapability byte

ACASHybridSurveillanceCapability is the ACAS hybrid surveillance capability definition

Specified in Doc 9871 / D.2.4.1

const (
	// ACASHybridSurveillanceNotCapable indicates that there is no hybrid surveillance capability.
	ACASHybridSurveillanceNotCapable ACASHybridSurveillanceCapability = 0
	// ACASHybridSurveillanceCapable indicates the capability of hybrid surveillance.
	ACASHybridSurveillanceCapable ACASHybridSurveillanceCapability = 1
)

func ReadACASHybridSurveillanceCapability

func ReadACASHybridSurveillanceCapability(data []byte) ACASHybridSurveillanceCapability

ReadACASHybridSurveillanceCapability reads the ACASHybridSurveillanceCapability from a 56 bits data field

func (ACASHybridSurveillanceCapability) ToString

func (ahsc ACASHybridSurveillanceCapability) ToString() string

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

type ACASStatus

type ACASStatus byte

ACASStatus is the ACAS status definition

Specified in Doc 9871 / D.2.4.1

const (
	// ACASFailedOrStandBy indicates that ACAS has failed or is on standby.
	ACASFailedOrStandBy ACASStatus = 0
	// ACASOperational indicates that ACAS is operational .
	ACASOperational ACASStatus = 1
)

func ReadACASStatus

func ReadACASStatus(data []byte) ACASStatus

ReadACASStatus reads the ACASStatus from a 56 bits data field

func (ACASStatus) ToString

func (ac ACASStatus) ToString() string

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

type AircraftIdentificationCapability

type AircraftIdentificationCapability byte

AircraftIdentificationCapability is the Aircraft Identification Capability definition

Specified in Doc 9871 / D.2.4.1

const (
	// IdentificationFromADLP indicates that is coming through ADLP.
	IdentificationFromADLP AircraftIdentificationCapability = 0
	// IdentificationFromSeparateInterface indicates that is coming through a separate interface.
	IdentificationFromSeparateInterface AircraftIdentificationCapability = 1
)

func ReadAircraftIdentificationCapability

func ReadAircraftIdentificationCapability(data []byte) AircraftIdentificationCapability

ReadAircraftIdentificationCapability reads the AircraftIdentificationCapability from a 56 bits data field

func (AircraftIdentificationCapability) ToString

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

type CommonUsageGICBCapability

type CommonUsageGICBCapability byte

CommonUsageGICBCapability is the Common usage GICB capability definition

Specified in Doc 9871 / D.2.4.1

const (
	// CommonUsageGICBReportUnChanged indicates that the common usage GICB capability report (register 17) is unchanged.
	CommonUsageGICBReportUnChanged CommonUsageGICBCapability = 0
	// CommonUsageGICBReportChanged indicates that the common usage GICB capability report (register 17) changed.
	CommonUsageGICBReportChanged CommonUsageGICBCapability = 1
)

func ReadCommonUsageGICBCapability

func ReadCommonUsageGICBCapability(data []byte) CommonUsageGICBCapability

ReadCommonUsageGICBCapability reads the CommonUsageGICBCapability from a 56 bits data field

func (CommonUsageGICBCapability) ToString

func (cugc CommonUsageGICBCapability) ToString() string

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

type ContinuationFlag

type ContinuationFlag byte

ContinuationFlag is the continuation definition

Specified in Doc 9871 / D.2.4.1

const (
	// NoNextRegister indicates that this is the last register.
	NoNextRegister ContinuationFlag = 0
	// NextRegisterPresent indicates that subsequent register shall be extracted.
	NextRegisterPresent ContinuationFlag = 1
)

func ReadContinuationFlag

func ReadContinuationFlag(data []byte) ContinuationFlag

ReadContinuationFlag reads the ContinuationFlag from a 56 bits data field

func (ContinuationFlag) ToString

func (cf ContinuationFlag) ToString() string

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

type DTESubAddressStatuses

type DTESubAddressStatuses uint16

DTESubAddressStatuses is the support status of DTE Sub-addresses 0 to 15 definition

Specified in Doc 9871 / D.2.4.1

func ReadDTESubAddressStatuses

func ReadDTESubAddressStatuses(data []byte) DTESubAddressStatuses

ReadDTESubAddressStatuses reads the DTESubAddressStatuses from a 56 bits data field

func (DTESubAddressStatuses) ToString

func (dss DTESubAddressStatuses) ToString() string

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

type DownlinkELMThroughputCapability

type DownlinkELMThroughputCapability byte

DownlinkELMThroughputCapability is the Downlink ELM average throughput capability definition

Specified in Doc 9871 / D.2.4.1

const (
	// DownlinkELMNoCapability indicates No DEML Capability.
	DownlinkELMNoCapability DownlinkELMThroughputCapability = 0
	// DownlinkELM4SegmentsEverySecond indicates One 4 segments DELM every second.
	DownlinkELM4SegmentsEverySecond DownlinkELMThroughputCapability = 1
	// DownlinkELM8SegmentsEverySecond indicates One 8 segments DELM every second.
	DownlinkELM8SegmentsEverySecond DownlinkELMThroughputCapability = 2
	// DownlinkELM16SegmentsEverySecond indicates One 16 segments DELM every second.
	DownlinkELM16SegmentsEverySecond DownlinkELMThroughputCapability = 3
	// DownlinkELM16SegmentsEvery500Milliseconds indicates One 16 segments DELM every 500 ms.
	DownlinkELM16SegmentsEvery500Milliseconds DownlinkELMThroughputCapability = 4
	// DownlinkELM16SegmentsEvery250Milliseconds indicates One 16 segments DELM every 250 ms.
	DownlinkELM16SegmentsEvery250Milliseconds DownlinkELMThroughputCapability = 5
	// DownlinkELM16SegmentsEvery125Milliseconds indicates One 16 segments DELM every 125 ms.
	DownlinkELM16SegmentsEvery125Milliseconds DownlinkELMThroughputCapability = 6
)

func ReadDownlinkELMThroughputCapability

func ReadDownlinkELMThroughputCapability(data []byte) DownlinkELMThroughputCapability

ReadDownlinkELMThroughputCapability reads the DownlinkELMThroughputCapability from a 56 bits data field

func (DownlinkELMThroughputCapability) ToString

func (uetc DownlinkELMThroughputCapability) ToString() string

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

type ModeSSpecificServicesCapability

type ModeSSpecificServicesCapability byte

ModeSSpecificServicesCapability is the Mode S specific services capability definition

Specified in Doc 9871 / D.2.4.1

const (
	// ModeSSpecificServicesNotPresent indicates that no Mode S specific service is present.
	ModeSSpecificServicesNotPresent ModeSSpecificServicesCapability = 0
	// ModeSSpecificServicesAvailable indicates that at least one Mode S specific service is present.
	ModeSSpecificServicesAvailable ModeSSpecificServicesCapability = 1
)

func ReadModeSSpecificServicesCapability

func ReadModeSSpecificServicesCapability(data []byte) ModeSSpecificServicesCapability

ReadModeSSpecificServicesCapability reads the ModeSSpecificServicesCapability from a 56 bits data field

func (ModeSSpecificServicesCapability) ToString

func (mssc ModeSSpecificServicesCapability) ToString() string

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

type ModeSSubnetworkVersion

type ModeSSubnetworkVersion byte

ModeSSubnetworkVersion is the Mode S Subnetwork Version Number definition

Specified in Doc 9871 / D.2.4.1

func ReadModeSSubnetworkVersion

func ReadModeSSubnetworkVersion(data []byte) ModeSSubnetworkVersion

ReadModeSSubnetworkVersion reads the ModeSSubnetworkVersion from a 56 bits data field

func (ModeSSubnetworkVersion) ToString

func (mssv ModeSSubnetworkVersion) ToString() string

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

type OverlayCommandCapability

type OverlayCommandCapability byte

OverlayCommandCapability is the overlay command capability definition

Specified in Doc 9871 / D.2.4.1

const (
	// NoOverlayCommandCapability indicates that this is no overlay command capability.
	NoOverlayCommandCapability OverlayCommandCapability = 0
	// OverlayCommandCapabilityPresent indicates that there is an overlay command capability.
	OverlayCommandCapabilityPresent OverlayCommandCapability = 1
)

func ReadOverlayCommandCapability

func ReadOverlayCommandCapability(data []byte) OverlayCommandCapability

ReadOverlayCommandCapability reads the OverlayCommandCapability from a 56 bits data field

func (OverlayCommandCapability) ToString

func (occ OverlayCommandCapability) ToString() string

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

type SquitterCapabilitySubfield

type SquitterCapabilitySubfield byte

SquitterCapabilitySubfield is the Squitter capability subfield definition

Specified in Doc 9871 / D.2.4.1

const (
	// Registers05And06NotUpdatedRecently indicates that the registers 05 and 06 have not been updated recently.
	Registers05And06NotUpdatedRecently SquitterCapabilitySubfield = 0
	// Registers05And06UpdatedRecently indicates that the registers 05 and 06 have been updated within the last ten,
	//plus or minus one, seconds.
	Registers05And06UpdatedRecently SquitterCapabilitySubfield = 1
)

func ReadSquitterCapabilitySubfield

func ReadSquitterCapabilitySubfield(data []byte) SquitterCapabilitySubfield

ReadSquitterCapabilitySubfield reads the SquitterCapabilitySubfield from a 56 bits data field

func (SquitterCapabilitySubfield) ToString

func (scs SquitterCapabilitySubfield) ToString() string

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

type SurveillanceIdentifierCode

type SurveillanceIdentifierCode byte

SurveillanceIdentifierCode is the Surveillance identifier code definition

Specified in Doc 9871 / D.2.4.1

const (
	// SurveillanceIdentifierCodeAbsent indicates no surveillance identifier code capability.
	SurveillanceIdentifierCodeAbsent SurveillanceIdentifierCode = 0
	// SurveillanceIdentifierCodeCapable indicates surveillance identifier code capability.
	SurveillanceIdentifierCodeCapable SurveillanceIdentifierCode = 1
)

func ReadSurveillanceIdentifierCode

func ReadSurveillanceIdentifierCode(data []byte) SurveillanceIdentifierCode

ReadSurveillanceIdentifierCode reads the SurveillanceIdentifierCode from a 56 bits data field

func (SurveillanceIdentifierCode) ToString

func (sic SurveillanceIdentifierCode) ToString() string

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

type TransponderEnhancedProtocolIndicator

type TransponderEnhancedProtocolIndicator byte

TransponderEnhancedProtocolIndicator is the Transponder enhanced protocol indicator definition

Specified in Doc 9871 / D.2.4.1

const (
	// TransponderLevel2To4 indicates a transponder Level 2 to 4.
	TransponderLevel2To4 TransponderEnhancedProtocolIndicator = 0
	// TransponderLevel5 indicates a transponder Level 5.
	TransponderLevel5 TransponderEnhancedProtocolIndicator = 1
)

func ReadTransponderEnhancedProtocolIndicator

func ReadTransponderEnhancedProtocolIndicator(data []byte) TransponderEnhancedProtocolIndicator

ReadTransponderEnhancedProtocolIndicator reads the TransponderEnhancedProtocolIndicator from a 56 bits data field

func (TransponderEnhancedProtocolIndicator) ToString

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

type UplinkELMThroughputCapability

type UplinkELMThroughputCapability byte

UplinkELMThroughputCapability is the Uplink ELM average throughput capability definition

Specified in Doc 9871 / D.2.4.1

const (
	// UplinkELMNoCapability indicates No UELM Capability.
	UplinkELMNoCapability UplinkELMThroughputCapability = 0
	// UplinkELM16SegmentsIn1Second indicates 16 UELM segments in 1 second.
	UplinkELM16SegmentsIn1Second UplinkELMThroughputCapability = 1
	// UplinkELM16SegmentsIn500Milliseconds indicates 16 UELM segments in 500ms.
	UplinkELM16SegmentsIn500Milliseconds UplinkELMThroughputCapability = 2
	// UplinkELM16SegmentsIn250Milliseconds indicates 16 UELM segments in 250 ms.
	UplinkELM16SegmentsIn250Milliseconds UplinkELMThroughputCapability = 3
	// UplinkELM16SegmentsIn125Milliseconds indicates 16 UELM segments in 125 ms.
	UplinkELM16SegmentsIn125Milliseconds UplinkELMThroughputCapability = 4
	// UplinkELM16SegmentsIn60Milliseconds indicates 16 UELM segments in 60ms.
	UplinkELM16SegmentsIn60Milliseconds UplinkELMThroughputCapability = 5
	// UplinkELM16SegmentsIn30Milliseconds indicates 16 UELM segments in 30ms.
	UplinkELM16SegmentsIn30Milliseconds UplinkELMThroughputCapability = 6
)

func ReadUplinkELMThroughputCapability

func ReadUplinkELMThroughputCapability(data []byte) UplinkELMThroughputCapability

ReadUplinkELMThroughputCapability reads the UplinkELMThroughputCapability from a 56 bits data field

func (UplinkELMThroughputCapability) ToString

func (uetc UplinkELMThroughputCapability) 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