Hi Yoav, Thanks for the answer, I put some comment inside your replies. Please have a look at them.
On 5 May 2011 19:33, Yoav Nissim <yo...@jungo.com> wrote: > > > I have used lwIP's PPP but am not sure what you mean by "PPP driver from > lwIP". I will be using PPP over serial, and the serial line is connected to a GPRS modem. I am in a NO_SYS environment, i.e., embedded system without OS. > > Do you need to use PPP-over-serial or PPP-over-Ethernet? > > > I used PPPoS for which I had to: > > 1. implement the serial IO interface defined in sio.h (see reference > implementations in contrib module) > > 2. use the PPP APIs defined in ppp.h to establish, manage, and terminate > a PPP link. Beside the PPP APIs, do you actually use the implementaion (.c files in netif/ppp directory)? > > > Take into consideration that: > > 1. as of lwIP 1.4.0 rc1, the APIs in ppp.h are not protected, i.e they > should be called from the tcpip thread context. I think this only matters for NO_SYS == false case. right? > > 2. IMO, not all the APIs in ppp.h are actually public.... What does this mean? > > > HTH, > > Yoav. > > > > On 5/5/2011 13:18, narke wrote: > >> Hi, >> >> Does anyone have experience in using the PPP driver from lwIP? Is >> there even any example? Thanks. >> > > > _______________________________________________ > lwip-users mailing list > lwip-users@nongnu.org > https://lists.nongnu.org/mailman/listinfo/lwip-users > -- Life is the only flaw in an otherwise perfect nonexistence -- Schopenhauer narke public key at http://subkeys.pgp.net:11371 (narkewo...@gmail.com) _______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users