On 04/14/2016 10:44 PM, Richard Bell 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

The "get_sensor" API is a distinctly UHD thing, as far as I know.

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to