mhostetter / gr-adsb

GNU Radio OOT module for demodulating and decoding ADS-B packets
GNU General Public License v3.0
149 stars 44 forks source link

Getting the 'CRC failed error', tried everything. #64

Open stefanosdrive opened 4 months ago

stefanosdrive commented 4 months ago

Hello. I am using a HackRF One and I am trying to test this ADS-B application. My GnuRadio set-up looks like this: image

Output that I am getting in GnuRadio looks like this:

Generating: '/home/stefanos/Documents/gr-adsb/examples/adsb_rx.py'

Executing: /usr/bin/python3 -u /home/stefanos/Documents/gr-adsb/examples/adsb_rx.py

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

[INFO] Opening HackRF One #0 579c61dc2340279f...

[DEBUG] DF: 21 Unknown DF

[DEBUG] DF: 8 Unknown DF

[DEBUG] DF: 16 Unknown DF

[DEBUG] DF: 16 Unknown DF

[DEBUG] DF: 11 Unknown DF

OsO[DEBUG] DF: 31 Unknown DF

[DEBUG] DF: 9 Unknown DF

[DEBUG] DF: 4 Unknown DF

[DEBUG] DF: 14 Unknown DF

[DEBUG] DF: 4 Unknown DF

[DEBUG] DF: 6 Unknown DF

OsO[DEBUG] DF: 31 Unknown DF

[DEBUG] DF: 8 Unknown DF

[DEBUG] DF: 10 Unknown DF

OsO[DEBUG] DF: 10 Unknown DF

[DEBUG] DF: 26 Unknown DF

OsO[DEBUG] DF: 22 Unknown DF

[DEBUG] DF: 24 Unknown DF

[DEBUG] DF: 28 Unknown DF

[DEBUG] DF: 23 Unknown DF

[DEBUG] DF: 14 Unknown DF

[DEBUG] DF: 24 Unknown DF

[DEBUG] DF: 24 Unknown DF

OsO[DEBUG] DF: 28 Unknown DF

[DEBUG] DF: 30 Unknown DF

OsO[DEBUG] DF: 11 Unknown DF

[DEBUG] DF: 3 Unknown DF

OsO[DEBUG] DF: 20 Unknown DF

[DEBUG] DF: 9 Unknown DF

OsO[DEBUG] DF: 1 Unknown DF

[DEBUG] DF: 20 Unknown DF

[DEBUG] DF: 13 Unknown DF

[DEBUG] DF: 22 Unknown DF

OsO[DEBUG] DF: 13 Unknown DF

[INFO] ----------------------------------------------------------------------

[INFO] Datetime: 2024-06-29 16:24:09.220047 UTC

[INFO] SNR: 8.44 dB

[INFO] Downlink Format (DF): 19 Military Extended Squitter

[INFO] CRC: Failed PI^CRC = 2120918

[DEBUG] FEC: Conservative error correction lookup failed to get syndrome

[DEBUG] DF: 7 Unknown DF

[DEBUG] DF: 14 Unknown DF

OsO[DEBUG] DF: 31 Unknown DF

OsO[DEBUG] DF: 24 Unknown DF

[DEBUG] DF: 27 Unknown DF

And the terminal looks like this:

[INFO] Opening HackRF One #0 579c61dc2340279f...

[DEBUG] DF: 21 Unknown DF

[DEBUG] DF: 8 Unknown DF

[DEBUG] DF: 16 Unknown DF

[DEBUG] DF: 16 Unknown DF

[DEBUG] DF: 11 Unknown DF

OsO[DEBUG] DF: 31 Unknown DF

[DEBUG] DF: 9 Unknown DF

[DEBUG] DF: 4 Unknown DF

[DEBUG] DF: 14 Unknown DF

[DEBUG] DF: 4 Unknown DF

[DEBUG] DF: 6 Unknown DF

OsO[DEBUG] DF: 31 Unknown DF

[DEBUG] DF: 8 Unknown DF

[DEBUG] DF: 10 Unknown DF

OsO[DEBUG] DF: 10 Unknown DF

[DEBUG] DF: 26 Unknown DF

OsO[DEBUG] DF: 22 Unknown DF

[DEBUG] DF: 24 Unknown DF

[DEBUG] DF: 28 Unknown DF

[DEBUG] DF: 23 Unknown DF

[DEBUG] DF: 14 Unknown DF

[DEBUG] DF: 24 Unknown DF

[DEBUG] DF: 24 Unknown DF

OsO[DEBUG] DF: 28 Unknown DF

[DEBUG] DF: 30 Unknown DF

OsO[DEBUG] DF: 11 Unknown DF

[DEBUG] DF: 3 Unknown DF

OsO[DEBUG] DF: 20 Unknown DF

[DEBUG] DF: 9 Unknown DF

OsO[DEBUG] DF: 1 Unknown DF

[DEBUG] DF: 20 Unknown DF

[DEBUG] DF: 13 Unknown DF

