[riot-devel] ESP8266 - Easy tcp/ip support

David Lyon david.lyon at clixx.io
Tue Mar 17 12:34:59 CET 2015


Hi Martine,

On 2015-03-17 20:49, Martine Lenders wrote:
> We currently don't have an example for an embedded stack, but I guess
> the ESP8266 would be great to supply such an example. Since the
> ESP8266 supplies, as far as I understand it, everything up to tcp and
> udp, I would propose not to write a netdev driver for it, but writing
> a netapi threads directly, one for TCP and one for UDP, so our future
> new socket API speaks directly to it. If you need some inspiration how
> to implement a transport layer thread have a look at Hauke's
> prelimanary UDP implementation [1].

I will check that.

> If there are no timing issues over speaking to the devices registers
> over e.g. SPI directly (if it is possible this way at all), we can try
> that, but in general I would prefer the solution that yields the
> better performance.

It's a UART/Serial interface so there's no SPI. There's memory limits
on the LUA firmware so it's not suited to big amounts of data going
through. The Lua interface currently operates at 9600.

> Since it would show the flexibility of our new network stack this chip
> would be a great option! :-)

It would give TCP/UDP/MQTT pretty quickly.

Regards

David


More information about the devel mailing list