[riot-devel] Network API task force

Martine Lenders authmillenon at gmail.com
Fri May 8 11:14:25 CEST 2015


Hi Kaspar,

2015-05-08 11:09 GMT+02:00 Kaspar Schleiser <kaspar at schleiser.de>:

> Hi,
>
> On 05/08/15 10:58, Martine Lenders wrote:
> > just to state the "opposite" opinion, too: while I see the need for an
> API
> > suitable for embedded use only and other stacks than the default one too,
> > I'm of the opinion, that the POSIX sockets (needed for library and
> > application ports) should also be as slim as possible. This means: A
> > wrapper (POSIX sockets) around a wrapper (the new new network API) around
> > some API (e. g. netapi) seems like overkill to me.
>
> If you agree that we need an API for embedded use, would you agree that
> this API should be the one that all RIOT internal libraries (e.g., for
> CoAP) should use?
>

Actually, yes. But I'm still trying to get my head around why netapi (or
it's wrapper functions [1], slightly renamed) could not be that API.

Cheers,
Martine

[1] https://github.com/RIOT-OS/RIOT/blob/master/sys/include/net/ng_netapi.h
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20150508/33cf7013/attachment.html>


More information about the devel mailing list