[Top][All Lists]

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

Re: [Discuss-gnuradio] ninput_items size problem

From: Ramazan Çetin
Subject: Re: [Discuss-gnuradio] ninput_items size problem
Date: Wed, 10 Jul 2019 19:15:41 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

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:

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.

reply via email to

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