adsbtype

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package adsbtype provides types and constant values for the fields and values in the ADS-B Mode S and Extended Squitter specifications.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ATS

type ATS uint64

ATS is the altitude type subfield.

const (
	ATS0 ATS = 0 // Barometric altitude
	ATS1 ATS = 1 // Navigation-derived altitude
)

Altitude Type Subfield values.

func (ATS) String

func (c ATS) String() string

String representation of ATS.

type AcCat

type AcCat string

AcCat is the extended squitter aircraft emitter category.

const (
	A0 AcCat = "A0" // No ADS-B emitter category information
	A1 AcCat = "A1" // Light (< 15500 lbs)
	A2 AcCat = "A2" // Small (15500 to 75000 lbs)
	A3 AcCat = "A3" // Large (75000 to 300000 lbs)
	A4 AcCat = "A4" // High vortex large (aircraft such as B-757)
	A5 AcCat = "A5" // Heavy (> 300000 lbs)
	A6 AcCat = "A6" // High performance (> 5g acceleration and 400 kts)
	A7 AcCat = "A7" // Rotorcraft

	B0 AcCat = "B0" // No ADS-B emitter category information
	B1 AcCat = "B1" // Glider / sailplane
	B2 AcCat = "B2" // Lighter-than-air
	B3 AcCat = "B3" // Parachutist / skydiver
	B4 AcCat = "B4" // Ultralight / hang-glider / paraglider
	B5 AcCat = "B5" // Reserved
	B6 AcCat = "B6" // Unmanned aerial vehicle
	B7 AcCat = "B7" // Space / trans-atmospheric vehicle

	C0 AcCat = "C0" // No ADS-B emitter category information
	C1 AcCat = "C1" // Surface vehicle – emergency vehicle
	C2 AcCat = "C2" // Surface vehicle – service vehicle
	C3 AcCat = "C3" // Point obstacle (includes tethered balloons)
	C4 AcCat = "C4" // Cluster obstacle
	C5 AcCat = "C5" // Line obstacle
	C6 AcCat = "C6" // Reserved
	C7 AcCat = "C7" // Reserved
)

Extended squitter aircraft emitter category values.

func (AcCat) String

func (c AcCat) String() string

String representation of AcCat.

type BDS

type BDS uint64

BDS is the Comm-B data selector.

const (
	BDS02 BDS = 0x02 // Linked Comm-B, segment 2
	BDS03 BDS = 0x03 // Linked Comm-B, segment 3
	BDS04 BDS = 0x04 // Linked Comm-B, segment 4
	BDS05 BDS = 0x05 // Extended squitter airborne position
	BDS06 BDS = 0x06 // Extended squitter surface position
	BDS07 BDS = 0x07 // Extended squitter status
	BDS08 BDS = 0x08 // Extended squitter identification and category
	BDS09 BDS = 0x09 // Extended squitter airborne velocity
	BDS0A BDS = 0x0A // Extended squitter event-driven information
	BDS0B BDS = 0x0B // Air / air information 1 (aircraft state)
	BDS0C BDS = 0x0C // Air / air information 2 (aircraft intent)

	BDS10 BDS = 0x10 // Data link capability report

	BDS17 BDS = 0x17 // Common usage GICB capability report

	BDS20 BDS = 0x20 // Aircraft identification
	BDS21 BDS = 0x21 // Aircraft and airline registration markings
	BDS22 BDS = 0x22 // Antenna positions

	BDS25 BDS = 0x25 // Aircraft type

	BDS30 BDS = 0x30 // ACAS active resolution advisory

	BDS40 BDS = 0x40 // Selected vertical intention
	BDS41 BDS = 0x41 // Next waypoint identifier
	BDS42 BDS = 0x42 // Next waypoint position
	BDS43 BDS = 0x43 // Next waypoint information
	BDS44 BDS = 0x44 // Meteorological routine air report
	BDS45 BDS = 0x45 // Meteorological hazard report

	BDS48 BDS = 0x48 // VHF channel report

	BDS50 BDS = 0x50 // Track and turn report
	BDS51 BDS = 0x51 // Position report coarse
	BDS52 BDS = 0x52 // Position report fine
	BDS53 BDS = 0x53 // Air-referenced state vector
	BDS54 BDS = 0x54 // Waypoint 1
	BDS55 BDS = 0x55 // Waypoint 2
	BDS56 BDS = 0x56 // Waypoint 3

	BDS5F BDS = 0x5F // Quasi-static parameter monitoring
	BDS60 BDS = 0x60 // Heading and speed report
	BDS61 BDS = 0x61 // Extended squitter emergency / priority status

	BDS65 BDS = 0x65 // Extended squitter aircraft operational status

	BDSE3 BDS = 0xE3 // Transponder type / part number
	BDSE4 BDS = 0xE4 // Transponder software revision number
	BDSE5 BDS = 0xE5 // ACAS unit part number
	BDSE6 BDS = 0xE6 // ACAS unit software revision number
	BDSE7 BDS = 0xE7 // Transponder status and diagnostics

	BDSEA BDS = 0xEA // Vendor specific status and diagnostics

	BDSF1 BDS = 0xF1 // Military applications (F1)
	BDSF2 BDS = 0xF2 // Military applications (F2)
)

