[lwip-users] R: R: Solved: PPP no IP address assigned

2015-07-13 Thread Bettega Stefano
Hi Sylvain, I migrated to lwIP from master branch but still have a no connection problem. LCP negotiation is terminated by remote party, faster than with old ppp code. It seems that a sent packet force remote to terminate connection. As stated before I'm with NO_SYS = 0; now I'm calling pppos_inpu

[lwip-users] R: R: R: Solved: PPP no IP address assigned

2015-07-13 Thread Bettega Stefano
Ok, after some debug time I found that no authetnication option was enabled in lwIP's ppp. So I added #define PAP_SUPPORT 1 to my lwipopts.h file and changed pppapi_set_auth(m_pcb, PPPAUTHTYPE_ANY, "", ""); to pppapi_set_auth(m_pcb, PPPAUTHTYPE_PAP, "", ""); N

[lwip-users] R: R: R: R: Solved: PPP no IP address assigned

2015-07-13 Thread Bettega Stefano
Ok, now is really solved :) My AT+CGDCONT string was wrong, it didn't contained the correct APN to be used for the connection. After setting up that, the connection could be established. Thanks again Stefano -Messaggio originale- Da: lwip-users-bounces+stefanobettega=digiteclecco@non

Re: [lwip-users] Retransmit too quick?

2015-07-13 Thread Xun Chen
Thanks for the clarification, I will take your suggestion and modify my codes accordingly On 7/11/2015 12:00 PM, lwip-users-requ...@nongnu.org wrote: -- Message: 1 Date: Fri, 10 Jul 2015 13:31:37 -0300 From: "Sergio R. Capri