discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] problem with streamed tags


From: Mat Mat
Subject: Re: [Discuss-gnuradio] problem with streamed tags
Date: Thu, 06 Aug 2015 10:10:03 +0200

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/.



reply via email to

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