lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Looking help for lwip_ppp_status


From: Anoulak Kictiraz
Subject: Re: [lwip-users] Looking help for lwip_ppp_status
Date: Thu, 30 Jun 2005 08:48:58 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910

address@hidden wrote:

I tried to make debug with insight and to write remote logfile , probably
it's what you were looking for...

Thanks

Roberto -- ITALY

-- Messaggio Originale --
Date: Wed, 29 Jun 2005 13:24:57 +0200
From: Anoulak Kictiraz <address@hidden>
To: Mailing list for lwIP users <address@hidden>
Subject: Re: [lwip-users] Looking help for lwip_ppp_status
Reply-To: Mailing list for lwIP users <address@hidden>


address@hidden wrote:

Can anyone tell me where I can found source code of lwip_ppp_status and
how
to manage it?



In directory eCos_SDK\ecos2\packages\net\lwip_tcpip\current\src\ecos\init.c from Falcom SDK.

static bool ppp_started;
int lwip_ppp_status() {
if (ppp_started) return 1;
else return 0;
}
void
pppMyCallback(void *a , int e, void * arg)
{
  struct ppp_addrs *pppaddrs;
  //diag_printf("callback %d \n",e);
  pppaddrs = (struct ppp_addrs *)arg;
  ppp_ip_addr = &pppaddrs->our_ipaddr;
  if(e == 0) ppp_started = true;
    else  ppp_started = false;
}

I'm using this function inside my application but I can't run a ppp connection
cause it always give me back 0 as return value



Please enable debug output for PPP and send me the debug messages logfile.

Best regards,

Anoulak

Thanks, and regards...

Roberto -- ITALY

__________________________________________________________________
TISCALI ADSL 1.25 MEGA a soli 19.95 euro/mese
Solo con Tiscali Adsl navighi senza limiti di tempo
a meno di 20 euro al mese. E in piu' telefoni senza
pagare il canone Telecom! Scopri come, clicca qui http://abbonati.tiscali.it/adsl/sa/1e25flat_tc/





_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users


--

_____ FALCOM GmbH ______________________________________________________

Dipl.-Inf. Anoulak Kictiraz

Software Engineer
R&D Department

Phone:   +49 3677 8042 0
Fax:     +49 3677 8042 215
E-mail:  address@hidden

Address: Gewerbering 6, 98704 Langewiesen, Germany

______________________________ www.falcom.de ___________________________

This e-mail and any files transmitted are the property of FALCOM and/or
its affiliates, are confidential, and are intended solely for the use of
the individual or entity to whom this e-mail is addressed. If you are
not one of the named recipients or otherwise have reason to believe that
you have received this e-mail in error, please notify the sender and
delete this message immediately from your computer. Any other use,
retention, dissemination, forwarding, printing or copying of this e-mail
is strictly prohibited.



_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users


__________________________________________________________________
TISCALI ADSL 1.25 MEGA a soli 19.95 euro/mese
Solo con Tiscali Adsl navighi senza limiti di tempo
a meno di 20 euro al mese. E in piu' telefoni senza
pagare il canone Telecom! Scopri come, clicca qui http://abbonati.tiscali.it/adsl/sa/1e25flat_tc/



------------------------------------------------------------------------


w +$Hc-1#09
r <Timeout: 2 seconds>
w $Hc-1#09
r \r\r\n+C*R: GPRS\r\r\nC*O*N*N*E**C*T*Caratteri risposta:Success: CONNECT\r\r\nGSM 
started.\r\npre_lwipinit\r\npost_lwipinit\r\nppp_start verificata\r\n<Timeout: 2 
seconds>
w -
r <Timeout: 2 seconds>
w -
r <Timeout: 2 seconds>
w -+$qC#b4
r <Timeout: 2 seconds>
w $qC#b4
r <Timeout: 2 seconds>
w $qC#b4
r <Timeout: 2 seconds>
w $qC#b4
r <Timeout: 2 seconds><Timeout: 2 seconds>
w -
r <Timeout: 2 seconds>
w -
r <Timeout: 2 seconds>
w -+$qOffsets#4b
r <Timeout: 2 seconds>
w $qOffsets#4b
r <Timeout: 2 seconds>
w $qOffsets#4b
r <Timeout: 2 seconds>
w $qOffsets#4b
r <Timeout: 2 seconds><Timeout: 2 seconds>
w -
r <Timeout: 2 seconds>
w -
r <Timeout: 2 seconds>
w -+
End of log
------------------------------------------------------------------------

_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users

That is not what i mean!
There are options in LWIP includes (like lwipopts.h or opt.h) to enable debug output for PPP part.


--

_____ FALCOM GmbH ______________________________________________________

Dipl.-Inf. Anoulak Kictiraz

Software Engineer
R&D Department

Phone:   +49 3677 8042 0
Fax:     +49 3677 8042 215
E-mail:  address@hidden

Address: Gewerbering 6, 98704 Langewiesen, Germany

______________________________ www.falcom.de ___________________________

This e-mail and any files transmitted are the property of FALCOM and/or
its affiliates, are confidential, and are intended solely for the use of
the individual or entity to whom this e-mail is addressed. If you are
not one of the named recipients or otherwise have reason to believe that
you have received this e-mail in error, please notify the sender and
delete this message immediately from your computer. Any other use,
retention, dissemination, forwarding, printing or copying of this e-mail
is strictly prohibited.





reply via email to

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