[lwip-users] ppp over serial works with gsm modem sim900d but not working with sim5216j using same controller harware

2015-04-01 Thread rohanm
hii , i have implemented ppp over serial using gsm modem sim900d. and it works fine.device gets ip address properly. but when I replaced GSM modem with sim5216j ,ppp not able to established connection with sim5216j. i am using same code and hardware which used for sim900d implementation. so i

Re: [lwip-users] PPP no IP address assigned

2015-04-01 Thread Sylvain Rochet
Hello Michael, On Wed, Apr 01, 2015 at 08:47:03AM +0200, Michael Waeber wrote: Hi all I try to integrate PPP with a GPRS modem in our system. lwIP works well for ethernet in our system since 3 years. Since PPP is currently actively developed I've upgraded from 1.4.1 to current Master

Re: [lwip-users] ppp over serial works with gsm modem sim900d but not working with sim5216j using same controller harware

2015-04-01 Thread Sergio R. Caprile
Looking at your frames, the SIM900 outputs a PPP frame with HDLC address and control bytes, while the SIM5216 does not. I'm by no means a PPP expert, but just looking for PPP in wikipedia shows this: /The Address and Control fields always have the value hex FF (for all stations) and hex 03 (for

Re: [lwip-users] ppp over serial works with gsm modem sim900d but not working with sim5216j using same controller harware

2015-04-01 Thread Sylvain Rochet
Hello, On Wed, Apr 01, 2015 at 03:18:02AM -0700, rohanm wrote: hii , i have implemented ppp over serial using gsm modem sim900d. and it works fine.device gets ip address properly. but when I replaced GSM modem with sim5216j ,ppp not able to established connection with sim5216j. i am

[lwip-users] PPP no IP address assigned

2015-04-01 Thread Michael Waeber
Hi all I try to integrate PPP with a GPRS modem in our system. lwIP works well for ethernet in our system since 3 years. Since PPP is currently actively developed I've upgraded from 1.4.1 to current Master (16.03.2015). The modem is connected to GPRS, then the PPP session is started. The

Re: [lwip-users] ppp over serial works with gsm modem sim900d but not working with sim5216j using same controller harware

2015-04-01 Thread rohanm
thank you for ur quick response. pfa. LOG_2.log http://lwip.100.n7.nabble.com/file/n24269/LOG_2.log this is what i got in the log. sorry for messy log. -- View this message in context:

Re: [lwip-users] PPP no IP address assigned

2015-04-01 Thread Patrick Klos
On 4/1/2015 2:47 AM, Michael Waeber wrote: Hi all I try to integrate PPP with a GPRS modem in our system. lwIP works well for ethernet in our system since 3 years. Since PPP is currently actively developed I've upgraded from 1.4.1 to current Master (16.03.2015). The modem is connected to GPRS,

Re: [lwip-users] PPP no IP address assigned

2015-04-01 Thread Michael Waeber
Hello Sylvain On 01.04.2015 14:02, Sylvain Rochet wrote: snip .. That's a perfect IPCP request ;-) After this frame the communication is dead, no answer received, no other frame sent. I've tried using various combinations of - No auth, PAP, Chap - With/without VJ header compression

Re: [lwip-users] PPP no IP address assigned

2015-04-01 Thread Sylvain Rochet
Hello Michael, On Wed, Apr 01, 2015 at 05:27:41PM +0200, Michael Waeber wrote: On 01.04.2015 14:02, Sylvain Rochet wrote: Looks like your lwIP timeouts are not working or you don't have enough of them, PPP needs a lot of timeouts, could you check that first ? What do you exactly mean

Re: [lwip-users] PPP no IP address assigned

2015-04-01 Thread Sylvain Rochet
Hello Michael, On Wed, Apr 01, 2015 at 09:56:37PM +0200, Sylvain Rochet wrote: It really should retry a few seconds later, could you dig what is happening in IPCP (ipcp.c/fsm.c) ? What do you have for FSM_DEFTIMEOUT in lwipopts.h/opt.h ? To be sure I tested with an input drop filter