A set of program for logging spectrum from tinySA / tinySA Ultra & render the logs into spectrogram
WARNING: It's still WIP, code quality is eye-burning.
$ git clone --recursive https://github.com/NeoChen1024/Spectrum-Saver.git
- {fmt} string formatting library
- Modern version of GCC or Clang for C++20 support
$ make
$ spsave [options]
-t <ttydev>
-m <tinySA Model> "tinySA" or "tinySA4"
-s <start freq MHz>
-e <stop freq MHz>
-k <step freq kHz>
-r <RBW in kHz> consult tinySA.org for supported RBW values
-p <filename prefix>
-l <loop?> 0 is false, any other value is true
-i <interval> sweep interval in seconds
$ log2png -f <log file> [-p <filename prefix>] [-t <graph title>] [-g <grid?>]
# Optional comment
$ <start_freq>,<stop_freq>,<steps>,<RBW>,<start_time>,<end_time>
<dBm>
<dBm>
<dBm>
...
<dBm>
$ <start_freq>,<stop_freq>,<steps>,<RBW>,<start_time>,<end_time>
<dBm>
...
<dBm>
- tinycolormap for this awesome colormap library
- date for better date/time parsing function (hopefully will be included in C++23)