Expand description
Parse ADS-B/Mode-S messages. Messages with the following Downlink Formats (DF) are supported:
- DF 5: Surveillance identity (squawk code)
- DF 17/18: Automatic Dependent Surveillance - Broadcast (ADS-B)
- TC 1-4: Aircraft identification and category
- TC 9-18: Airborne position
- TC 19: Airborne velocity
Modules§
- Decode aircraft positions encoded in Compact Position Reporting (CPR) format.
Structs§
- Aircraft position is broadcast as a set of alternating odd and even frames which encode position information using Compact Position Reporting (CPR).
- Unique 24-bit ICAO address assigned to an aircraft upon national registration.
- ADS-B/Mode-S message.
- Error type used to convey parsing errors.
- Horizontal coordinates in the geographic coordinate system.
- 16 bit transponder squawk code.
Enums§
- Kind of ADSB message.
- Kind of ADS-B/Mode-S message.
- Kind of Mode-S message.
- Frame parity.
- Source for vertical rate information.
Functions§
- Parse message from a string with data in AVR format. Each message should start with a
*
and end with a;
. If successful, returns a tuple containing the parsed message and a slice of remaining unparsed data. - Parse message from binary data. If successful, returns a tuple containing the parsed message and a slice of remaining unparsed binary data.