Documentation
¶
Index ¶
- func ReadAverageStaticPressureV0(data []byte) (bool, uint32)
- func ReadAverageStaticPressureV1AndV2(data []byte) (bool, uint32)
- func ReadHumidityV0(data []byte) (bool, float32)
- func ReadHumidityV1AndV2(data []byte) (bool, float32)
- func ReadStaticAirTemperatureV0(data []byte) float32
- func ReadStaticAirTemperatureV1AndV2(data []byte) (bool, float32)
- func ReadWindDirectionV0(data []byte) (bool, float32)
- func ReadWindDirectionV1AndV2(data []byte) (bool, float32)
- func ReadWindSpeed(data []byte) (bool, uint32)
- type Source
- type TurbulenceFlag
- type TurbulenceLevel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadAverageStaticPressureV0 ¶
ReadAverageStaticPressureV0 as given by Table A-2-68
func ReadAverageStaticPressureV1AndV2 ¶
ReadAverageStaticPressureV1AndV2 as given by Table E-2-68
func ReadHumidityV0 ¶
func ReadHumidityV1AndV2 ¶
func ReadStaticAirTemperatureV0 ¶
ReadStaticAirTemperatureV0 as given by Table A-2-68
func ReadStaticAirTemperatureV1AndV2 ¶
ReadStaticAirTemperatureV1AndV2 as given by Table E-2-68
func ReadWindDirectionV0 ¶
ReadWindDirectionV0 as given by Table A-2-68
func ReadWindDirectionV1AndV2 ¶
ReadWindDirectionV1AndV2 as given by Table E-2-68
func ReadWindSpeed ¶
Types ¶
type Source ¶
type Source byte
Source is the source
Specified in Doc 9871 / Table A-2-68
const ( // SourceInvalid indicates turbulence data not available in Register 45. SourceInvalid Source = 0 // SourceINS indicates INS source. SourceINS Source = 1 // SourceGNSS indicates GNSS source. SourceGNSS Source = 2 // SourceDMEDME indicates DME/DME source. SourceDMEDME Source = 3 // SourceVORDME indicates VOR/DME source. SourceVORDME Source = 4 )
func ReadSource ¶
type TurbulenceFlag ¶
type TurbulenceFlag byte
TurbulenceFlag is the single antenna flag definition
Specified in Doc 9871 / Table E-2-68
const ( // TFNoDataAvailable indicates turbulence data not available in Register 45. TFNoDataAvailable TurbulenceFlag = 0 // TFDataAvailable indicates turbulence data available in Register 45. TFDataAvailable TurbulenceFlag = 1 )
func ReadTurbulenceFlag ¶
func ReadTurbulenceFlag(data []byte) TurbulenceFlag
ReadTurbulenceFlag reads the TurbulenceFlag from a 56 bits data field
func (TurbulenceFlag) ToString ¶
func (tf TurbulenceFlag) ToString() string
ToString returns a basic, but readable, representation of the field
type TurbulenceLevel ¶
type TurbulenceLevel byte
TurbulenceLevel is the turbulence flag
Specified in Doc 9871 / Table A-2-68
const ( // TLNil indicates Nil. TLNil TurbulenceLevel = 0 // TLLight indicates Light. TLLight TurbulenceLevel = 1 // TLModerate indicates Moderate. TLModerate TurbulenceLevel = 2 // TLSevere indicates Severe. TLSevere TurbulenceLevel = 3 )
func ReadTurbulence ¶
func ReadTurbulence(data []byte) (bool, TurbulenceLevel)
func (TurbulenceLevel) ToString ¶
func (tl TurbulenceLevel) ToString() string
ToString returns a basic, but readable, representation of the field