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

Packet detector #38

Open
roema opened this issue Jul 24, 2024 · 1 comment
Open

Packet detector #38

roema opened this issue Jul 24, 2024 · 1 comment

Comments

@roema
Copy link

roema commented Jul 24, 2024

Hi Marc!

Many thanks for the great work! PySDR was the ideal introduction to the world of sdr for me!

What I'm still missing is a routine that searches for possible packets in the iq data stream, since my modem only sends one packet every second.

Do you have any ideas?
Regards, Manuel

@777arc
Copy link
Owner

777arc commented Jul 24, 2024

Great idea! For a quick solution in the mean time, you could try taking the magnitude of the signal with np.abs() then thresholding it, should work for medium/high SNR signals if you manually tweak the threshold. You can also try np.diff(np.abs()) which will cause big spikes every time the signal goes from being off to on.

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

2 participants