#ads-b #decoding #aircraft #modes #command-line-utilities

app decode1090

Companion application to rs1090 to decode Mode S and ADS-B signals

22 unstable releases (3 breaking)

0.4.4 Jan 12, 2025
0.4.2 Dec 29, 2024
0.3.9 Nov 26, 2024
0.2.5 Jun 28, 2024
0.1.3 Mar 8, 2024

#1247 in Parser implementations

Download history 126/week @ 2024-10-02 57/week @ 2024-10-09 168/week @ 2024-10-16 3/week @ 2024-10-23 20/week @ 2024-10-30 17/week @ 2024-11-06 39/week @ 2024-11-20 122/week @ 2024-11-27 6/week @ 2024-12-04 246/week @ 2024-12-11 10/week @ 2024-12-18 95/week @ 2024-12-25 18/week @ 2025-01-01 247/week @ 2025-01-08 31/week @ 2025-01-15

391 downloads per month

MIT license

6.5MB
7.5K SLoC

decode1090

decode1090 is the companion application to the rs1090 Rust library, designed to decode Mode S and ADS-B messages.

Installation

Run the following Cargo command:

cargo install decode1090

Usage

See --help for more information.

  • Decode a Beast feed, coming from your radarcape for instance

    > decode1090 --host radarcape --port 10005
    {"timestamp":1708901277.8567717,"frame":"8d4d224260595215b81666e59d7a","df":"17","icao24":"4d2242","bds":"05","NUCp":6,"NICb":0,"altitude":16725,"source":"barometric","odd_flag":"even","lat_cpr":68316,"lon_cpr":5734}
    {"timestamp":1708901277.858925,"frame":"2000179f86b805","df":"4","altitude":36975,"icao24":"86b805"}
    {"timestamp":1708901277.8650618,"frame":"8f400f02990c5c32f80c94b9ad6f","df":"17","icao24":"400f02","bds":"09","NACv":1,"groundspeed":416.07,"track":347.37,"vrate_src":"GNSS","vertical_rate":-128,"geo_minus_baro":-475}
    (...)
    
  • Decode individual messages.
    Note how it can be convenient to pipe the output to the jq command-line JSON processor.

    > decode1090 5d3c66e6c6ad01 8d3c66e699086a919838884331c7 | jq .
    {
      "df": "11",
      "capability": "airborne",
      "icao24": "3c66e6"
    }
    {
      "df": "ADSB",
      "icao24": "3c66e6",
      "bds": "09",
      "NACv": 1,
      "groundspeed": 174.2,
      "track": 142.93,
      "vrate_src": "GNSS",
      "vertical_rate": -832,
      "geo_minus_baro": -175
    }
    

Dependencies

~12–24MB
~363K SLoC