Comm-B Data Selector values.

func (BDS) String

func (c BDS) String() string

String representation of BDS.

type CA

type CA uint64

CA is the capability.

const (
	CA0 CA = 0 // Level 1
	CA4 CA = 4 // Level 2 - On ground
	CA5 CA = 5 // Level 2 - Airborne
	CA6 CA = 6 // Level 2
	CA7 CA = 7 // CA=7
)

Capability values.

func (CA) String

func (c CA) String() string

String representation of CA.

type CC

type CC uint64

CC is the Cross-link Capability.

const (
	CC0 CC = 0 // Not supported
	CC1 CC = 1 // Supported
)

Cross-link Capability values.

func (CC) String

func (c CC) String() string

String representation of CC.

type CF

type CF uint64

CF is the control field.

const (
	CF0 CF = 0 // ADS-B message, non-transponder device with ICAO address
	CF1 CF = 1 // ADS-B message, anonymous, ground vehicle or obstruction address
	CF2 CF = 2 // Fine format TIS-B message
	CF3 CF = 3 // Coarse format TIS-B message
	CF4 CF = 4 // TIS-B or ADS-R management message
	CF5 CF = 5 // Fine format TIS-B message, non-ICAO address
	CF6 CF = 6 // ADS-B rebroadcast message
)

Control Field values.

func (CF) String

func (c CF) String() string

String representation of CF.

type DF

type DF uint64

DF is the downlink format.

const (
	DF0  DF = 0  // Short air-air surveillance (ACAS)
	DF4  DF = 4  // Surveillance altitude reply
	DF5  DF = 5  // Surveillance identify reply
	DF11 DF = 11 // All-call reply
	DF16 DF = 16 // Long air-air surveillance (ACAS)
	DF17 DF = 17 // Extended squitter
	DF18 DF = 18 // Extended squitter / non-transponder
	DF19 DF = 19 // Military extended squitter
	DF20 DF = 20 // Comm-B altitude reply
	DF21 DF = 21 // Comm-B identify reply
	DF22 DF = 22 // Reserved for military use
	DF24 DF = 24 // Comm-D (ELM)
)

Downlink Format values.

func (DF) String

func (c DF) String() string

String representation of DF.

type DR

type DR uint64

DR is the downlink request.

const (
	DR0  DR = 0  // No request
	DR1  DR = 1  // Send Comm-B message
	DR2  DR = 2  // ACAS message available
	DR3  DR = 3  // Comm-B message and ACAS message available
	DR4  DR = 4  // Comm-B broadcast message 1 available
	DR5  DR = 5  // Comm-B broadcast message 2 available
	DR6  DR = 6  // Comm-B broadcast message 1 and ACAS message available
	DR7  DR = 7  // Comm-B broadcast message 2 and ACAS message available
	DR16 DR = 16 // 1 segment ELM message available
	DR17 DR = 17 // 2 segment ELM message available
	DR18 DR = 18 // 3 segment ELM message available
	DR19 DR = 19 // 4 segment ELM message available
	DR20 DR = 20 // 5 segment ELM message available
	DR21 DR = 21 // 6 segment ELM message available
	DR22 DR = 22 // 7 segment ELM message available
	DR23 DR = 23 // 8 segment ELM message available
	DR24 DR = 24 // 9 segment ELM message available
	DR25 DR = 25 // 10 segment ELM message available
	DR26 DR = 26 // 11 segment ELM message available
	DR27 DR = 27 // 12 segment ELM message available
	DR28 DR = 28 // 13 segment ELM message available
	DR29 DR = 29 // 14 segment ELM message available
	DR30 DR = 30 // 15 segment ELM message available
	DR31 DR = 31 // 15 segment ELM message available
)

Downlink Request values.

func (DR) String

func (c DR) String() string

String representation of DR.

type FS

type FS uint64

FS is the flight status.

const (
	FS0 FS = 0 // No alert, no SPI, airborne
	FS1 FS = 1 // No alert, no SPI, on ground
	FS2 FS = 2 // Alert, no SPI, airborne
	FS3 FS = 3 // Alert, no SPI, on ground
	FS4 FS = 4 // Alert, SPI
	FS5 FS = 5 // No alert, SPI
)

Flight Status values.

