Files
tldr/pages.zh/common/rtl_sdr.md

37 lines
852 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# rtl_sdr
> RTL-SDR 接收器的原始数据记录器。
> 数据使用 I/Q 采样(即正交采样)编码。
> 更多信息:<https://osmocom.org/projects/rtl-sdr/wiki/Rtl-sdr>。
- 将来自指定频率(以赫兹为单位)的原始数据保存到文件中:
`rtl_sdr -f {{100000000}} {{path/to/file}}`
- 将数据管道传输到另一个程序:
`rtl_sdr -f {{100000000}} - | {{aplay}}`
- 读取指定数量的样本:
`rtl_sdr -f {{100000000}} -n {{20}} -`
- 指定采样率(范围为 225001-300000 和 900001-3200000
`rtl_sdr -f {{100000000}} -s {{2400000}} -`
- 通过索引指定设备:
`rtl_sdr -f {{100000000}} -d {{0}} -`
- 指定增益:
`rtl_sdr -f {{100000000}} -g {{20}} -`
- 指定输出块大小:
`rtl_sdr -f {{100000000}} -b {{9999999}} -`
- 使用同步输出:
`rtl_sdr -f {{100000000}} -S -`