adsb
A Rust parser for 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
Usage
Parse message in AVR format
let avr = "*8D4840D6202CC371C32CE0576098;";
let = parse_avr.unwrap;
if let Message = message
Parse message in binary format
let bin = b"\x8D\x40\x62\x1D\x58\xC3\x82\xD6\x90\xC8\xAC\x28\x63\xA7";
let = parse_binary.unwrap;
if let Message = message