Skip to content

Instantly share code, notes, and snippets.

@dev1366xK
dev1366xK / hackrf_read.c
Created August 18, 2022 04:45 — forked from spipm/hackrf_read.c
libHackRF API example
/*
Simple HackRF programming exercise
Sipke '19
This program receives raw data from a certain frequency until the user pressed ctrl+c.
Code is mostly taken from hackrf_sweep.c (hackrf toolbox) and converted to the bare minimum.
It's created to learn about how the HackRF behaves and to do something with it via custom code that doesn't involve GnuRadio.
Note that you can directly use the command line tools hackrf_sweep, hackrf_transfer and rtl_sdr for the same thing and more.