discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] 802.15.4 how to forward a parameter to a c++ blo


From: George Nychis
Subject: Re: [Discuss-gnuradio] 802.15.4 how to forward a parameter to a c++ block
Date: Tue, 25 May 2010 12:14:12 -0400



On Tue, May 25, 2010 at 10:16 AM, <address@hidden> wrote:
Hi,

I'm currently using the UCLA ZigBee PHY implementation posted on:
https://www.cgran.org/wiki/UCLAZigBee
with gnuradio.

My question is the following:
How can I forward a parameter from: src/python/ieee802_15_4_pkt.py
... e.g. from the "send_pkt(...)" function (or any other)
to the c++ block in : src/lib/ucla_symbols_to_chips_bi.cc ?

Or more generally speaking: How can I forward a parameter from a python application to the c++ processing block?
If possible it would be great to use the io_signatures...


during instantiation of the block or during runtime?  If it's during instantiation, you can use a parameter to the constructor of your C++ block.  But, if you want something during runtime I do not think it is possible given the current architecture.  You do not explicitly call the work() function where the processing is done, this is done within the GNU Radio framework.

- George

reply via email to

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