hey Martin,

many thanks for the reply! one more question about this though: every
time the work function is called in the PACKET_CREATOR, it reads 28
bytes and outputs 37 bytes (as confirmed by nitems_read(0) and
nitems_written(0)). From what you were saying, and from what I've read
from other sources, I got the following impression: in order to tag
every first byte of a packet at the output of PACKET_CREATOR, I have to
add the tag to the item with item offset equal to the current
nitems_written(0)-value in PACKET_CREATOR. Am I correct?

One other question:

Now I want to modulate the output of PACKET_CREATOR with GFSK and send
over the air using a USRP. Furthermore, each packet should be sent at a
different frequency (freq. hopping), which, as I've heard, can also be
achieved by tagging the input to the USRP sink which sets the center
frequency of the usrp (as far as I know, at least..). There is a
GFSK_mod block that would do the modulation for me. That's a hier block.
However, I found no specification in it concerning tag propagation, but
I would need it to propagate tags to every first modulated symbol of a
packet to set the center frequency on which the packet should be
transmitted. Is there a simple way to achieve that without having to
re-implement the modulator in a custom block with added tag propagation?

many thanks for your help!

-- 
Posted via http://www.ruby-forum.com/.

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

Reply via email to