func (FS) String

func (c FS) String() string

String representation of FS.

type RI

type RI uint64

RI is the reply information.

const (
	RI0  RI = 0  // No ACAS
	RI2  RI = 2  // ACAS with resolution inhibited
	RI3  RI = 3  // ACAS with vertical-only resolution
	RI4  RI = 4  // ACAS with vertical and horizontal resolution
	RI8  RI = 8  // No maximum airspeed available
	RI9  RI = 9  // Maximum airspeed < 75 kt
	RI10 RI = 10 // Maximum airspeed 75 - 150 kt
	RI11 RI = 11 // Maximum airspeed 150 - 300 kt
	RI12 RI = 12 // Maximum airspeed 300 - 600 kt
	RI13 RI = 13 // Maximum airspeed 600 - 1200 kt
	RI14 RI = 14 // Maximum airspeed > 1200 kt
)

Reply Information values.

func (RI) String

func (c RI) String() string

String representation of RI.

type SL

type SL uint64

SL is the sensitivity level report.

const (
	SL0 SL = 0 // ACAS inoperative
	SL1 SL = 1 // ACAS sensitivity level 1
	SL2 SL = 2 // ACAS sensitivity level 2
	SL3 SL = 3 // ACAS sensitivity level 3
	SL4 SL = 4 // ACAS sensitivity level 4
	SL5 SL = 5 // ACAS sensitivity level 5
	SL6 SL = 6 // ACAS sensitivity level 6
	SL7 SL = 7 // ACAS sensitivity level 7
)

Sensitivity Level values.

func (SL) String

func (c SL) String() string

String representation of SL.

type SSS

type SSS uint64

SSS is the surveillance status subfield.

const (
	SSS0 SSS = 0 // No condition information
	SSS1 SSS = 1 // Permanent alert (emergency)
	SSS2 SSS = 2 // Temporary alert (ident change)
	SSS3 SSS = 3 // SPI
)

Surveillance Status Subfield values.

func (SSS) String

func (c SSS) String() string

String representation of SSS.

type TRS

type TRS uint64

TRS is the transmission rate subfield.

const (
	TRS0 TRS = 0 // No capability
	TRS1 TRS = 1 // High surface squitter rate
	TRS2 TRS = 2 // Low surface squitter rate
)

Transmission Rate Subfield values.

func (TRS) String

func (c TRS) String() string

String representation of TRS.

type TYPE

type TYPE uint64

TYPE is the extended squitter type.

const (
	TYPE0  TYPE = 0  // No position information
	TYPE1  TYPE = 1  // Identification (Category Set D)
	TYPE2  TYPE = 2  // Identification (Category Set C)
	TYPE3  TYPE = 3  // Identification (Category Set B)
	TYPE4  TYPE = 4  // Identification (Category Set A)
	TYPE5  TYPE = 5  // Surface position, 7.5 meter
	TYPE6  TYPE = 6  // Surface position, 25 meter
	TYPE7  TYPE = 7  // Surface position, 0.1 NM
	TYPE8  TYPE = 8  // Surface position
	TYPE9  TYPE = 9  // Airborne position, 7.5 meter, barometric altitude
	TYPE10 TYPE = 10 // Airborne position, 25 meter, barometric altitude
	TYPE11 TYPE = 11 // Airborne position, 0.1 NM, barometric altitude
	TYPE12 TYPE = 12 // Airborne position, 0.2 NM, barometric altitude
	TYPE13 TYPE = 13 // Airborne position, 0.5 NM, barometric altitude
	TYPE14 TYPE = 14 // Airborne position, 1.0 NM, barometric altitude
	TYPE15 TYPE = 15 // Airborne position, 2.0 NM, barometric altitude
	TYPE16 TYPE = 16 // Airborne position, 10 NM, barometric altitude
	TYPE17 TYPE = 17 // Airborne position, 20 NM, barometric altitude
	TYPE18 TYPE = 18 // Airborne position, barometric altitude
	TYPE19 TYPE = 19 // Airborne velocity
	TYPE20 TYPE = 20 // Airborne position, 7.5 meter, GNSS height
	TYPE21 TYPE = 21 // Airborne position, 25 meter, GNSS height
	TYPE22 TYPE = 22 // Airborne position, GNSS height
	TYPE28 TYPE = 28 // Emergency priority status
	TYPE31 TYPE = 31 // Operational status
)

Extended squitter type values.

func (TYPE) String

func (c TYPE) String() string

String representation of TYPE.

type VS

type VS uint64

VS is the vertical status.

const (
	VS0 VS = 0 // Airborne
	VS1 VS = 1 // On ground
)

Vertical Status values.

func (VS) String

func (c VS) String() string

String representation of VS.

Jump to

Keyboard shortcuts

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