Hey, Please give the log of the ppp as well as your code to initialize the lwip stack. Your at commands sequence look fine. You must not call "at+cgact=1,1" since ppp stack does this functionality
בתאריך יום ה׳, 15 בנוב׳ 2018, 12:00, מאת Ajay Bhargav < cont...@rickeyworld.info>: > Dev, > > > > I think before entering data mode you need to activate the PDP context > using AT+CGACT=1,1 > > So before msg8 you need to send that command. > > > > Try it. > > > > Ajay > > > > *From: *Devanand Biradar <devanan...@gmail.com> > *Sent: *Wednesday, November 14, 2018 8:43 PM > *To: *Mailing list for lwIP users <lwip-users@nongnu.org> > *Subject: *Re: [lwip-users] LWIP/PPPOS for GSM module > > > > Hello Sylvain, > > > > This are the commands I am using before PPP session ---> > > > > #define msg "AT\r\n" > > #define msg1 "ATZ\r\n" > > #define msg2 "ATE0\r\n" > > #define msg3 "AT+CFUN=1\r" > > #define msg4 "AT+CNMI=0,0,0,0,0\r" > > #define msg5 "AT+CPIN?\r" > > #define msg6 "AT+CREG?\r" > > #define msg7 "AT+CGDCONT=1,\"IP\",\"internet\"\r" > > #define msg8 "AT+CGDATA=\"PPP\",1\r" > > > > After msg8 I have received the CONNECT response & after that the PPP > session starts. > > > > I need to enable the LWIP debug. > > > > DEV > _______________________________________________ > lwip-users mailing list > lwip-users@nongnu.org > https://lists.nongnu.org/mailman/listinfo/lwip-users
_______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users