Re: [Discuss-gnuradio] Random number of output items

2014-05-20 Thread Activecat
On Tue, May 20, 2014 at 10:23 PM, Francois Gervais < francoisgerv...@gmail.com> wrote: > Sorry about that I'll try to clarify thing. > I'm using an rtl-sdr adapter to receive an RF signal. I demodulate it and > send it through the MM clock recovery and bit slicer. Then the binary > signal enters t

Re: [Discuss-gnuradio] Random number of output items

2014-05-20 Thread Francois Gervais
Hi Marcus, I'm not sure about the steps required to translate the bit stream from the RF receiver into a tagged stream. I looked at the ofdm_rx example and from what I understand I'll need a first block that takes the output of the demod/Clock Recovery/bit slicer and find the packets inside the s

Re: [Discuss-gnuradio] Random number of output items

2014-05-20 Thread Francois Gervais
Thanks I'll take a closer look. On Tue, May 20, 2014 at 10:34 AM, Marcus Müller wrote: > Hi, > > PDU blocks are a *type* of blocks. Basically, you tag your sample stream > so that the blocks downstream know how long your packet is. > The tagged stream infrastructure is an innovation meant to sim

Re: [Discuss-gnuradio] Random number of output items

2014-05-20 Thread Marcus Müller
Hi, PDU blocks are a *type* of blocks. Basically, you tag your sample stream so that the blocks downstream know how long your packet is. The tagged stream infrastructure is an innovation meant to simplify the design of blocks dealing with packetized data. Lool in the gr-digital/examples subfolder

Re: [Discuss-gnuradio] Random number of output items

2014-05-20 Thread Francois Gervais
Sorry about that I'll try to clarify thing. I'm using an rtl-sdr adapter to receive an RF signal. I demodulate it and send it through the MM clock recovery and bit slicer. Then the binary signal enters the block I'm talking about here. This block find a valid packet by matching the preamble and t

Re: [Discuss-gnuradio] Random number of output items

2014-05-20 Thread Marcus Müller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Francois, as Activecat, I'm kind of having a hard time understanidng your requirements. If you're emulating a hardware signal source, go for the source approach. If you're basically taking input from anywhere and packing it into packets of varying

Re: [Discuss-gnuradio] Random number of output items

2014-05-20 Thread Francois Gervais
Thanks Activecat you actually answered quite well to my question. I thought it might be better to send 0s, i'm glad you confirmed that. And thanks for the output algorithm. Could you tell me more about forecast? Most of the time I need 8 input samples to produce one byte output so I set the foreca

Re: [Discuss-gnuradio] Random number of output items

2014-05-19 Thread Activecat
On Tue, May 20, 2014 at 2:17 AM, Francois Gervais wrote: > Hi, > > I'm making a block which takes bit from a bit slicer and output packets as > input comes in. My block will output bytes so it can emulate a usb adapter > that receives the RF signal and output a packet stream through an FTDI. > Th

[Discuss-gnuradio] Random number of output items

2014-05-19 Thread Francois Gervais
Hi, I'm making a block which takes bit from a bit slicer and output packets as input comes in. My block will output bytes so it can emulate a usb adapter that receives the RF signal and output a packet stream through an FTDI. That way I can use the stack that comes with the adapter without owning