On Sun, Dec 14, 2008 at 9:22 PM, Joreen Tan <joreen...@hotmail.com> wrote:

> I have managed to send and receive data using benchmark_tx.py and
> benchmark_rx.py. To add on to it, is it possible to add acknowledgement so
> that once the receiver has finished receiving, it is able to send an ack
> back to the sender? I really needed help desperately. Any help will be
> greatly appreciated as after several months of exploring gnuradio, i am
> still unable to write any code.

What you are describing is higher layer functionality best suited for
implementation outside the GNU Radio flowgraph.

The digital packet handling framework either accepts a payload of data
for transmission, or accumulate received payloads into a message queue
that you can query.

The easiest way to do what you want is to leave the flowgraph running
at all times, and create your own thread in Python to query to receive
message queue, assemble your ACK payload, and drop it into the
transmit side.

-Johnathan


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

Reply via email to