gr-scan 介绍

gr-scan是用C++编写,并在GNU收音机,RTL-SDR,并且OsmoSDR源块内置的程序。它的目的是扫描一个频率范围,并打印发现信号的列表。它应该与任何与该块,其中包括瑞昱RTL2832U设备工程设备。该软件是使用康博U620F,其使用E4000调谐器开发的。该产品似乎并没有提供在美国的网站,但Newsky DVB-T接收器(RTL2832U/E4000设备)有很好的评价。

资料来源:http://www.techmeology.co.uk/gr-scan/
gr-scan 首页
gr-scan 源代码版本库

包含在gr-scan里的工具

gr-scan - 扫描一个频率范围,并打印发现信号的列表

:~# gr-scan --help
linux; GNU C++ version 4.7.2; Boost_104900; UHD_003.005.003-0-unknown

Usage: gr-scan [OPTION...]

  -a, --average=COUNT        Average over COUNT samples
  -c, --coarse-bandwidth=FREQ   Bandwidth of the coarse window in kHz
  -f, --fine-bandwidth=FREQ  Bandwidth of the fine window in kHz
  -p, --time=TIME            Time in seconds to scan on each frequency
  -r, --sample-rate=RATE     Samplerate in Msamples/s
  -s, --spread=FREQ          Minimum frequency between detected signals
  -t, --threshold=POWER      Threshold for the difference between the coarse
                             and fine filtered signals in dB
  -w, --fft-width=COUNT      Width of FFT in samples
  -x, --start-frequency=FREQ Start frequency in MHz
  -y, --end-frequency=FREQ   End frequency in MHz
  -z, --step=FREQ            Increment step in MHz
  -?, --help                 Give this help list
      --usage                Give a short usage message
  -V, --version              Print program version

Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.

Report bugs to Report bugs to gr-scan@techmeology.co.uk.

gr-scan 用法示例

开始扫描在 100 MHz (-x 100) 到 105 MHz (-y 105), 每个频道停留 5 秒 (-p 5):

:~# gr-scan -x 100 -y 105 -p 5
linux; GNU C++ version 4.7.2; Boost_104900; UHD_003.005.003-0-unknown

gr-osmosdr v0.0.x-xxx-xunknown (0.0.3git) gnuradio 3.6.5.1
built-in source types: file fcd rtl rtl_tcp uhd hackrf
Using device #0 Realtek RTL2838UHIDIR SN: 00000001
Found Rafael Micro R820T tuner
Using Volk machine: avx_64_mmx_orc
Exact sample rate is: 2000000.052982 Hz
gr_buffer::allocate_buffer: warning: tried to allocate
   4 items of size 16000. Due to alignment requirements
   32 were allocated.  If this isn't OK, consider padding
   your structure to a power-of-two bytes.
   On this platform, our allocation granularity is 4096 bytes.
gr_buffer::allocate_buffer: warning: tried to allocate
   16 items of size 8000. Due to alignment requirements
   64 were allocated.  If this isn't OK, consider padding
   your structure to a power-of-two bytes.
   On this platform, our allocation granularity is 4096 bytes.
gr_buffer::allocate_buffer: warning: tried to allocate
   8 items of size 8000. Due to alignment requirements
   64 were allocated.  If this isn't OK, consider padding
   your structure to a power-of-two bytes.
   On this platform, our allocation granularity is 4096 bytes.
gr_buffer::allocate_buffer: warning: tried to allocate
   8 items of size 8000. Due to alignment requirements
   64 were allocated.  If this isn't OK, consider padding
   your structure to a power-of-two bytes.
   On this platform, our allocation granularity is 4096 bytes.
00:00:01: Finished scanning 99.000000 MHz - 101.000000 MHz
[+] 00:00:01: Found signal: at 100.298500 MHz of width 63.000000 kHz, peak power -62.707417 dB (difference 8.297215 dB)
00:00:02: Finished scanning 99.000000 MHz - 101.000000 MHz
[+] 00:00:02: Found signal: at 99.299500 MHz of width 115.000000 kHz, peak power -74.849541 dB (difference 3.358849 dB)
00:00:03: Finished scanning 99.000000 MHz - 101.000000 MHz