Created
June 29, 2016 08:08
-
-
Save c5e3/eb90e9524821b3fb39d1979f873f0cb7 to your computer and use it in GitHub Desktop.
hackrf baudline script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ./hackrf_baudline.sh <frequency> <samplerate> <IFgain> <BBgain> | |
FFT=$((${2}/1000000*2048)) | |
mkfifo /tmp/fifo | |
hackrf_transfer -r /tmp/fifo -l $3 -g $4 -f $1 -s $2 >> /dev/null & | |
cat /tmp/fifo | baudline -stdin -quadrature -record -channels 2 -flipcomplex -format s8 -overlap 100 -memory 512 -fftsize ${FFT} -basefrequency $1 -samplerate $2 && rm /tmp/fifo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment