No demo or sample really. Best resources are the SLIP source code and maybe Wiki page on the protocol. It *is* a really simple encapsulation.

As for the rest, it's going to be fully custom to your application:

- Serial port layer: implement those SIO_xxx() methods based on your hardware - Address resolution: you'll have to implement some kind of table to match IP address to radio link

Cheers
Ivan


Date: Thu, 5 Feb 2015 17:48:01 +0100
From: Marco Jakobs <[email protected]>
To: 'Mailing list for lwIP users' <[email protected]>
Subject: Re: [lwip-users] Interfacing LwIP for a radio communication
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"

Hi Ivan,

thank you for pointing to that! I'll have a look! :-)

Is there any documentation or do you have any samples which may give me a start?

Marco

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Ivan
Delamer
Sent: Thursday, February 05, 2015 4:50 PM
To: [email protected]
Subject: Re: [lwip-users] Interfacing LwIP for a radio communication

Hey Marco,

I would definitely look at the SLIP netif. I've been using it and the
current code works.

It is basically a point to point IP encapsulation with almost no
overhead (1 byte). It assumes that both sides already know their IP
configuration. So you can manually assign IP addresses to each radio
station and then create a simple driver to connect to the right
station according to destination IP address.

Cheers
Ivan




_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to