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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AltitudeTypeSubfield

type AltitudeTypeSubfield byte

AltitudeTypeSubfield is the Altitude type subfield definition

Specified in Doc 9871 / A.2.7

const (
	// BarometricAltitude indicates Barometric altitude.
	BarometricAltitude AltitudeTypeSubfield = 0
	// GNSSHeight indicates GNSS height.
	GNSSHeight AltitudeTypeSubfield = 1
)

func ReadAltitudeTypeSubfield

func ReadAltitudeTypeSubfield(data []byte) AltitudeTypeSubfield

ReadAltitudeTypeSubfield reads the AltitudeTypeSubfield from a 56 bits data field

func (AltitudeTypeSubfield) ToString

func (ats AltitudeTypeSubfield) ToString() string

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

type TransmissionRateSubfield

type TransmissionRateSubfield byte

TransmissionRateSubfield is the Transmission rate subfield definition

Specified in Doc 9871 / A.2.7

const (
	// TransmissionRateNoCapability indicates No capability to determine surface squitter rate.
	TransmissionRateNoCapability TransmissionRateSubfield = 0
	// TransmissionRateHigh indicates High surface squitter rate selected.
	TransmissionRateHigh TransmissionRateSubfield = 1
	// TransmissionRateLow indicates Low surface squitter rate selected.
	TransmissionRateLow TransmissionRateSubfield = 2
)

func ReadTransmissionRateSubfield

func ReadTransmissionRateSubfield(data []byte) TransmissionRateSubfield

ReadTransmissionRateSubfield reads the TransmissionRateSubfield from a 56 bits data field

func (TransmissionRateSubfield) ToString

func (trs TransmissionRateSubfield) 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