rsadsb / adsb_deku

✈️ Rust ADS-B decoder + tui radar application
MIT License
626 stars 22 forks source link

Add BDS1,0 Altitude Reply #9

Closed wcampbell0x2a closed 3 years ago

wcampbell0x2a commented 3 years ago

Example 01:

dump1090-fa:

*a00017b010030a80f60000a0fc1e;
CRC: a6c756
RSSI: -9.4 dBFS
Score: 12 (UNRELIABLE_KNOWN)
Time: 50236182.08us
DF:20 addr:A6C756 FS:0 DR:0 UM:0 AC:6064 MB:10030A80F60000
 Comm-B, Altitude Reply
 Comm-B format: BDS1,0 Datalink capabilities
 ICAO Address:  A6C756 (Mode S / ADS-B)
 Air/Ground:    airborne?
 Baro altitude: 37000 ft

adsb_deku:

a00017b010030a80f60000a0fc1e
Frame {
    df: CommBAltitudeReply {
        flight_status: NoAlertNoSPIAirborne,
        dr: None,
        um: UtilityMessage {
            iis: 0,
            ids: NoInformation,
        },
        alt: 36800,
        mb: [
            8,
            1,
            133,
            64,
            123,
            0,
            0,
        ],
        parity: ICAO(
            [
                80,
                126,
                15,
            ],
        ),
    },
    crc: 10930006,
}
 Comm-B Altitude Reply
  data: [8, 1, 85, 40, 7b, 0, 0]
  ICAO Address: 507e0f (Mode S / ADS-B)

Example 02:

*a000179f0000000000000019a524;
CRC: a6c756
RSSI: -9.9 dBFS
Score: 12 (UNRELIABLE_KNOWN)
Time: 54835314.25us
DF:20 addr:A6C756 FS:0 DR:0 UM:0 AC:6047 MB:00000000000000
 Comm-B, Altitude Reply
  Comm-B format: empty response
  ICAO Address:  A6C756 (Mode S / ADS-B)
  Air/Ground:    airborne?
  Baro altitude: 36975 ft

Example 03:

*a020133810020a80f000007707ca;
CRC: a5fd2d
RSSI: -7.3 dBFS
Score: 12 (UNRELIABLE_KNOWN)
Time: 76604277.67us
DF:20 addr:A5FD2D FS:0 DR:4 UM:0 AC:4920 MB:10020A80F00000
 Comm-B, Altitude Reply
  Comm-B format: unknown format
  ICAO Address:  A5FD2D (Mode S / ADS-B)
  Air/Ground:    airborne?
  Baro altitude: 30000 ft