On 3 August 2015 at 03:47, Pierre Talbot <[email protected]> wrote: > Is there a way to add the re-tuning code inside an OOT C++ files?
At the current time, I don't believe that there is a way to do this, however it has been discussed and is certainly planned for the future. There is a discussion of supporting flowgraphs that allow TX/RX switching, so I would expect the method for this to be similar. > It compile ok with the make, sudo make install, and sudo ldconfig > but when execute in GNU Radio Companion, I get AttributeError: 'module' > object has no attribute 'xyz' AttributeError is a python error because the python module that you are accessing does not have an object called "xyz" in it. This is probably unrelated to the HackRF and a problem with the xyz module's python wrapper. Maybe something in the swig file? > I suspect that the osmocom Source block has already opened the hackrf so > some line codes are not needed but even if I use the hackrf_set_freq alone, > I still get the same type of error. The osmocom block has the HackRF open, so other blocks won't be able to access it directly. What needs to be implemented is the ability to send a retune command to the osmocom block and have it handle the call to the libhackrf. Dominic _______________________________________________ HackRF-dev mailing list [email protected] https://pairlist9.pair.net/mailman/listinfo/hackrf-dev
