<div dir="ltr">Dimitri,<br><br>Thanks for the example code!  I'll roll this into the next release.<br><br>Thanks,<br>Ben<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Aug 4, 2013 at 10:36 AM, Dimitri Stolnikov <span dir="ltr"><<a href="mailto:horiz0n@gmx.net" target="_blank">horiz0n@gmx.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Ben,<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have released openLTE V00.08.03 (<a href="http://sourceforge.net/projects/openlte/" target="_blank">http://sourceforge.net/<u></u>projects/openlte/</a>)<br>
with support for HackRF and RTL-SDR via GrOsmoSDR. Using this release, I<br>
have been able to successfully decode broadcast information (MIB and SIBs)<br>
from LTE networks.<br>
</blockquote>
<br></div>
Thanks for the update & congratulations!<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I was also wondering if there is a good way to determine which type of<br>
hardware is connected?<br>
</blockquote>
<br></div>
Ideally you enumerate through available devices and select one to work with (example attached). Then you pass it's device string to the source/sink and continue from there as usual. You can check for something like dev.count("rtl") || dev.count("rtl_tcp") and dev.count("hackrf") to distinguish between devices. In our applications we also provide a command line switch like<br>

<br>
        parser.add_option("-a", "--args", type="string", default="",<br>
                          help="Device args, [default=%default]")<br>
<br>
to select a specific device via CLI and to be able to change it's default parameters: -a "hackrf,buffers=128".<br>
<br>
<br>
Best regards,<br>
Dimitri</blockquote></div><br></div>