RTL2832 GNU Radio Source block now in gr-baz
mad at auth.se
Sat Mar 31 01:44:03 CEST 2012
Hi Balint, hi list!
Nice work creating a gnuradio source out of rtl-sdr, thank you for that.
But I've tested it using a Dexatek DVB-T Dongle which uses a FC0013 tuner and there are two issues I ran into.
First, there is the wrong handling of a return value when setting the frequency on the FC0013.
The attached patch integrates the Dexatek and fixes that issue.
But the second one isn't as easy to fix because I guess you would need some more insight into how a Gnuradio block is constructed to do that.
The following python std::runtime_error exception is thrown in grc everytime a graph using the RTL2832 source is started.
Wait delay: 11,130 ms
>>> gr_fir_fff: using SSE
Traceback (most recent call last):
File "/home/mad/gr/top_block.py", line 109, in <module>
tb = top_block()
File "/home/mad/gr/top_block.py", line 82, in __init__
self.connect((self.rtl2832_source_0, 0), (self.blks2_wfm_rcv_0, 0))
File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/top_block.py", line 124, in connect
File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/top_block.py", line 129, in _connect
AttributeError: 'baz_rtl_source_c_sptr' object has no attribute 'to_basic_block'
Perhaps you have some idea about that.
BTW, I'm using 18.104.22.168 Gnuradio with 2.7.2+ Python, your feaf6c commit of gr-baz and using stand-alone rtl-sdr the stick works well.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1206 bytes
Desc: not available
More information about the osmocom-sdr