yes modem is initialized corectly and PPP channel opened.
I have this code:
int connected = 0;
int setup = 0;
int pd;
const char *username = "myuser";
const char *password = "mypassword";
/* initialise lwIP. This creates a new thread, tcpip_thread, that
* communicates with the pppInputThread (see below) */
tcpip_init(tcpip_init_done, &setup);
/*
while (!setup) {
DelayMS(100);
}
*/
/* initialise PPP. This needs to be done only once
after boot up, to
* initialize global variables, etc. */
pppInit();
//initialize modem and open ppp
#if GSM
while(!GSM_PPP_ConnectProcess());
#endif
pd = pppOverSerialOpen(0, linkStatusCB, &connected);
From: yueyue papa <address@hidden>
To: Ahmed Fayek <address@hidden>; Mailing list for lwIP users <address@hidden>
Sent: Thursday, May 23, 2013 4:21 PM
Subject: Re: [lwip-users] ppp problem
whether you init your modem?
e.g AT command for setup your module. setup the APN, whether the dial process success?