Skip to content

Instantly share code, notes, and snippets.

@c5e3
Last active July 10, 2022 20:19
Show Gist options
  • Save c5e3/f3b6ab9b979c0b6ffc195e07fc3327c8 to your computer and use it in GitHub Desktop.
Save c5e3/f3b6ab9b979c0b6ffc195e07fc3327c8 to your computer and use it in GitHub Desktop.
#!/bin/bash
band=0
case "$1" in
160) band=1836600; ds=2;;
80) band=3592600; ds=2;;
60) band=5287200; ds=2;;
40) band=7038600; ds=2;;
30) band=10138700; ds=2;;
20) band=14095600; ds=2;;
17) band=18104600; ds=0;;
15) band=21094600; ds=0;;
12) band=24924600; ds=0;;
10) band=28124600; ds=0;;
6) band=50293000; ds=0;;
2) band=144488500; ds=0;;
*) echo "Bands (m): 160, 80, 60, 40, 30, 20, 17, 15, 12, 10, 6, 2"; exit 0;;
esac
rtlsdr_wsprd -f "$band" -c <CALLSIGN> -l <LOCATOR> -D "$ds" -g <GAIN> -d <DEVICE_INDEX> -p <PPM_CORRECTION> -S
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment