Skip to content

Instantly share code, notes, and snippets.

@raziele
Last active March 12, 2023 18:35
Show Gist options
  • Save raziele/984cf0f112e3bbc42f184cd0597b330f to your computer and use it in GitHub Desktop.
Save raziele/984cf0f112e3bbc42f184cd0597b330f to your computer and use it in GitHub Desktop.
A command-line piping of rtl_power. Scans frequency band for signals stronger than a threshold (-28dBFS in the example) and prints out the frequency
rtl_power -f 130M:170M:2.8M -g 30 -i 1 | awk -F ',' '{if ($7 > -28) print 1e-6*($3 + ($4 - $3) / 2)}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment