Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
stefanosdrive opened this issue Jun 29, 2024 · 0 comments
Open

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

stefanosdrive opened this issue Jun 29, 2024 · 0 comments

Comments

@stefanosdrive
Copy link

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] �[1m�[32mDF�[0m: �[22m21�[0m �[2mUnknown DF�[0m�[0m

[DEBUG] �[1m�[32mDF�[0m: �[22m8�[0m �[2mUnknown DF�[0m�[0m

[DEBUG] �[1m�[32mDF�[0m: �[22m16�[0m �[2mUnknown DF�[0m�[0m

[DEBUG] �[1m�[32mDF�[0m: �[22m16�[0m �[2mUnknown DF�[0m�[0m

[DEBUG] �[1m�[32mDF�[0m: �[22m11�[0m �[2mUnknown DF�[0m�[0m

OsO[DEBUG] �[1m�[32mDF�[0m: �[22m31�[0m �[2mUnknown DF�[0m�[0m

[DEBUG] �[1m�[32mDF�[0m: �[22m9�[0m �[2mUnknown DF�[0m�[0m

[DEBUG] �[1m�[32mDF�[0m: �[22m4�[0m �[2mUnknown DF�[0m�[0m

[DEBUG] �[1m�[32mDF�[0m: �[22m14�[0m �[2mUnknown DF�[0m�[0m

[DEBUG] �[1m�[32mDF�[0m: �[22m4�[0m �[2mUnknown DF�[0m�[0m

[DEBUG] �[1m�[32mDF�[0m: �[22m6�[0m �[2mUnknown DF�[0m�[0m

OsO[DEBUG] �[1m�[32mDF�[0m: �[22m31�[0m �[2mUnknown DF�[0m�[0m

[DEBUG] �[1m�[32mDF�[0m: �[22m8�[0m �[2mUnknown DF�[0m�[0m

[DEBUG] �[1m�[32mDF�[0m: �[22m10�[0m �[2mUnknown DF�[0m�[0m

OsO[DEBUG] �[1m�[32mDF�[0m: �[22m10�[0m �[2mUnknown DF�[0m�[0m

[DEBUG] �[1m�[32mDF�[0m: �[22m26�[0m �[2mUnknown DF�[0m�[0m

OsO[DEBUG] �[1m�[32mDF�[0m: �[22m22�[0m �[2mUnknown DF�[0m�[0m

[DEBUG] �[1m�[32mDF�[0m: �[22m24�[0m �[2mUnknown DF�[0m�[0m

[DEBUG] �[1m�[32mDF�[0m: �[22m28�[0m �[2mUnknown DF�[0m�[0m

[DEBUG] �[1m�[32mDF�[0m: �[22m23�[0m �[2mUnknown DF�[0m�[0m

[DEBUG] �[1m�[32mDF�[0m: �[22m14�[0m �[2mUnknown DF�[0m�[0m

[DEBUG] �[1m�[32mDF�[0m: �[22m24�[0m �[2mUnknown DF�[0m�[0m

[DEBUG] �[1m�[32mDF�[0m: �[22m24�[0m �[2mUnknown DF�[0m�[0m

OsO[DEBUG] �[1m�[32mDF�[0m: �[22m28�[0m �[2mUnknown DF�[0m�[0m

[DEBUG] �[1m�[32mDF�[0m: �[22m30�[0m �[2mUnknown DF�[0m�[0m

OsO[DEBUG] �[1m�[32mDF�[0m: �[22m11�[0m �[2mUnknown DF�[0m�[0m

[DEBUG] �[1m�[32mDF�[0m: �[22m3�[0m �[2mUnknown DF�[0m�[0m

OsO[DEBUG] �[1m�[32mDF�[0m: �[22m20�[0m �[2mUnknown DF�[0m�[0m

[DEBUG] �[1m�[32mDF�[0m: �[22m9�[0m �[2mUnknown DF�[0m�[0m

OsO[DEBUG] �[1m�[32mDF�[0m: �[22m1�[0m �[2mUnknown DF�[0m�[0m

[DEBUG] �[1m�[32mDF�[0m: �[22m20�[0m �[2mUnknown DF�[0m�[0m

[DEBUG] �[1m�[32mDF�[0m: �[22m13�[0m �[2mUnknown DF�[0m�[0m

[DEBUG] �[1m�[32mDF�[0m: �[22m22�[0m �[2mUnknown DF�[0m�[0m

OsO[DEBUG] �[1m�[32mDF�[0m: �[22m13�[0m �[2mUnknown DF�[0m�[0m

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

[INFO] �[1m�[35mDatetime�[0m: �[22m2024-06-29 16:24:09.220047 UTC�[0m�[0m

[INFO] �[1m�[35mSNR�[0m: �[22m8.44 dB�[0m�[0m

[INFO] �[1m�[35mDownlink Format (DF)�[0m: �[22m19�[0m �[2mMilitary Extended Squitter�[0m�[0m

[INFO] �[1m�[35mCRC�[0m: �[22m�[31mFailed�[0m �[2mPI^CRC = 2120918�[0m�[0m

[DEBUG] �[1m�[32mFEC�[0m: �[22mConservative error correction lookup failed to get syndrome�[0m�[0m

[DEBUG] �[1m�[32mDF�[0m: �[22m7�[0m �[2mUnknown DF�[0m�[0m

[DEBUG] �[1m�[32mDF�[0m: �[22m14�[0m �[2mUnknown DF�[0m�[0m

OsO[DEBUG] �[1m�[32mDF�[0m: �[22m31�[0m �[2mUnknown DF�[0m�[0m

OsO[DEBUG] �[1m�[32mDF�[0m: �[22m24�[0m �[2mUnknown DF�[0m�[0m

[DEBUG] �[1m�[32mDF�[0m: �[22m27�[0m �[2mUnknown DF�[0m�[0m

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant