osmocom_spectrum_sense(1)
β¨ osmocom_spectrum_sense(1) β¨
okay bestie, listen up π this is a page from the User Commands section of the manual, and it's all about osmocom_spectrum_sense β a GNU Radio application from OsmoSDR. yes it's giving spectrum-analyzer main character energy and yes we're gonna walk through every single flag together. no skimming, no skipping, we keep it π―.
π¦ NAME π¦
osmocom_spectrum_sense β a GNU Radio application from OsmoSDR. that's it, that's the whole vibe check. π«Ά
πΈ SYNOPSIS πΈ
osmocom_spectrum_sense [options] min_freq max_freq
so you pass it some [options] (we'll get to those, there are SO many and they're all iconic) and then min_freq and max_freq β the bottom and top of the range you wanna sniff around in. periodt. π
π DESCRIPTION π
GNU Radio application from OsmoSDR. short, sweet, iconic. that's literally the whole description in the original and we're not gonna invent extra lore, okay? fr fr. π§
β¨ OPTIONS β¨
here come the flags, bestie. every single one. buckle up π
-h,--helpβ show this help message and exit. the classic. always there for you. π-a ARGS,--args=ARGSβ Device args[default=](yes, the default is literally empty, not a typo, not me being lazy π)-A ANTENNA,--antenna=ANTENNAβ Select antenna where appropriate. "where appropriate" β the manpage is being mysterious and we respect that β¨-s SAMP_RATE,--samp-rate=SAMP_RATEβ Set sample rate (bandwidth), minimum by default.-g GAIN,--gain=GAINβ Set gain in dB (default is midpoint).--tune-delay=SECSβ Time to delay (in seconds) after changing frequency[default=0.25]--dwell-delay=SECSβ Time to dwell (in seconds) at a given frequency[default=0.25]-b Hz,--channel-bandwidth=Hzβ Channel bandwidth of fft bins in Hz[default=6250.0]-q dB,--squelch-threshold=dBβ Squelch threshold in dB[default=none](so by default, no squelching at all, she's unbothered π)-F FFT_SIZE,--fft-size=FFT_SIZEβ Specify number of FFT bins[default=samp_rate/channel_bw]--real-timeβ Attempt to enable real-time scheduling. attempt. she's trying her best, okay π
π Device specification π
You can specify the source or sink device using a comma separated string of argument=value pairs. The always-up-to-date block documentation with examples is available right here. (yes "right here" is what it says, go look π)
π FCD Source π
fcd=<device-index>β 0-based device identifier, optionaldevice=hw:2β overrides the audio devicetype=2β selects the dongle type, 1 for Classic, 2 for Pro+
The "device" argument overrides the audio device used by the underlying driver to access the dongle's IQ sample stream. π
The "type" argument selects the dongle type, 1 for Classic, 2 for Pro+. lowkey a glow-up moment for the Pro+ ngl. β¨
π OsmoSDR Source π
osmosdr=<device-index>β 0-based device identifierbuffers=<number-of-buffers>β Default is 32buflen=<length-of-buffer>β Default is 256kB, must be multiple of 512
heads up: that buflen has to be a multiple of 512 or it's not gonna play nice. not negotiable bestie π«Ά
π RTL-SDR Source π
rtl=<device-index>β 0-based device identifier OR serial numberrtl_xtal=<frequency>β Frequency (Hz) used for the RTL chip, accepts eng notationtuner_xtal=<frequency>β Frequency (Hz) used for the tuner chip, accepts eng notationbuffers=<number-of-buffers>β Default is 32buflen=<length-of-buffer>β Default is 256kB, must be multiple of 512direct_samp=0|1|2β Enable direct sampling mode on the RTL chip. 0: Disable, 1: use I channel, 2: use Q channeloffset_tune=0|1β Enable offset tune mode for E4000 tuners
NOTE: use rtl_eeprom -s to program your own serial number to the device π
NOTE: if you don't specifyrtl_xtal/tuner_xtal, the underlying driver will use28.0MHz
π¦ RTL-SDR TCP Source π¦
rtl_tcp=<hostname>:<port>β hostname defaults to"localhost", port to"1234"psize=<payload-size>β Default is 16384 bytesdirect_samp=0|1|2β Enable direct sampling mode on the RTL chip 0=Off, 1=I-ADC input enabled, 2=Q-ADC input enabledoffset_tune=0|1β Enable offset tune mode for E4000 tuners
πΈ Miri Source πΈ
miri=<device-index>β 0-based device identifierbuffers=<number-of-buffers>β Default is 32
π UHD Source / Sink π
uhdβ Use this argument without a valuenchan=<channel-count>β For multichannel USRP configurations use thesubdevparameter to specify stream mappingsubdev=<subdev-spec>β Examples:"A:0","B:0","A:0 B:0"whennchan=2. Refer original ettus documentation on thislo_offset=<frequency>β Offset frequency in Hz, must be within daughterboard bandwidth. Accepts eng notation
Additional argument/value pairs will be passed to the underlying driver, for more information see specifying the subdevice and common device identifiers in the Ettus documentation. π
π§ bladeRF Source / Sink π§
bladerf[=0]β 0-based device identifier (optional)fw='/path/to/the/firmware.img'β program MCU firmware from given file. usually not needed. power cycle required.fpga='/path/to/the/bitstream.rbf'β load FPGA bitstream from given file. required only at first run at the moment.
the power cycle after a firmware flash is not optional, bestie. do it. π
π₯ HackRF Source / Sink π₯
hackrfβ Use this argument without a valuebuffers=<number-of-buffers>β Default is 32
Only the first device found may be used at the moment because of libhackrf limitation. π that's just how it is, blame libhackrf.
Transmit support has been verified by using the crc-mmbTools DAB sdr transmitter. she ate. π½οΈ
π IQ File Source π
file=<path-to-file-name>freq=<frequency>β Center frequency in Hz, accepts eng notationrate=<sampling-rate>β Mandatory, in samples/s, accepts eng notationrepeat=true|falseβ Default is truethrottle=true|falseβ Throttle flow of samples, default is true
rate is mandatory, not a suggestion, not a cute extra. mandatory mandatory. π
π SEE ALSO π
go read those too, they're the rest of the friend group π«Ά
and that's the whole page, bestie π this one's from OSMOCOMM, dated October 2013 β a vintage queen, and still out here doing spectrum sense things. slay. periodt. πβ¨π
π¦ where this page comes from
- ubuntu jammy: gr-osmosdr 0.2.3-5build2 Β· FSF-COPYING
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms