discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] gr-osmosdr python question


From: Chris Kuethe
Subject: Re: [Discuss-gnuradio] gr-osmosdr python question
Date: Thu, 14 Apr 2016 22:14:44 -0700

None of the common host libraries seem to have that kind of an API call:
https://github.com/librtlsdr/librtlsdr/blob/master/include/rtl-sdr.h
https://github.com/mossmann/hackrf/blob/master/host/libhackrf/src/hackrf.h
https://github.com/airspy/host/blob/master/libairspy/src/airspy.h

But here's gr-osmosdr's API
https://github.com/osmocom/gr-osmosdr/blob/master/lib/source_iface.h

On Thu, Apr 14, 2016 at 7:44 PM, Richard Bell <address@hidden> wrote:
> I'm new to using gr-osmosdr and I'm trying to implement the equivalent set
> of USRP function calls for a HackRF
>
> set_center_freq(target_freq)
> get_sensor("lo_locked")
>
> which amounts to measuring how long it takes to command a frequency change
> and lock at the new frequency.
>
> The set_center_freq function happens to be the same, but I don't know where
> to find documentation or example code that shows the get_sensor equivalent,
> or if it's even needed. Would someone direct me to an API manual for
> gr-osmosdr, or source code that defines these things?
>
> Thanks,
> Rich
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>



-- 
GDB has a 'break' feature; why doesn't it have 'fix' too?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]