Re: [lwip-users] Duplicate packets received?

2017-08-25 Thread mitchj
I did the loopback demo applications and it works well, if there are any further tests you would recommend please do elaborate. I am using RAW LWIP here on an LPC43XX. Here is my capture, the traffic is randomly generated data that I'm sending from the PC copying in my APP and then sending back

[lwip-users] Duplicate packets received?

2017-08-23 Thread mitchj
Hello community, I am testing my implementation and have found that sometimes I receive more than 1460 bytes at a time, and it appears to be duplicate data. I know this because I am sending and receiving the data using a simple python script and the payload has duplicate segments coming back to

Re: [lwip-users] Transferring data from pbuf chain to app buffer.

2017-07-25 Thread mitchj
PSA: It appears my issue was solved simply by using pbuf_cat instead of chain on my receiving end. The receiving end of my stream is working. -- View this message in context: http://lwip.100.n7.nabble.com/Transferring-data-from-pbuf-chain-to-app-buffer-tp30205p30250.html Sent from the

[lwip-users] Transferring data from pbuf chain to app buffer.

2017-07-20 Thread mitchj
Good afternoon LWIP users, I could use a little help here, I'm attempting to take data from a pbuf chaing and transfer it to an app buffer. What I'm doing is adding data to a pbuf as I receive it, my app is aware of that object and will read off bytes into its own buffer. I'm doing this to be

Re: [lwip-users] A new users request for help with sending TCP Packets on Demand

2017-06-27 Thread mitchj
Thank you, I have read that page, and actually lept ahead to 2.0.0, it was an easier upgrade than I expected. Further, I was able to get a basic example working sending a string through a client. For now I have only a couple of questions to help me in my design. I need to expand this so that I

Re: [lwip-users] A new users request for help with sending TCP Packets on Demand

2017-06-20 Thread mitchj
Precisely, a TCP client is exactly what I need. I'm looking at both the lwip src and contrib for LWIP 1.4.0 and did not find one instance of tcp_connect. The only ones I see that is related to raw tcp at all is a server and does tcp_accept(echo_pcb, echo_accept); ... and similar in the http

Re: [lwip-users] A new users request for help with sending TCP Packets on Demand

2017-06-19 Thread mitchj
Thank you Sergio, I realize that TCP is a one to one connection. However, I'm honestly struggling to find an example that initiates the connection from the embedded device. The echo sample project for example establishes a passive connection that binds to an incoming connection (as I understand