"Mehmet Ali Ekici" <mehmet.ek...@skynetelectronics.net> 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...

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

_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to