lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Opinions on using lwIP for making application GPRS-chip


From: Ajay Garg
Subject: Re: [lwip-users] Opinions on using lwIP for making application GPRS-chipset-agnostic
Date: Sat, 22 Aug 2015 00:17:04 +0530



On Fri, Aug 21, 2015 at 7:59 PM, Sergio R. Caprile <address@hidden> wrote:
> > and a
> > layer-2 interface (netif) for the other ones.
> > This way, your app is always the same and you only change code for what
> > is below layer-3. You'll have to write your own netif, though.
> > lwIP is a TCP/IP stack which communicates to "the outside world" via
> > interfaces called "netif". Basically you can run it on top of everything
> > where you can write a netif for.

> I don't understand why Sergio is proposing that, lwIP embeds a full
> featured PPP stack and all GPRS modems I know are able to do PPP.

Yes, same here, all modules I know are TCP/IP capable and PPP capable.
The OP mentioned some modules/chipsets which are not TCP/IP capable and
I assumed they weren't PPP capable also.
As long as the chipset/module supports PPP, you rule and dinner's ready.
Otherwise, long way to walk on the netif road.

Thanks Sergio ... I now understand :)


One last question to all you awesome people ::

For TCP/IP/PPP/Serial code, "TCP/IP/PPP" layers will be handled in the lwIP code, while "Serial" layer will depend upon the embedded environment. Now, to ensure that 3/4 layers are full-proof, does there exist a tool/API/code for "Serial" layer that can be simulated on a plain desktop? This way once the "TCP/IP/PPP" layers have been verified to be correctly integrated (by running the complete app on desktop), we can finally move to implementing the 4th "Serial" layer for the embedded-board, and doing the "most-tedious code-flash-test" cycle on the embedded-board.

I am sorry if I am taking your time on this query (may be this query is better suited for the linux-mailing-list), but it will be great to listen from you guys in case you have something on top of your mind ...

Once again, thanks for all the help !!


Thanks and Regards,
Ajay


--


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



--
Regards,
Ajay

reply via email to

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