Documentation ¶
Index ¶
- func ReadBDS62(adsbLevel adsb.ReaderLevel, data []byte) (adsb.Message, adsb.ReaderLevel, error)
- type Format29Subtype0
- func (message Format29Subtype0) GetMaximumADSBLevel() adsb.MessageLevel
- func (message Format29Subtype0) GetMessageFormat() adsb.MessageFormat
- func (message Format29Subtype0) GetMinimumADSBLevel() adsb.MessageLevel
- func (message Format29Subtype0) GetRegister() bds.Register
- func (message Format29Subtype0) GetSubtype() adsb.Subtype
- func (message Format29Subtype0) ToString() string
- type Format29Subtype1
- func (message Format29Subtype1) GetMaximumADSBLevel() adsb.MessageLevel
- func (message Format29Subtype1) GetMessageFormat() adsb.MessageFormat
- func (message Format29Subtype1) GetMinimumADSBLevel() adsb.MessageLevel
- func (message Format29Subtype1) GetRegister() bds.Register
- func (message Format29Subtype1) GetSubtype() adsb.Subtype
- func (message Format29Subtype1) ToString() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadBDS62 ¶
func ReadBDS62(adsbLevel adsb.ReaderLevel, data []byte) (adsb.Message, adsb.ReaderLevel, error)
ReadBDS62 reads a message at the format BDS 6,2. This format was created in ADSB V1, and extended in ADSB V2
Changes between version:
- ADSB V0 -> ADSB V1: Create message with Subtype 0
- ADSB V1 -> ADSB V2: Add Subtype 1
Params:
- adsbLevel: The ADSB level request
- data: The data of the message must be 7 bytes
Returns the message read, the given ADSBLevel or an error
Types ¶
type Format29Subtype0 ¶
type Format29Subtype0 struct { VerticalDataAvailableSourceIndicator fields.VerticalDataAvailableSourceIndicator TargetAltitudeType fields.TargetAltitudeType TargetAltitudeCapability fields.TargetAltitudeCapability VerticalModeIndicator fields.VerticalModeIndicator TargetAltitude fields.TargetAltitude HorizontalDataAvailableSourceIndicator fields.HorizontalDataAvailableSourceIndicator TargetHeadingTrackAngle fields.TargetHeadingTrackAngle TargetHeadingTrackIndicator fields.TargetHeadingTrackIndicator HorizontalModeIndicator fields.HorizontalModeIndicator NICBaro fields.NICBaro SurveillanceIntegrityLevel fields.SurveillanceIntegrityLevel CapabilityModeCode fields.CapabilityModeCode EmergencyPriorityStatus fields.EmergencyPriorityStatus }
Format29Subtype0 is a message at the format BDS 6,2
func ReadFormat29Subtype0 ¶ added in v0.3.0
func ReadFormat29Subtype0(data []byte) (*Format29Subtype0, error)
ReadFormat29Subtype0 reads a message at the format Format 29 / Subtype 0
func (Format29Subtype0) GetMaximumADSBLevel ¶ added in v0.3.0
func (message Format29Subtype0) GetMaximumADSBLevel() adsb.MessageLevel
GetMaximumADSBLevel returns the maximum ADSB ReaderLevel for the message
func (Format29Subtype0) GetMessageFormat ¶
func (message Format29Subtype0) GetMessageFormat() adsb.MessageFormat
GetMessageFormat returns the ADSB format of the message
func (Format29Subtype0) GetMinimumADSBLevel ¶ added in v0.3.0
func (message Format29Subtype0) GetMinimumADSBLevel() adsb.MessageLevel
GetMinimumADSBLevel returns the minimum ADSB ReaderLevel for the message
func (Format29Subtype0) GetRegister ¶
func (message Format29Subtype0) GetRegister() bds.Register
GetRegister returns the register of the message
func (Format29Subtype0) GetSubtype ¶
func (message Format29Subtype0) GetSubtype() adsb.Subtype
GetSubtype returns the Subtype
func (Format29Subtype0) ToString ¶
func (message Format29Subtype0) ToString() string
ToString returns a basic, but readable, representation of the message
type Format29Subtype1 ¶
type Format29Subtype1 struct { SourceIntegrityLevelSupplement fields.SourceIntegrityLevelSupplement SelectedAltitudeType fields.SelectedAltitudeType SelectedAltitude fields.SelectedAltitude BarometricPressureSetting fields.BarometricPressureSetting SelectedHeadingStatus fields.SelectedHeadingStatus SelectedHeadingSign fields.SelectedHeadingSign SelectedHeading fields.SelectedHeading NICBaro fields.NICBaro SourceIntegrityLevel fields.SourceIntegrityLevel StatusMCPFCUBits fields.StatusMCPFCUBits AutopilotEngaged fields.AutopilotEngaged VNAVModeEngaged fields.VNAVModeEngaged AltitudeHoldModeEngaged fields.AltitudeHoldModeEngaged ApproachModeEngaged fields.ApproachModeEngaged ACASOperational fields.ACASOperational LNAVModeEngaged fields.LNAVModeEngaged }
Format29Subtype1 is a message at the format BDS 6,2
func ReadFormat29Subtype1 ¶ added in v0.3.0
func ReadFormat29Subtype1(data []byte) (*Format29Subtype1, error)
ReadFormat29Subtype1 reads a message at the format BDS 6,2
func (Format29Subtype1) GetMaximumADSBLevel ¶ added in v0.3.0
func (message Format29Subtype1) GetMaximumADSBLevel() adsb.MessageLevel
GetMaximumADSBLevel returns the maximum ADSB ReaderLevel for the message
func (Format29Subtype1) GetMessageFormat ¶
func (message Format29Subtype1) GetMessageFormat() adsb.MessageFormat
GetMessageFormat returns the ADSB format of the message
func (Format29Subtype1) GetMinimumADSBLevel ¶ added in v0.3.0
func (message Format29Subtype1) GetMinimumADSBLevel() adsb.MessageLevel
GetMinimumADSBLevel returns the minimum ADSB ReaderLevel for the message
func (Format29Subtype1) GetRegister ¶
func (message Format29Subtype1) GetRegister() bds.Register
GetRegister returns the register of the message
func (Format29Subtype1) GetSubtype ¶
func (message Format29Subtype1) GetSubtype() adsb.Subtype
GetSubtype returns the Subtype
func (Format29Subtype1) ToString ¶
func (message Format29Subtype1) ToString() string
ToString returns a basic, but readable, representation of the message