lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Interfacing LwIP for a radio communication


From: Sylvain Rochet
Subject: Re: [lwip-users] Interfacing LwIP for a radio communication
Date: Wed, 4 Feb 2015 20:37:49 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Hello Marco,

On Wed, Feb 04, 2015 at 05:43:49PM +0100, Marco Jakobs wrote:
> Hi,
>  
> I need to make an interface for LwIP to realize a communication via 
> non-IP capable radio link.
>  
> We have an existing implementation for cellular systems which supports 
> IP communication via PPP (like GPRS) which works good, we can 
> transport IP data from customer devices (RTU's etc.) via the WAN PPP 
> link using NAT.
>  
> The challenge now is that I need to use a radio link which does not 
> support PPP as it has no centralized SwMi (let's say it's a 
> peer-to-peer connection).
>  
> What I think may be the best way is to create a kind of custom "NetIF" 
> with a "virtual" IP address which is set as the standard gateway - so 
> from the behavior like the PPP does. I should get the IP data (header 
> and payload) as a "raw char array" out of this NetIF and can send this 
> via the radio link.
>  
> All stations which receive these data will then "restore" them in the 
> custom NetIF (as PPP does with incoming data) and find their way back 
> into the LwIP of the receiving devices where they'll be treated in a 
> normal way like any incoming IP data via Ethernet or PPP.
>  
> Is this concept a reasonable way? If yes, is there any documentation 
> which might help me to write such a "customer NetIF"? If no ... what 
> would be a better option?

Why can't you use PPPoS over your radio link ?  There is also a SLIP 
implementation in lwIP which have a lot less overhead than PPPoS, but I 
don't known its current status, it probably wasn't used for a while.

Sylvain

Attachment: signature.asc
Description: Digital signature


reply via email to

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