Dear Brian, Thanks for your suggestion, it solved my problem as I am padding 0's equal to one block size at the end.
But now I have to bear an overhead of one block size all the time, In my application all the time I have to send one block of data. So it means that for every packet I have to add an extra packet. Best Regards Brian Padalino wrote: > > On Tue, Aug 12, 2008 at 11:39 AM, kaleem ahmad <[EMAIL PROTECTED]> > wrote: >> >> Dear Brian, >> >> I have tried with different payload sizes and the maximum value I tried >> was >> 1024 bytes. But in all cases I never received last Block (Sorry in my >> first >> post I mistakenly wrote last two blocks, it is actually the last block >> only). >> >> The length of transmit side filter is 125 and that of received side is >> 25. >> >> Can you please explain how can I flush or clear the filters as you said: >> >> "To alleviate, you may want to flush the filters out with all 0's for >> at least the length of 1/2 the taps, but it might be better to clear >> the whole thing just so if you decide to start a new burst, the filter >> doesn't have anything left over to cause some weird transients at the >> beginning of the burst." >> >> Please give me a clue with little code if possible. > > I really have no idea how to do it in code in GNU Radio. The easiest > thing to do is just transmit an extra block of data and ignore it at > the receiver. The smart thing to do is to zero the input to the > filter and run it for the total length of the filter taps. > > Good luck writing the code for it. I'm interested to know if this > fixes your problems. > > Brian > > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > -- View this message in context: http://www.nabble.com/Last-two-data-Blocks-are-always-missing-tp18942634p18947787.html Sent from the GnuRadio mailing list archive at Nabble.com. _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio