i.mxRT1064 lwip echo demo

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.mxRT1064 lwip echo demo

645 Views
simonecolombo
Contributor I

Hello i have a question about lwip echo(freertos or bm version is the same) i tried to sent a byte array but the receiver receive packet truncated to first 0.(not ascii character)

for example if i send {1,2,3,4,5}(dec) the receiver receive correctly {1,2,3,4,5} , the the sender send  {1,2,0,4,5} receive{1,2,0,0,0} and again {1,2,3,0,5} it receive {1,2,3,0,0}. is very weird because the lenght is always correct to 5 also if the receive packet is truncated.

thanks

Labels (1)
0 Kudos
1 Reply

538 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi Simone:

By default, echotool will send your pattern 5 times.   5 is the default number of attempts.

The number of attempts can be modified by /n parameter.

Please refer to my picture below.   "/n 3 "  means   patter helloworld will be sent 3 times.   As you can see, Corrupted is 0.

pastedImage_1.png

For better understanding your question of the  truncated data, could you please attach your screen shots ?

Regards

Daniel

0 Kudos