I got your problem few days ago, you should pass each char to ppp, and sio_read shouldn't filter any char. More than that, you should make sure your uart's baudrate match it of GPRS modern.
Nicolas Dioli wrote: > > Hello, i am using lwip 1.3.2 + PPP with FreeRTOS. > I have a question about pppInProc. > When i receive a ppp packet which start by 0x7E, when the function is > testing the fcs: he found an invalid fcs and drop the packet. > I don't understand why ( i have already read rfc but i'm lost). > > perhaps, the packet is wrong: my sio_read return only the packet between > 2 flags 0x7E. An didn't return "CONNECT 115200" from the modem GPRS. > > > Nicolas Dioli > > Polytech'Nice-Sophia student > > > _______________________________________________ > lwip-users mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/lwip-users > > -- View this message in context: http://old.nabble.com/How-to-close-tcp_thread-tp28065857p28287988.html Sent from the lwip-users mailing list archive at Nabble.com. _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
