bds62

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TargetStateAndStatus

type TargetStateAndStatus interface {
	bds.Message
	GetSubtype() fields.Subtype
}

func ReadTargetStateAndStatus

func ReadTargetStateAndStatus(data []byte) (TargetStateAndStatus, error)

ReadTargetStateAndStatus reads a message at the format TargetStateAndStatus

type TargetStateAndStatus0

type TargetStateAndStatus0 struct {
	FormatTypeCode                         byte
	Subtype                                fields.Subtype
	VerticalDataAvailableSourceIndicator   fields.VerticalDataAvailableSourceIndicator
	TargetAltitudeType                     fields.TargetAltitudeType
	TargetAltitudeCapability               fields.TargetAltitudeCapability
	VerticalModeIndicator                  fields.VerticalModeIndicator
	TargetAltitudeStatus                   fields.NumericValueStatus
	TargetAltitude                         int32
	HorizontalDataAvailableSourceIndicator fields.HorizontalDataAvailableSourceIndicator
	TargetHeadingTrackAngleStatus          fields.NumericValueStatus
	TargetHeadingTrackAngle                uint16
	TargetHeadingTrackIndicator            fields.TargetHeadingTrackIndicator
	HorizontalModeIndicator                fields.HorizontalModeIndicator
	NavigationalAccuracyCategoryPosition   fields.NavigationalAccuracyCategoryPositionV1
	NICBaro                                fields.NICBaro
	SurveillanceIntegrityLevel             fields.SurveillanceIntegrityLevel
	CapabilityModeCode                     fields.CapabilityModeCode
	EmergencyPriorityStatus                fields.EmergencyPriorityStatus
}

TargetStateAndStatus0 is a message at the format BDS 6,2

Specified in Doc 9871 / Table B-2-98

func ReadTargetStateAndStatus0

func ReadTargetStateAndStatus0(data []byte) (*TargetStateAndStatus0, error)

ReadTargetStateAndStatus0 reads a TargetStateAndStatus / subtype 0

func (TargetStateAndStatus0) CheckCoherency

func (message TargetStateAndStatus0) CheckCoherency() error

CheckCoherency checks that the data of the message are somehow coherent, such as for example: no Reserved values, etc.

func (TargetStateAndStatus0) GetRegister

func (message TargetStateAndStatus0) GetRegister() register.Register

GetRegister returns the Register the message

func (TargetStateAndStatus0) GetSubtype

func (message TargetStateAndStatus0) GetSubtype() fields.Subtype

func (TargetStateAndStatus0) ToString

func (message TargetStateAndStatus0) ToString() string

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

type TargetStateAndStatus1

type TargetStateAndStatus1 struct {
	FormatTypeCode                       byte
	Subtype                              fields.Subtype
	SourceIntegrityLevelSupplement       fields.SourceIntegrityLevelSupplement
	SelectedAltitudeType                 fields.SelectedAltitudeType
	SelectedAltitudeStatus               fields.NumericValueStatus
	SelectedAltitude                     uint16
	BarometricPressureSettingStatus      fields.NumericValueStatus
	BarometricPressureSetting            float32
	SelectedHeadingStatus                fields.SelectedHeadingStatus
	SelectedHeading                      float32
	NavigationalAccuracyCategoryPosition fields.NavigationalAccuracyCategoryPositionV2
	NICBaro                              fields.NICBaro
	SourceIntegrityLevel                 fields.SourceIntegrityLevel
	StatusMCPFCUBits                     fields.StatusMCPFCUBits
	AutopilotEngaged                     bool
	VNAVModeEngaged                      bool
	AltitudeHoldModeEngaged              bool
	ApproachModeEngaged                  bool
	TCASACASOperational                  bool
	LNAVModeEngaged                      bool
}

TargetStateAndStatus1 is a message at the format BDS 6,2

Specified in Doc 9871 / Figure C-9

func ReadTargetStateAndStatus1

func ReadTargetStateAndStatus1(data []byte) (*TargetStateAndStatus1, error)

ReadTargetStateAndStatus1 reads a TargetStateAndStatus / Subtype 1

func (TargetStateAndStatus1) CheckCoherency

func (message TargetStateAndStatus1) CheckCoherency() error

CheckCoherency checks that the data of the message are somehow coherent, such as for example: no Reserved values, etc.

func (TargetStateAndStatus1) GetRegister

func (message TargetStateAndStatus1) GetRegister() register.Register

GetRegister returns the Register the message

func (TargetStateAndStatus1) GetSubtype

func (message TargetStateAndStatus1) GetSubtype() fields.Subtype

func (TargetStateAndStatus1) ToString

func (message TargetStateAndStatus1) ToString() string

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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