[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] ARP message stops TCP?

2017-07-20 Thread Mike Rosing
After some online digging it looks like I will have problems to work on eventually - for the moment things are working.  The call backs are inside the interrupt level, the calls to the library are in the main loop.  I don't know what the priority levels are for the interrupts, or if this system

Re: [lwip-users] ARP message stops TCP?

2017-07-20 Thread goldsi...@gmx.de
Mike Rosing wrote: I do think the call backs are inside the interrupt Ehrm, unless everything in lwIP runs on that interrupt level and *not* in main loop (or a thread), that's OK. If not, sooner or later, you'll get a problem! , but the total time is 10's of microseconds and the system

Re: [lwip-users] ARP message stops TCP?

2017-07-20 Thread Mike Rosing
Thank you - I have not seen that page.  I will check into that.I did change the delay time between messages from minutes to seconds, and then the system works fine.  I have also tried a completely different approach using UDP only, and LwIP works fine, Linux fails to receive what LwIP sends.  So

Re: [lwip-users] netconn API reliability issue

2017-07-20 Thread goldsi...@gmx.de
newbie wrote: In simple tests, I tried to exchange data betwenn server. transmission succeeded only for 17 sequential exchanges then I get error from netconn_recv. My simple answer would be that the remote side closes the connection. Seriously, without any more info, how could one help here?

Re: [lwip-users] Fwd: problems in pppos

2017-07-20 Thread parwath . r
Hi, thanks, i will try with lwip never version. thanks parwath On 2017-07-20 02:25, Sylvain Rochet wrote: Hi, On Thu, Jul 20, 2017 at 02:11:41AM -0700, parwat...@yashaswinies.com wrote: Hello all, I am new to lwip 1.4.0 stack. i am trying ppp over serial port for small ppp connect

Re: [lwip-users] Fwd: problems in pppos

2017-07-20 Thread Sylvain Rochet
Hi, On Thu, Jul 20, 2017 at 02:11:41AM -0700, parwat...@yashaswinies.com wrote: > > Hello all, >I am new to lwip 1.4.0 stack. i am trying ppp over serial port for small > ppp connect test, but its getting strucked in networking phase here i have > attached log also please suggest us to move

[lwip-users] Fwd: problems in pppos

2017-07-20 Thread parwath . r
Hello all, I am new to lwip 1.4.0 stack. i am trying ppp over serial port for small ppp connect test, but its getting strucked in networking phase here i have attached log also please suggest us to move forward. thanks parwathppp phase changed[0]: phase=0 13Executing ATD*99***1#