[DEBUG] DF: 22 Unknown DF

OsO[DEBUG] DF: 13 Unknown DF

[INFO] ----------------------------------------------------------------------

[INFO] Datetime: 2024-06-29 16:24:09.220047 UTC

[INFO] SNR: 8.44 dB

[INFO] Downlink Format (DF): 19 Military Extended Squitter

[INFO] CRC: Failed PI^CRC = 2120918

[DEBUG] FEC: Conservative error correction lookup failed to get syndrome

[DEBUG] DF: 7 Unknown DF

[DEBUG] DF: 14 Unknown DF

OsO[DEBUG] DF: 31 Unknown DF

OsO[DEBUG] DF: 24 Unknown DF

[DEBUG] DF: 27 Unknown DF

OsO[INFO] ----------------------------------------------------------------------

[INFO] Datetime: 2024-06-29 16:24:09.413474 UTC

[INFO] SNR: 7.73 dB

[INFO] Downlink Format (DF): 18 Extended Squitter/Non-Transponder

[INFO] CRC: Failed PI^CRC = 9295753

[DEBUG] FEC: Conservative error correction lookup failed to get syndrome

OsO[DEBUG] DF: 13 Unknown DF

[DEBUG] DF: 1 Unknown DF

[DEBUG] DF: 12 Unknown DF

[DEBUG] DF: 4 Unknown DF

[DEBUG] DF: 4 Unknown DF

[DEBUG] DF: 15 Unknown DF

OsO[DEBUG] DF: 22 Unknown DF

[DEBUG] DF: 14 Unknown DF

[DEBUG] DF: 10 Unknown DF

[DEBUG] DF: 30 Unknown DF

OsO[DEBUG] DF: 1 Unknown DF

[DEBUG] DF: 28 Unknown DF

[DEBUG] DF: 30 Unknown DF

[DEBUG] DF: 21 Unknown DF

OsO[DEBUG] DF: 29 Unknown DF

OsO[DEBUG] DF: 29 Unknown DF

OsO[DEBUG] DF: 24 Unknown DF

[DEBUG] DF: 21 Unknown DF

OsO[DEBUG] DF: 5 Unknown DF

OsO[DEBUG] DF: 24 Unknown DF

[DEBUG] DF: 23 Unknown DF

[DEBUG] DF: 16 Unknown DF

[DEBUG] DF: 29 Unknown DF

OsO[INFO] ----------------------------------------------------------------------

[INFO] Datetime: 2024-06-29 16:24:10.017383 UTC

[INFO] SNR: 9.43 dB

[INFO] Downlink Format (DF): 19 Military Extended Squitter

[INFO] CRC: Failed PI^CRC = 1346380

[DEBUG] FEC: Conservative error correction lookup failed to get syndrome

[DEBUG] DF: 5 Unknown DF

[DEBUG] DF: 23 Unknown DF

OsO[DEBUG] DF: 8 Unknown DF

[DEBUG] DF: 29 Unknown DF

OsO[DEBUG] DF: 0 Unknown DF

[DEBUG] DF: 3 Unknown DF

[DEBUG] DF: 25 Unknown DF

[DEBUG] DF: 13 Unknown DF

[DEBUG] DF: 3 Unknown DF

OsO[DEBUG] DF: 29 Unknown DF

OsO[DEBUG] DF: 29 Unknown DF

[DEBUG] DF: 3 Unknown DF

[DEBUG] DF: 14 Unknown DF

[DEBUG] DF: 28 Unknown DF

[DEBUG] DF: 3 Unknown DF

[DEBUG] DF: 7 Unknown DF

[DEBUG] DF: 2 Unknown DF

[DEBUG] DF: 1 Unknown DF

[DEBUG] DF: 27 Unknown DF

OsO[DEBUG] DF: 9 Unknown DF

[DEBUG] DF: 5 Unknown DF

[DEBUG] DF: 21 Unknown DF

[DEBUG] DF: 1 Unknown DF

[DEBUG] DF: 4 Unknown DF

[DEBUG] DF: 29 Unknown DF

OsO[DEBUG] DF: 16 Unknown DF

[DEBUG] DF: 6 Unknown DF

OsO[DEBUG] DF: 26 Unknown DF

[DEBUG] DF: 21 Unknown DF

OsO[DEBUG] DF: 11 Unknown DF

[DEBUG] DF: 7 Unknown DF

[DEBUG] DF: 7 Unknown DF

[DEBUG] DF: 0 Unknown DF

[DEBUG] DF: 16 Unknown DF

[DEBUG] DF: 27 Unknown DF

OsO[DEBUG] DF: 9 Unknown DF

[DEBUG] DF: 2 Unknown DF

[DEBUG] DF: 7 Unknown DF

[DEBUG] DF: 0 Unknown DF

[DEBUG] DF: 16 Unknown DF

[DEBUG] DF: 27 Unknown DF

OsO[DEBUG] DF: 9 Unknown DF

