Hello folk,

We made some progress. This short ninput_items size problem results from "rational_resampler". Rational_resampler is used as interpolator by 2. So, lets say, there is a tagged packet on input of rational_resampler with length of 975. We expect that, rational_resampler should put a packet to the output with size of 1950. But, it outputs partially like length of 1024 or 1536 etc. So, next block cannot produce its output. Because it needs entire packet with length of 1950.

Can we set min noutput_items for rational_resampler and does this solve the problem? Or, do you know what the problem is about rational_resampler?

Best regards.

On 9.07.2019 20:53, Ramazan Çetin wrote:
Hello,

We have a variable input payload from TAP interface. This payload is modulated in OFDM block. Then, it passed through our custom "rtag" block. This block behaves like FIFO. It puts first input to its output. The problem is that our input is tagged with "packet_len" which is 1950. But, out "ninput_items" size is lower than 1950. Because of this problem, we have to wait until new packet arrives to fill the input buffer to 1950.

How can we increase ninput_items size in our custom block?

The code and the log output is attached.

Best regards.



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

Reply via email to