|
From: | Devanand Biradar |
Subject: | Re: [lwip-users] LWIP/PPPOS for GSM module |
Date: | Fri, 16 Nov 2018 07:13:05 +0530 |
_______________________________________________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 <address@hidden>:_______________________________________________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
Sent: Wednesday, November 14, 2018 8:43 PM
To: Mailing list for lwIP users
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
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users
[Prev in Thread] | Current Thread | [Next in Thread] |