|
From: | Activecat |
Subject: | Re: [Discuss-gnuradio] Random number of output items |
Date: | Tue, 20 May 2014 09:32:58 +0800 |
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?
[Prev in Thread] | Current Thread | [Next in Thread] |