GrOsmoSDR » History » Version 13
horiz0n, 02/19/2016 10:50 PM
1 | 1 | horiz0n | [[PageOutline]] |
---|---|---|---|
2 | |||
3 | 2 | horiz0n | = OsmoSDR Gnuradio Source = |
4 | 1 | horiz0n | |
5 | 3 | horiz0n | Primarily gr-osmosdr supports the OsmoSDR hardware, but it also offers a wrapper functionality for [http://tetra.osmocom.org/trac/wiki/Funcube_Dongle FunCube Dongle], [http://files.ettus.com/uhd_docs/manual/html/build.html Ettus UHD] and [http://sdr.osmocom.org/trac/wiki/rtl-sdr rtl-sdr] radios. By using gr-osmosdr source you can take advantage of a common software api in your application(s) independent of the underlying radio hardware. |
6 | 1 | horiz0n | |
7 | == Build process == |
||
8 | |||
9 | '''The gnuradio source requires a recent gnuradio (>= v3.5.3) to be installed.''' |
||
10 | |||
11 | Please note: prior pulling a new version from git and compiling it, please do a "make uninstall" first to properly remove the previous version. |
||
12 | |||
13 | Building with cmake: |
||
14 | {{{ |
||
15 | git clone git://git.osmocom.org/gr-osmosdr |
||
16 | cd gr-osmosdr/ |
||
17 | mkdir build |
||
18 | cd build/ |
||
19 | cmake ../ -Wno-dev |
||
20 | make |
||
21 | sudo make install |
||
22 | sudo ldconfig |
||
23 | }}} |
||
24 | |||
25 | NOTE: The source block will appear under 'OsmoSDR' category in GRC menu. |
||
26 | |||
27 | 10 | horiz0n | To build the API documentation: |
28 | {{{ |
||
29 | cd build/ |
||
30 | cmake ../ -Wno-dev -DENABLE_DOXYGEN=1 |
||
31 | make -C docs |
||
32 | }}} |
||
33 | |||
34 | 1 | horiz0n | == Automated installation == |
35 | |||
36 | Marcus D. Leech has kindly integrated the forementioned build steps into his gnuradio installation script at [http://www.sbrac.org/files/build-gnuradio]. This is the most user-friendly option so far. |
||
37 | 7 | horiz0n | |
38 | 11 | horiz0n | == Device specification == |
39 | You can specify the source or sink device using a comma separated string of argument=value pairs. |
||
40 | |||
41 | === Local file === |
||
42 | ||file=<path-to-file-name>|||| |
||
43 | ||freq=<frequency>|| in Hz|| |
||
44 | ||rate=<sampling-rate>|| in samples/s|| |
||
45 | ||repeat=true|false|| Default is false|| |
||
46 | ||throttle=true|false||Throttle flow of samples, default is false|| |
||
47 | |||
48 | === OsmoSDR (source) === |
||
49 | ||osmosdr=<device-index>|| || |
||
50 | 12 | horiz0n | ||mcr=<rate>||Master clock rate. FIXME: Setting the MCR is not supported|| |
51 | 11 | horiz0n | ||nchan=<channel-number>||FIXME: Values of nchan != 1 are not supported|| |
52 | ||buffers=<number-of-buffers>|| Default is 32|| |
||
53 | |||
54 | === OsmoSDR (sink) === |
||
55 | FIXME: OsmoSDR sink is not yet implemented. |
||
56 | |||
57 | === rtl-sdr === |
||
58 | ||rtl=<device-index>|| || |
||
59 | ||rtl_xtal=<frequency>|| Frequency in Hz of the crystal oscillator used for the RTL chip|| |
||
60 | 13 | horiz0n | ||tuner_xtal=<frequency>|| Frequency in Hz of the crystal oscillator used for the tuner chip|| |
61 | 11 | horiz0n | ||buffers=<number-of-buffers>|| Default is 32|| |
62 | 13 | horiz0n | NOTE: if you don't specify rtl_xtal/tuner_xtal, the underlying driver will use 28.0MHz |
63 | 11 | horiz0n | |
64 | === rtl-sdr TCP server === |
||
65 | ||rtl_tcp=<hostname>:<port>|| hostname defaults to "localhost", port to "1234"|| |
||
66 | ||psize=<payload-size>|| Default is 16384 bytes|| |
||
67 | |||
68 | === UHD === |
||
69 | ||uhd|| Use this argument without value || |
||
70 | ||nchan=<channel-index>|| || |
||
71 | ||subdev=<subdev-spec>|| See below|| |
||
72 | |||
73 | Additional argument/value pairs will be passed to the underlying driver, for more information see |
||
74 | http://files.ettus.com/uhd_docs/manual/html/general.html#specifying-the-subdevice-to-use and |
||
75 | http://files.ettus.com/uhd_docs/manual/html/identification.html#common-device-identifiers |
||
76 | |||
77 | === FCD === |
||
78 | ||Argument||Notes|| |
||
79 | ||fcd=<device-index>|| || |
||
80 | |||
81 | 7 | horiz0n | == Known Apps == |
82 | |||
83 | The following 3rd party applications are successfully using gr-osmosdr: |
||
84 | |||
85 | ||'''Name'''||'''Type'''||'''Author'''||'''URL'''|| |
||
86 | ||gr-pocsag||GRC Flowgraph||Marcus Leech||[https://www.cgran.org/browser/projects/gr-pocsag/trunk]|| |
||
87 | ||multimode RX||GRC Flowgraph||Marcus Leech||[https://www.cgran.org/browser/projects/multimode/trunk]|| |
||
88 | ||simple_fm_rvc||GRC Flowgraph||Marcus Leech||[https://www.cgran.org/browser/projects/simple_fm_rcv/trunk]|| |
||
89 | ||Wireless Temp. Sensor RX||Gnuradio App||Kevin Mehall||[https://github.com/kevinmehall/rtlsdr-433m-sensor]|| |
||
90 | ||gqrx (fork)||SDR GUI||Alexandru Csete||[https://github.com/mathisschmieder/gqrx]|| |
||
91 | 9 | horiz0n | ||tetra_demod_fft||SDR GUI||osmocom team||[http://cgit.osmocom.org/cgit/osmo-tetra/tree/src/demod/python/osmosdr-tetra_demod_fft.py osmosdr-tetra_demod_fft.py] and the [http://tetra.osmocom.org/trac/wiki/osmo-tetra#Quickexample HOWTO] || |
92 | ||gqrx (original)||SDR GUI||Alexandru Csete||[https://github.com/csete/gqrx/tree/osmosdr]|| |
||
93 | 8 | horiz0n | ||tetra_demod_fft||Trunking RX||osmocom team||[http://cgit.osmocom.org/cgit/osmo-tetra/tree/src/demod/python/osmosdr-tetra_demod_fft.py osmosdr-tetra_demod_fft.py] and the [http://tetra.osmocom.org/trac/wiki/osmo-tetra#Quickexample HOWTO] || |
94 | ||airprobe '''(NEW)'''||GSM sniffer||osmocom team et al||[http://git.gnumonks.org/cgi-bin/gitweb.cgi?p=airprobe.git]|| |
||
95 | ||gr-smartnet (WIP) '''(NEW)'''||Trunking RX||Nick Foster||[http://www.reddit.com/r/RTLSDR/comments/us3yo/rtlsdr_smartnet/][[br]][http://www.reddit.com/r/RTLSDR/comments/vbxl0/attention_grsmartnet_users_or_attempted_users/ Notes from the author]|| |
||
96 | ||gr-air-modes '''(NEW)'''||ADS-B RX||Nick Foster||[https://www.cgran.org/wiki/gr-air-modes] call with --rtlsdr option|| |