On Thu, May 10, 2007 at 10:24:04AM +0200, Trond Danielsen wrote: > > Ok, I read from pkt.py that to finish a packet, I just append > gr.message(1) at the tail of the message queue, but is there a simple > way to do this if I just want to send packet of fixed size, where the > payload comes from a flow graph?
Hi Trond, The gr.message(1) isn't to end a packet, it's to tell the scheduler that there's no more data coming. I'm not exactly sure I'm following what you are trying to do. However, I think that if you follow through the logic in gnuradio-examples/python/digital/tunnel.py you'll see a way to send and receive packets (fixed or variable length) between python and the flow graph. Eric _______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