[DEBUG] DF: 2 Unknown DF

[DEBUG] DF: 13 Unknown DF

[DEBUG] DF: 27 Unknown DF

OsO[DEBUG] DF: 22 Unknown DF

[INFO] ----------------------------------------------------------------------

[INFO] Datetime: 2024-06-29 16:24:10.717904 UTC

[INFO] SNR: 5.84 dB

[INFO] Downlink Format (DF): 17 Extended Squitter

[INFO] CRC: Failed PI^CRC = 5889370

[DEBUG] FEC: Conservative error correction lookup failed to get syndrome

[DEBUG] DF: 5 Unknown DF

[DEBUG] DF: 24 Unknown DF

[DEBUG] DF: 0 Unknown DF

[DEBUG] DF: 6 Unknown DF

OsO[DEBUG] DF: 5 Unknown DF

[DEBUG] DF: 24 Unknown DF

[DEBUG] DF: 0 Unknown DF

[DEBUG] DF: 6 Unknown DF

OsO[DEBUG] DF: 3 Unknown DF

[DEBUG] DF: 31 Unknown DF

OsO[DEBUG] DF: 4 Unknown DF

[DEBUG] DF: 22 Unknown DF

OsO[DEBUG] DF: 30 Unknown DF

OsO[DEBUG] DF: 14 Unknown DF

[DEBUG] DF: 2 Unknown DF

OsO[DEBUG] DF: 2 Unknown DF

[DEBUG] DF: 13 Unknown DF

[DEBUG] DF: 22 Unknown DF

[DEBUG] DF: 14 Unknown DF

OsO[DEBUG] DF: 11 Unknown DF

[INFO] ----------------------------------------------------------------------

[INFO] Datetime: 2024-06-29 16:24:11.230819 UTC

[INFO] SNR: 7.00 dB

[INFO] Downlink Format (DF): 18 Extended Squitter/Non-Transponder

[INFO] CRC: Failed PI^CRC = 6083572

[DEBUG] FEC: Conservative error correction lookup failed to get syndrome

OsO[DEBUG] DF: 11 Unknown DF

[INFO] ----------------------------------------------------------------------

[INFO] Datetime: 2024-06-29 16:24:11.296355 UTC

[INFO] SNR: 7.04 dB

[INFO] Downlink Format (DF): 18 Extended Squitter/Non-Transponder

[INFO] CRC: Failed PI^CRC = 15798940

[DEBUG] FEC: Conservative error correction lookup failed to get syndrome

OsO[DEBUG] DF: 22 Unknown DF

[DEBUG] DF: 2 Unknown DF

[DEBUG] DF: 28 Unknown DF

[INFO] ----------------------------------------------------------------------

[INFO] Datetime: 2024-06-29 16:24:11.366810 UTC

[INFO] SNR: 6.96 dB

[INFO] Downlink Format (DF): 18 Extended Squitter/Non-Transponder

[INFO] CRC: Failed PI^CRC = 8697574

[DEBUG] FEC: Conservative error correction lookup failed to get syndrome

OsO[DEBUG] DF: 0 Unknown DF

[DEBUG] DF: 26 Unknown DF

[DEBUG] DF: 5 Unknown DF

OsO[DEBUG] DF: 10 Unknown DF

[DEBUG] DF: 0 Unknown DF

[DEBUG] DF: 13 Unknown DF

OsO[DEBUG] DF: 16 Unknown DF

[DEBUG] DF: 5 Unknown DF

[DEBUG] DF: 16 Unknown DF

OsO[DEBUG] DF: 4 Unknown DF

[DEBUG] DF: 11 Unknown DF

OsO[DEBUG] DF: 2 Unknown DF

OsO[DEBUG] DF: 31 Unknown DF

[DEBUG] DF: 21 Unknown DF

[DEBUG] DF: 9 Unknown DF

OsO[DEBUG] DF: 27 Unknown DF

[DEBUG] DF: 2 Unknown DF

OsO[DEBUG] DF: 21 Unknown DF

[DEBUG] DF: 21 Unknown DF

[INFO] ----------------------------------------------------------------------

[INFO] Datetime: 2024-06-29 16:24:11.836675 UTC

[INFO] SNR: 6.34 dB

[INFO] Downlink Format (DF): 18 Extended Squitter/Non-Transponder

[INFO] CRC: Failed PI^CRC = 14316072

[DEBUG] FEC: Conservative error correction lookup failed to get syndrome

[DEBUG] DF: 22 Unknown DF

OsO[DEBUG] DF: 25 Unknown DF

[DEBUG] DF: 3 Unknown DF

[DEBUG] DF: 6 Unknown DF

OsO[DEBUG] DF: 12 Unknown DF

[DEBUG] DF: 11 Unknown DF

OsO[DEBUG] DF: 7 Unknown DF

What could be the issues? I tried lowering the sample rate but I am at the lowest, my antenna is in a suitable position. I have no clue, please help me!