Retrieving device type

Alexandru Csete oz9aec at
Mon Mar 3 22:02:29 UTC 2014

On Mon, Mar 3, 2014 at 10:35 PM, Nick Foster <bistromath at> wrote:
> Hi,
> gr-osmosdr is great at abstracting the device type, but now I find myself
> wishing to de-abstract. For instance: HackRF has large DC offset, so I'd
> like the option to switch in a DC blocking filter when using that source.
> RTL dongles can't support more than 2.4Msps reliably, so I'd like to be able
> to cope accordingly at initialization time.
> Is there a good way to retrieve, say, a string descriptor telling me which
> particular source I'm using?

None that I know of, but aren't you the one who decides what device is
in use by passing e.g. "hackrf=0" as argument to the constructor?


More information about the osmocom-sdr mailing list