[Top][All Lists]

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

Re: [lwip-users] PPP with NO_SYS=1 in an interrupt context

From: Simon Goldschmidt
Subject: Re: [lwip-users] PPP with NO_SYS=1 in an interrupt context
Date: Tue, 14 Jun 2011 13:17:38 +0200

"Mehmet Ali Ekici" <address@hidden> wrote:
> PPP with NO_SYS=1 in an interrupt context

Although I did the port for PPP to NO_SYS=1, I'm not sure I can help you that 
much since I'm not really a PPP expert, I only used the code while testing 
during development with a simulated COM port.

>       count = sio_read(ppp_sio, (u8_t*)rxbuf, 1024);
>       if(count > 0) {
>           pppos_input(ppp_desc, rxbuf, count);  
>       }         
>     }  

Calling pppos_input() that way should be OK. Blocking functions must not be 
used for NO_SYS==1.

> I am wondering if you can comment if there is an issue as I am not able to
> set up the PPP session.

I think the PPP setup should be fine. As I'm really not a PPP expert, I can't 
tell why you get a bad fcs. I remember getting this also sometimes, but Iordan 
(who helped me with PPP bugfixes) said it might be due to me using a virtual 
COM port... Maybe he can comment on this if he still reads this list...

Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

reply via email to

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