discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Random number of output items


From: Francois Gervais
Subject: [Discuss-gnuradio] Random number of output items
Date: Mon, 19 May 2014 14:17:15 -0400

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 one. I'll use a FIFO file so other than not issuing the serail configuration the stack should be used pretty much as is.

However, I'm not sure what I should do about the the number of outputs. Let say I'm waiting for the preamble, I won't output anything. When I get the preamble and the sync I'll send a sync byte of my own. From here every 8 inputs I'll output a byte. So basically my block will output 0 or 1 output.

Can someone help me a little with the use of forecast and noutput_items in my case? Also do I need to use the consume_each function?

Thanks

reply via email to

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