debian/0000755000000000000000000000000012261645720007173 5ustar debian/copyright0000644000000000000000000001042212260663342011124 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: gr-osmosdr Upstream-Contact: http://sdr.osmocom.org/trac/wiki/rtl-sdr Source: git clone git://git.osmocom.org/gr-osmosdr The upstream package source tarball was generated from the tag: git archive --format=tar --prefix=gr-osmosdr-0.1.0.55.80c4af/ 80c4af | gzip > ../../gr-osmosdr_0.1.0.55.80c4af.orig.tar.gz Comment: Debian packages by A. Maitland Bottoms , . Upstream Author: Dimitri Stolnikov Copyright: 2012,2013 Dimitri Stolnikov License: GPL-3+ Files: COPYING Copyright: 2007 Free Software Foundation, Inc. License: Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Files: CMakeLists.txt apps/* docs/* python/* include/osmosdr/api.h GrTest.cmake GrPlatform.cmake GrVersion.cmake GrComponent.cmake GrPython.cmake GrSwig.cmake GrMiscUtils.cmake grc/gen_osmosdr_blocks.py lib/gnuradio-osmosdr.rc.in Copyright: 2005,2007-2013 Free Software Foundation, Inc. Comment: GNU Radio gr_modtool derived License: GPL-3+ Files: debian/* Copyright: 2013 A. Maitland Bottoms License: GPL-3+ Files: include/osmosdr/pimpl.h include/osmosdr/ranges.h lib/ranges.cc Copyright: 2010-2011 Ettus Research LLC License: GPL-3+ FIles: lib/bladerf/bladerf_common.cc lib/bladerf/bladerf_common.h lib/bladerf/bladerf_sink_c.cc lib/bladerf/bladerf_sink_c.h lib/bladerf/bladerf_source_c.cc lib/bladerf/bladerf_source_c.h Copyright: 2013 Nuand LLC 2013 Dimitri Stolnikov License: GPL-3+ Files: lib/rtl_tcp/rtl_tcp_source_f.cc Copyright: 2012 Hoernchen 2012 Dimitri Stolnikov License: GPL-3+ Files: lib/rtl_tcp/rtl_tcp_source_f.h Copyright: 2012 Hoernchen License: GPL-3+ Files: lib/miri/miri_source_c.cc Copyright: 2012 Steve Markgraf 2012 Dimitri Stolnikov License: GPL-3+ Files: cmake/Modules/CMakeParseArgumentsCopy.cmake Copyright: 2010 Alexander Neundorf Comment: copy of CMakeParseArguments.cmake from cmake 2.8.x License: All rights reserved. . Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . * Neither the names of Kitware, Inc., the Insight Software Consortium, nor the names of their contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License: GPL-3+ GNU Radio is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. . GNU Radio is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . On Debian systems, the complete text of the GNU General Public License (GPL) version 3 can be found in the file '/usr/share/common-licenses/GPL-3'. debian/patches/0000755000000000000000000000000012260623056010617 5ustar debian/patches/debian-soname0000644000000000000000000000170612230621106013237 0ustar --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,7 +37,7 @@ set(VERSION_INFO_MAJOR_VERSION 0) set(VERSION_INFO_API_COMPAT 1) set(VERSION_INFO_MINOR_VERSION 1) -set(VERSION_INFO_MAINT_VERSION git) +set(VERSION_INFO_MAINT_VERSION 0) include(GrVersion) #setup version info ######################################################################## --- a/cmake/Modules/GrMiscUtils.cmake +++ b/cmake/Modules/GrMiscUtils.cmake @@ -155,8 +155,8 @@ GR_LIBTOOL(TARGET ${target} DESTINATION ${GR_LIBRARY_DIR}) #give the library a special name with ultra-zero soversion - set_target_properties(${target} PROPERTIES OUTPUT_NAME ${target}-${LIBVER} SOVERSION "0.0.0") - set(target_name lib${target}-${LIBVER}.so.0.0.0) + set_target_properties(${target} PROPERTIES OUTPUT_NAME ${target} SOVERSION "0.0.0") + set(target_name lib${target}.so.0.0.0) #custom command to generate symlinks add_custom_command( debian/patches/series0000644000000000000000000000001612260621074012027 0ustar debian-soname debian/control0000644000000000000000000000411112260655475010602 0ustar Source: gr-osmosdr Section: libdevel Priority: optional Maintainer: A. Maitland Bottoms Build-Depends: debhelper (>= 9.0.0~), python-dev, cmake, gnuradio-dev, libboost-all-dev, swig, pkg-config, gr-fcdproplus [!hurd-i386 !powerpc], libbladerf-dev [!hurd-i386 !kfreebsd-amd64 !kfreebsd-i386 !sparc], libhackrf-dev [!hurd-i386], libosmosdr-dev [!hurd-i386], librtlsdr-dev, libuhd-dev, gr-iqbal [!hurd-i386 !powerpc], liblog4cpp5-dev, doxygen X-Python-Version: >= 2.7, << 2.8 Standards-Version: 3.9.4 Homepage: http://sdr.osmocom.org/trac/wiki/rtl-sdr Vcs-Git: http://cgit.osmocom.org/cgit/gr-osmosdr/ Package: gr-osmosdr Architecture: any Pre-Depends: multiarch-support Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} Recommends: gnuradio Description: Gnuradio blocks from the OsmoSDR project The Osmocom project is a family of projects regarding Open source mobile communications. . While primarily being developed for the OsmoSDR hardware, this block as well supports: - FUNcube Dongle through libgnuradio-fcd - FUNcube Dongle Pro+ through gr-fcdproplus - sysmocom OsmoSDR Devices through libosmosdr - RTL2832U based DVB-T dongles through librtlsdr - RTL-TCP spectrum server (see librtlsdr project) - MSi2500 based DVB-T dongles through libmirisdr - gnuradio .cfile input through libgnuradio-blocks - RFSPACE SDR-IQ, SDR-IP, NetSDR (incl. X2 option) - Great Scott Gadgets HackRF through libhackrf - Nuand LLC bladeRF through libbladeRF library - Ettus USRP Devices through Ettus UHD library - Fairwaves UmTRX through Fairwaves' fork of UHD . By using the OsmoSDR block you can take advantage of a common software api in your application(s) independent of the underlying radio hardware. Package: libgnuradio-osmosdr0.0.0 Section: libs Architecture: any Pre-Depends: multiarch-support, ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Multi-Arch: same Description: Gnuradio blocks from the OsmoSDR project The Osmocom project is a family of projects regarding Open source mobile communications. . This package contains the shared library. debian/changelog0000644000000000000000000000315512261612323011042 0ustar gr-osmosdr (0.1.0.55.80c4af-2) unstable; urgency=low * ship grc blocks -- A. Maitland Bottoms Fri, 03 Jan 2014 00:32:28 -0500 gr-osmosdr (0.1.0.55.80c4af-1) unstable; urgency=low * New upstream commit, build with gnuradio 3.7.2.1 -- A. Maitland Bottoms Tue, 31 Dec 2013 00:09:54 -0500 gr-osmosdr (0.1.0.11.04b4c8-3) unstable; urgency=low * Fix up dependencies for current unstable build -- A. Maitland Bottoms Thu, 12 Dec 2013 12:05:35 -0500 gr-osmosdr (0.1.0.11.04b4c8-2) unstable; urgency=low * drop bladerf dependency -- A. Maitland Bottoms Sat, 23 Nov 2013 11:25:21 -0500 gr-osmosdr (0.1.0.11.04b4c8-1) unstable; urgency=low * New upstream snapshot (Closes: #726469) * Match GNU Radio live distribution version -- A. Maitland Bottoms Tue, 08 Oct 2013 17:30:31 -0400 gr-osmosdr (0.1git59ceddb-1) unstable; urgency=low * New upstream release, build with gnuradio 3.6.4.1-0wheezy1 -- A. Maitland Bottoms Wed, 01 May 2013 17:19:35 -0400 gr-osmosdr (0.1gitd11b7a-1) unstable; urgency=low * New upstream git, build with gnuradio 3.6.3 -- A. Maitland Bottoms Wed, 13 Feb 2013 15:56:33 -0500 gr-osmosdr (0.1git0f25dae-1) unstable; urgency=low * New upstream git, build with gnuradio 3.6.2 -- A. Maitland Bottoms Sun, 16 Sep 2012 20:47:39 -0400 gr-osmosdr (0.0git7f796fe-1) unstable; urgency=low * New upstream git, build with gnuradio 3.6.0 -- A. Maitland Bottoms Mon, 14 May 2012 20:28:18 -0400 debian/osmocom_fft.10000644000000000000000000001243012230615161011560 0ustar .TH osmocom_fft "1" "October 2013" "OSMOCOM" "User Commands" .SH NAME osmocom_fft \- Spectrum Browser .SH SYNOPSIS .B osmocom_fft [\fIoptions\fR] .SH DESCRIPTION Spectrum Browser .SH OPTIONS .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-a\fR ARGS, \fB\-\-args\fR=\fIARGS\fR Device args, [default=] .TP \fB\-A\fR ANTENNA, \fB\-\-antenna\fR=\fIANTENNA\fR Select RX antenna where appropriate .TP \fB\-s\fR SAMP_RATE, \fB\-\-samp\-rate\fR=\fISAMP_RATE\fR Set sample rate (bandwidth), minimum by default .TP \fB\-f\fR FREQ, \fB\-\-center\-freq\fR=\fIFREQ\fR Set frequency to FREQ .TP \fB\-c\fR FREQ_CORR, \fB\-\-freq\-corr\fR=\fIFREQ_CORR\fR Set frequency correction (ppm) .TP \fB\-g\fR GAIN, \fB\-\-gain\fR=\fIGAIN\fR Set gain in dB (default is midpoint) .TP \fB\-W\fR, \fB\-\-waterfall\fR Enable waterfall display .TP \fB\-S\fR, \fB\-\-oscilloscope\fR Enable oscilloscope display .TP \fB\-\-avg\-alpha\fR=\fIAVG_ALPHA\fR Set fftsink averaging factor, default=[0.1] .TP \fB\-\-averaging\fR Enable fftsink averaging, default=[False] .TP \fB\-\-ref\-scale\fR=\fIREF_SCALE\fR Set dBFS=0dB input value, default=[1.0] .TP \fB\-\-fft\-size\fR=\fIFFT_SIZE\fR Set number of FFT bins [default=1024] .TP \fB\-\-fft\-rate\fR=\fIFFT_RATE\fR Set FFT update rate, [default=30] .TP \fB\-v\fR, \fB\-\-verbose\fR Use verbose console output [default=False] .SH "SEE ALSO" The full documentation for .B linux; is maintained as a Texinfo manual. If the .B info and .B linux; programs are properly installed at your site, the command .IP .B info linux; .PP should give you access to the complete manual. .SH 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. .SH FCD Source .TP Argument Notes .TP fcd= 0-based device identifier, optional .TP device=hw:2 overrides the audio device .TP type=2 selects the dongle type, 1 for Classic, 2 for Pro+ .LP The "device" argument overrides the audio device used by the underlying driver to access the dongle's IQ sample stream. .LP The "type" argument selects the dongle type, 1 for Classic, 2 for Pro+. .SH OsmoSDR Source .TP Argument Notes .TP osmosdr= 0-based device identifier .TP buffers= Default is 32 .TP buflen= Default is 256kB, must be multiple of 512 .SH RTL-SDR Source .TP Argument Notes .TP rtl= 0-based device identifier OR serial number .TP rtl_xtal= Frequency (Hz) used for the RTL chip, accepts eng notation .TP tuner_xtal= Frequency (Hz) used for the tuner chip, accepts eng notation .TP buffers= Default is 32 .TP buflen= Default is 256kB, must be multiple of 512 .TP direct_samp=0|1|2 Enable direct sampling mode on the RTL chip. 0: Disable, 1: use I channel, 2: use Q channel .TP offset_tune=0|1 Enable offset tune mode for E4000 tuners .LP NOTE: use rtl_eeprom -s to program your own serial number to the device .LP NOTE: if you don't specify rtl_xtal/tuner_xtal, the underlying driver will use 28.0MHz .SH RTL-SDR TCP Source .TP Argument Notes .TP rtl_tcp=: hostname defaults to "localhost", port to "1234" .TP psize= Default is 16384 bytes .TP direct_samp=0|1|2 Enable direct sampling mode on the RTL chip 0=Off, 1=I-ADC input enabled, 2=Q-ADC input enabled .TP offset_tune=0|1 Enable offset tune mode for E4000 tuners .SH Miri Source .TP Argument Notes .TP miri= 0-based device identifier .TP buffers= Default is 32 .SH UHD Source / Sink Argument Notes .TP uhd Use this argument without a value .TP nchan= For multichannel USRP configurations use the subdev parameter to specify stream mapping .TP subdev= Examples: "A:0", "B:0", "A:0 B:0" when nchan=2. Refer original ettus documentation on this .TP lo_offset= Offset frequency in Hz, must be within daughterboard bandwidth. Accepts eng notation .LP 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. .SH bladeRF Source / Sink .TP Argument Notes .TP bladerf[=0] 0-based device identifier (optional) .TP fw='/path/to/the/firmware.img' program MCU firmware from given file. usually not needed. power cycle required. .TP fpga='/path/to/the/bitstream.rbf' load FPGA bitstream from given file. required only at first run at the moment. .SH HackRF Source / Sink .TP Argument Notes .TP hackrf Use this argument without a value .TP buffers= Default is 32 .LP Only the first device found may be used at the moment because of libhackrf limitation. .LP Transmit support has been verified by using the crc-mmbTools DAB sdr transmitter. .SH IQ File Source .TP Argument Notes .TP file= .TP freq= Center frequency in Hz, accepts eng notation .TP rate= Mandatory, in samples/s, accepts eng notation .TP repeat=true|false Default is true .TP throttle=true|false Throttle flow of samples, default is true .SH EXAMPLES .LP osmocom_fft -a rtl=0 -v -f 100e6 -s 2.4e6 -g 15 .LP osmocom_fft -a hackrf -v .LP osmocom_fft -a uhd -v .SH "SEE ALSO" osmocom_siggen(1) osmocom_siggen_nogui(1) osmocom_spectrum_sense(1) debian/gr-osmosdr.install0000644000000000000000000000013412261570203012646 0ustar usr/bin/* usr/include/* usr/lib/*/lib*.so usr/lib/*/pkgconfig/* usr/lib/python* usr/share/* debian/gr-osmosdr.manpages0000644000000000000000000000015312230615300012766 0ustar debian/osmocom_fft.1 debian/osmocom_siggen.1 debian/osmocom_siggen_nogui.1 debian/osmocom_spectrum_sense.1 debian/osmocom_siggen_nogui.10000644000000000000000000001302412230614021013450 0ustar .TH osmocom_siggen_nogui "1" "October 2013" "OSMOCOM" "User Commands" .SH NAME osmocom_siggen_nogui \- Signal generator application .SH SYNOPSIS .B osmocom_siggen_nogui: [\fIoptions\fR] .SH DESCRIPTION Signal generator application .SH OPTIONS .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-a\fR ARGS, \fB\-\-args\fR=\fIARGS\fR Device args, [default=] .TP \fB\-A\fR ANTENNA, \fB\-\-antenna\fR=\fIANTENNA\fR Select Rx Antenna where appropriate .TP \fB\-s\fR SAMP_RATE, \fB\-\-samp\-rate\fR=\fISAMP_RATE\fR Set sample rate (bandwidth), minimum by default .TP \fB\-g\fR GAIN, \fB\-\-gain\fR=\fIGAIN\fR Set gain in dB (default is midpoint) .TP \fB\-f\fR FREQ, \fB\-\-tx\-freq\fR=\fIFREQ\fR Set carrier frequency to FREQ [default=mid\-point] .TP \fB\-c\fR FREQ_CORR, \fB\-\-freq\-corr\fR=\fIFREQ_CORR\fR Set carrier frequency correction [default=0] .TP \fB\-x\fR WAVEFORM_FREQ, \fB\-\-waveform\-freq\fR=\fIWAVEFORM_FREQ\fR Set baseband waveform frequency to FREQ [default=0] .TP \fB\-y\fR WAVEFORM2_FREQ, \fB\-\-waveform2\-freq\fR=\fIWAVEFORM2_FREQ\fR Set 2nd waveform frequency to FREQ [default=none] .TP \fB\-\-sine\fR Generate a carrier modulated by a complex sine wave .TP \fB\-\-const\fR Generate a constant carrier .TP \fB\-\-offset\fR=\fIOFFSET\fR Set waveform phase offset to OFFSET [default=0] .TP \fB\-\-gaussian\fR Generate Gaussian random output .TP \fB\-\-uniform\fR Generate Uniform random output .TP \fB\-\-2tone\fR Generate Two Tone signal for IMD testing .TP \fB\-\-sweep\fR Generate a swept sine wave .TP \fB\-\-gsm\fR Generate GMSK modulated GSM Burst Sequence .TP \fB\-\-amplitude\fR=\fIAMPL\fR Set output amplitude to AMPL (0.1\-1.0) [default=0.3] .TP \fB\-v\fR, \fB\-\-verbose\fR Use verbose console output [default=False] .PP Note: failed to enable realtime scheduling, continuing .SH 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. .SH FCD Source .TP Argument Notes .TP fcd= 0-based device identifier, optional .TP device=hw:2 overrides the audio device .TP type=2 selects the dongle type, 1 for Classic, 2 for Pro+ .LP The "device" argument overrides the audio device used by the underlying driver to access the dongle's IQ sample stream. .LP The "type" argument selects the dongle type, 1 for Classic, 2 for Pro+. .SH OsmoSDR Source .TP Argument Notes .TP osmosdr= 0-based device identifier .TP buffers= Default is 32 .TP buflen= Default is 256kB, must be multiple of 512 .SH RTL-SDR Source .TP Argument Notes .TP rtl= 0-based device identifier OR serial number .TP rtl_xtal= Frequency (Hz) used for the RTL chip, accepts eng notation .TP tuner_xtal= Frequency (Hz) used for the tuner chip, accepts eng notation .TP buffers= Default is 32 .TP buflen= Default is 256kB, must be multiple of 512 .TP direct_samp=0|1|2 Enable direct sampling mode on the RTL chip. 0: Disable, 1: use I channel, 2: use Q channel .TP offset_tune=0|1 Enable offset tune mode for E4000 tuners .LP NOTE: use rtl_eeprom -s to program your own serial number to the device .LP NOTE: if you don't specify rtl_xtal/tuner_xtal, the underlying driver will use 28.0MHz .SH RTL-SDR TCP Source .TP Argument Notes .TP rtl_tcp=: hostname defaults to "localhost", port to "1234" .TP psize= Default is 16384 bytes .TP direct_samp=0|1|2 Enable direct sampling mode on the RTL chip 0=Off, 1=I-ADC input enabled, 2=Q-ADC input enabled .TP offset_tune=0|1 Enable offset tune mode for E4000 tuners .SH Miri Source .TP Argument Notes .TP miri= 0-based device identifier .TP buffers= Default is 32 .SH UHD Source / Sink Argument Notes .TP uhd Use this argument without a value .TP nchan= For multichannel USRP configurations use the subdev parameter to specify stream mapping .TP subdev= Examples: "A:0", "B:0", "A:0 B:0" when nchan=2. Refer original ettus documentation on this .TP lo_offset= Offset frequency in Hz, must be within daughterboard bandwidth. Accepts eng notation .LP 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. .SH bladeRF Source / Sink .TP Argument Notes .TP bladerf[=0] 0-based device identifier (optional) .TP fw='/path/to/the/firmware.img' program MCU firmware from given file. usually not needed. power cycle required. .TP fpga='/path/to/the/bitstream.rbf' load FPGA bitstream from given file. required only at first run at the moment. .SH HackRF Source / Sink .TP Argument Notes .TP hackrf Use this argument without a value .TP buffers= Default is 32 .LP Only the first device found may be used at the moment because of libhackrf limitation. .LP Transmit support has been verified by using the crc-mmbTools DAB sdr transmitter. .SH IQ File Source .TP Argument Notes .TP file= .TP freq= Center frequency in Hz, accepts eng notation .TP rate= Mandatory, in samples/s, accepts eng notation .TP repeat=true|false Default is true .TP throttle=true|false Throttle flow of samples, default is true .SH EXAMPLES .LP osmocom_siggen_nogui -a hackrf -f 100e6 --sweep -x 2e6 -y 10 -v .LP osmocom_siggen_nogui -a uhd,subdev=A:0 -f 100e6 --sweep -x 2e6 -y 10 -s 4e6 -v .SH "SEE ALSO" osmocom_fft(1) osmocom_siggen(1) osmocom_spectrum_sense(1) debian/source/0000755000000000000000000000000011743362366010501 5ustar debian/source/format0000644000000000000000000000001411661232106011672 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212025471555010372 0ustar 9 debian/osmocom_spectrum_sense.10000644000000000000000000001153012230613331014035 0ustar .TH osmocom_spectrum_sense "1" "October 2013" "OSMOCOMM" "User Commands" .SH NAME osmocom_spectrum_sense \- GNU Radio application from OsmoSDR .SH SYNOPSIS .B osmocom_spectrum_sense [\fIoptions\fR] \fImin_freq max_freq\fR .SH DESCRIPTION GNU Radio application from OsmoSDR .SH OPTIONS .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-a\fR ARGS, \fB\-\-args\fR=\fIARGS\fR Device args [default=] .TP \fB\-A\fR ANTENNA, \fB\-\-antenna\fR=\fIANTENNA\fR Select antenna where appropriate .TP \fB\-s\fR SAMP_RATE, \fB\-\-samp\-rate\fR=\fISAMP_RATE\fR Set sample rate (bandwidth), minimum by default .TP \fB\-g\fR GAIN, \fB\-\-gain\fR=\fIGAIN\fR Set gain in dB (default is midpoint) .TP \fB\-\-tune\-delay\fR=\fISECS\fR Time to delay (in seconds) after changing frequency [default=0.25] .TP \fB\-\-dwell\-delay\fR=\fISECS\fR Time to dwell (in seconds) at a given frequency [default=0.25] .TP \fB\-b\fR Hz, \fB\-\-channel\-bandwidth\fR=\fIHz\fR Channel bandwidth of fft bins in Hz [default=6250.0] .TP \fB\-q\fR dB, \fB\-\-squelch\-threshold\fR=\fIdB\fR Squelch threshold in dB [default=none] .TP \fB\-F\fR FFT_SIZE, \fB\-\-fft\-size\fR=\fIFFT_SIZE\fR Specify number of FFT bins [default=samp_rate/channel_bw] .TP \fB\-\-real\-time\fR Attempt to enable real\-time scheduling .SH 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. .SH FCD Source .TP Argument Notes .TP fcd= 0-based device identifier, optional .TP device=hw:2 overrides the audio device .TP type=2 selects the dongle type, 1 for Classic, 2 for Pro+ .LP The "device" argument overrides the audio device used by the underlying driver to access the dongle's IQ sample stream. .LP The "type" argument selects the dongle type, 1 for Classic, 2 for Pro+. .SH OsmoSDR Source .TP Argument Notes .TP osmosdr= 0-based device identifier .TP buffers= Default is 32 .TP buflen= Default is 256kB, must be multiple of 512 .SH RTL-SDR Source .TP Argument Notes .TP rtl= 0-based device identifier OR serial number .TP rtl_xtal= Frequency (Hz) used for the RTL chip, accepts eng notation .TP tuner_xtal= Frequency (Hz) used for the tuner chip, accepts eng notation .TP buffers= Default is 32 .TP buflen= Default is 256kB, must be multiple of 512 .TP direct_samp=0|1|2 Enable direct sampling mode on the RTL chip. 0: Disable, 1: use I channel, 2: use Q channel .TP offset_tune=0|1 Enable offset tune mode for E4000 tuners .LP NOTE: use rtl_eeprom -s to program your own serial number to the device .LP NOTE: if you don't specify rtl_xtal/tuner_xtal, the underlying driver will use 28.0MHz .SH RTL-SDR TCP Source .TP Argument Notes .TP rtl_tcp=: hostname defaults to "localhost", port to "1234" .TP psize= Default is 16384 bytes .TP direct_samp=0|1|2 Enable direct sampling mode on the RTL chip 0=Off, 1=I-ADC input enabled, 2=Q-ADC input enabled .TP offset_tune=0|1 Enable offset tune mode for E4000 tuners .SH Miri Source .TP Argument Notes .TP miri= 0-based device identifier .TP buffers= Default is 32 .SH UHD Source / Sink Argument Notes .TP uhd Use this argument without a value .TP nchan= For multichannel USRP configurations use the subdev parameter to specify stream mapping .TP subdev= Examples: "A:0", "B:0", "A:0 B:0" when nchan=2. Refer original ettus documentation on this .TP lo_offset= Offset frequency in Hz, must be within daughterboard bandwidth. Accepts eng notation .LP 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. .SH bladeRF Source / Sink .TP Argument Notes .TP bladerf[=0] 0-based device identifier (optional) .TP fw='/path/to/the/firmware.img' program MCU firmware from given file. usually not needed. power cycle required. .TP fpga='/path/to/the/bitstream.rbf' load FPGA bitstream from given file. required only at first run at the moment. .SH HackRF Source / Sink .TP Argument Notes .TP hackrf Use this argument without a value .TP buffers= Default is 32 .LP Only the first device found may be used at the moment because of libhackrf limitation. .LP Transmit support has been verified by using the crc-mmbTools DAB sdr transmitter. .SH IQ File Source .TP Argument Notes .TP file= .TP freq= Center frequency in Hz, accepts eng notation .TP rate= Mandatory, in samples/s, accepts eng notation .TP repeat=true|false Default is true .TP throttle=true|false Throttle flow of samples, default is true .SH "SEE ALSO" osmocom_fft(1) osmocom_siggen(1) osmocom_siggen_nogui(1) debian/rules0000755000000000000000000000220712244226706010254 0ustar #!/usr/bin/make -f DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) export DEB_HOST_MULTIARCH DEB_DEBIAN_DIR=$(dir $(firstword $(MAKEFILE_LIST))) VER=$(shell dpkg-parsechangelog -l$(DEB_DEBIAN_DIR)/changelog \ | sed -rne 's,^Version: ([^-]+).*,\1,p') GITREV=$(shell echo $(VER) | sed -rne 's,[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\.([0-9]+),\1,p') %: dh $@ --with python2 override_dh_auto_configure: dh_auto_configure -- -DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)" -DPythonLibs_FIND_VERSION:STRING="2.7" -DPythonInterp_FIND_VERSION:STRING="2.7" override_dh_python2: dh_python2 --no-guessing-versions --no-guessing-deps -V 2.7 --package=gr-osmosdr --no-package=libgnuradio-osmosdr0.0.0 override_dh_auto_install: dh_auto_install rm -f debian/gr-osmosdr/usr/lib/python2.7/dist-packages/osmosdr/*pyc rm -f debian/gr-osmosdr/usr/lib/python2.7/dist-packages/osmosdr/*pyo version-to-get: echo $(VER) is $(GITREV) get-orig-source: version-to-get git clone git://git.osmocom.org/gr-osmosdr cd gr-osmosdr && git archive --format=tar --prefix=gr-osmosdr-$(VER)/ $(GITREV) | gzip > ../gr-osmosdr_$(VER).orig.tar.gz rm -rf gr-osmosdr debian/libgnuradio-osmosdr0.0.0.install0000644000000000000000000000002412230622016015103 0ustar usr/lib/*/lib*.so.* debian/osmocom_siggen.10000644000000000000000000001267712230614425012274 0ustar .TH osmocom_siggen "1" "October 2013" "OSMOCOM" "User Commands" .SH NAME osmocom_siggen \- Signal Generator Application with GUI controls .SH SYNOPSIS .B osmocom_siggen: [\fIoptions\fR] .SH DESCRIPTION Signal Generator Application with GUI controls .SH OPTIONS .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-a\fR ARGS, \fB\-\-args\fR=\fIARGS\fR Device args, [default=] .TP \fB\-A\fR ANTENNA, \fB\-\-antenna\fR=\fIANTENNA\fR Select Rx Antenna where appropriate .TP \fB\-s\fR SAMP_RATE, \fB\-\-samp\-rate\fR=\fISAMP_RATE\fR Set sample rate (bandwidth), minimum by default .TP \fB\-g\fR GAIN, \fB\-\-gain\fR=\fIGAIN\fR Set gain in dB (default is midpoint) .TP \fB\-f\fR FREQ, \fB\-\-tx\-freq\fR=\fIFREQ\fR Set carrier frequency to FREQ [default=mid\-point] .TP \fB\-c\fR FREQ_CORR, \fB\-\-freq\-corr\fR=\fIFREQ_CORR\fR Set carrier frequency correction [default=0] .TP \fB\-x\fR WAVEFORM_FREQ, \fB\-\-waveform\-freq\fR=\fIWAVEFORM_FREQ\fR Set baseband waveform frequency to FREQ [default=0] .TP \fB\-y\fR WAVEFORM2_FREQ, \fB\-\-waveform2\-freq\fR=\fIWAVEFORM2_FREQ\fR Set 2nd waveform frequency to FREQ [default=none] .TP \fB\-\-sine\fR Generate a carrier modulated by a complex sine wave .TP \fB\-\-const\fR Generate a constant carrier .TP \fB\-\-offset\fR=\fIOFFSET\fR Set waveform phase offset to OFFSET [default=0] .TP \fB\-\-gaussian\fR Generate Gaussian random output .TP \fB\-\-uniform\fR Generate Uniform random output .TP \fB\-\-2tone\fR Generate Two Tone signal for IMD testing .TP \fB\-\-sweep\fR Generate a swept sine wave .TP \fB\-\-gsm\fR Generate GMSK modulated GSM Burst Sequence .TP \fB\-\-amplitude\fR=\fIAMPL\fR Set output amplitude to AMPL (0.1\-1.0) [default=0.3] .TP \fB\-v\fR, \fB\-\-verbose\fR Use verbose console output [default=False] .SH 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. .SH FCD Source .TP Argument Notes .TP fcd= 0-based device identifier, optional .TP device=hw:2 overrides the audio device .TP type=2 selects the dongle type, 1 for Classic, 2 for Pro+ .LP The "device" argument overrides the audio device used by the underlying driver to access the dongle's IQ sample stream. .LP The "type" argument selects the dongle type, 1 for Classic, 2 for Pro+. .SH OsmoSDR Source .TP Argument Notes .TP osmosdr= 0-based device identifier .TP buffers= Default is 32 .TP buflen= Default is 256kB, must be multiple of 512 .SH RTL-SDR Source .TP Argument Notes .TP rtl= 0-based device identifier OR serial number .TP rtl_xtal= Frequency (Hz) used for the RTL chip, accepts eng notation .TP tuner_xtal= Frequency (Hz) used for the tuner chip, accepts eng notation .TP buffers= Default is 32 .TP buflen= Default is 256kB, must be multiple of 512 .TP direct_samp=0|1|2 Enable direct sampling mode on the RTL chip. 0: Disable, 1: use I channel, 2: use Q channel .TP offset_tune=0|1 Enable offset tune mode for E4000 tuners .LP NOTE: use rtl_eeprom -s to program your own serial number to the device .LP NOTE: if you don't specify rtl_xtal/tuner_xtal, the underlying driver will use 28.0MHz .SH RTL-SDR TCP Source .TP Argument Notes .TP rtl_tcp=: hostname defaults to "localhost", port to "1234" .TP psize= Default is 16384 bytes .TP direct_samp=0|1|2 Enable direct sampling mode on the RTL chip 0=Off, 1=I-ADC input enabled, 2=Q-ADC input enabled .TP offset_tune=0|1 Enable offset tune mode for E4000 tuners .SH Miri Source .TP Argument Notes .TP miri= 0-based device identifier .TP buffers= Default is 32 .SH UHD Source / Sink Argument Notes .TP uhd Use this argument without a value .TP nchan= For multichannel USRP configurations use the subdev parameter to specify stream mapping .TP subdev= Examples: "A:0", "B:0", "A:0 B:0" when nchan=2. Refer original ettus documentation on this .TP lo_offset= Offset frequency in Hz, must be within daughterboard bandwidth. Accepts eng notation .LP 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. .SH bladeRF Source / Sink .TP Argument Notes .TP bladerf[=0] 0-based device identifier (optional) .TP fw='/path/to/the/firmware.img' program MCU firmware from given file. usually not needed. power cycle required. .TP fpga='/path/to/the/bitstream.rbf' load FPGA bitstream from given file. required only at first run at the moment. .SH HackRF Source / Sink .TP Argument Notes .TP hackrf Use this argument without a value .TP buffers= Default is 32 .LP Only the first device found may be used at the moment because of libhackrf limitation. .LP Transmit support has been verified by using the crc-mmbTools DAB sdr transmitter. .SH IQ File Source .TP Argument Notes .TP file= .TP freq= Center frequency in Hz, accepts eng notation .TP rate= Mandatory, in samples/s, accepts eng notation .TP repeat=true|false Default is true .TP throttle=true|false Throttle flow of samples, default is true .SH EXAMPLES .LP osmocom_siggen -a hackrf -f 100e6 --sine .LP osmocom_siggen -a hackrf -f 100e6 --sweep -x 2M -y 1 -c34 .SH "SEE ALSO" osmocom_fft(1) osmocom_siggen(1) osmocom_spectrum_sense(1)