Wednesday, July 22, 2015

Re: [Discuss-gnuradio] Firs byte always missing on TCP BPSK encoder

It's been my experience that the packet decoder block always loses 1 payload length.

Logan Washbourne
Electrical Engineering Graduate Student
(Electromagnetics)


On Wed, Jul 22, 2015 at 12:23 PM, Marcus Müller <marcus.mueller@ettus.com> wrote:
It seems your per-packet payload is but 1; and it's quite probable the first packet gets lost in trying to synchronize, which would explain your loss.

Best regards,
Marcus


On 22.07.2015 19:20, Jason Matusiak wrote:
I have a BPSK modulator/demodulator simulator script (attached) that has  me a little perplexed.  I have a TCP source on the input and a TCP sink  on the output.  The Encoder is setup for a payload length of 1.    Everything works except that I seems to always lose the first byte.    What I do is run the script and then run:  nc localhost 60000 in one terminal  and nc localhost 60001 in another    If I type, "this is a test" in the first terminal (minus the quotes) and  hit enter, I see "his is a test" in the second terminal.  So it looks  like things are working, but why would I be losing that first byte?  It  seems to happen every time I start the script fresh.  


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


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


No comments:

Post a Comment