I tried modifying the gr-osmosdr source to add the message sink in the
source_impl.cc. Turns out, we cannot have message passing in hierarchical
blocks as discussed in this post:
https://lists.gnu.org/archive/html/discuss-gnuradio/2016-01/msg00291.html
and this one:
https://lists.gnu.org/archive/html/discuss-gnuradio/2015-10/msg8.html
Now, what other options do I have? Is it possible to connect to a message
port insde the hierarchical block from outside?
Warm regards,
Anshul
Warm regards,
Anshul Thakur
On 5 April 2018 at 21:33, Anshul Thakur wrote:
> I am trying to extend the gr-osmosdr source block with a PMT message sink
> to send messages to it during runtime (to say, change the sample rate). I
> intend to develop this as a part of a differnt OOT module.
>
> How do I add such dependencies in the CMake list? (I am not very
> conversant with Cmake)
>
> Is there a good tutorial demonstrating one such example?
>
> Regards,
> Anshul
>
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio