lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] LWIP/PPPOS for GSM module


From: Devanand Biradar
Subject: Re: [lwip-users] LWIP/PPPOS for GSM module
Date: Fri, 16 Nov 2018 07:13:05 +0530

Hello, 
I am not able to enable the PPP_DEBUG to log.
Please suggest the sorrect steps to Enable PPP_DEBUG with PRINTPKT_SUPPORT enabled

On Thu, Nov 15, 2018 at 4:10 PM Shlomi Vaknin <address@hidden> wrote:
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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]