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: Wed, 14 Nov 2018 20:43:04 +0530

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



On Wed, Nov 14, 2018 at 4:55 AM Sylvain Rochet <address@hidden> wrote:
Hi Devanand,

On Wed, Nov 14, 2018 at 12:27:20AM +0530, Devanand Biradar wrote:
> Hello ,
> I am using NXP DEVKIT MCP5748G.
> I am having example code of lwip with freertos.
> I want to communicate with gsm module using lwip/pppos.
> I am getting lcp packets from gsm module for negotiating, but I am not
> getting the ip address from module & after some seconds I am getting NO
> CARRIER from module.
> Please suggest some basic needs OR what I am missing in this module.

This is not really helpful, could you please provide a serial trace of
the AT commands to setup the modem prior PPP start and a full trace of
all PPP control packets using PPP_DEBUG with PRINTPKT_SUPPORT enabled ?

Sylvain
_______________________________________________
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]