Re: Linux WPAN and Contiki NG

Stefan Schmidt
2024-01-10T16:23:36Z

Hello Marek,

[I added the list back into cc as I think is could be of interest to
more people. Also your blog post for people interested in trying out
Contiki NG with Linux]

On 09.01.24 19:32, Marek Küthe wrote:
> On Tue, 9 Jan 2024 08:34:47 +0100
> Stefan Schmidt <stefan@datenfreihafen.org> wrote:
>
>> Would be happy to hear findings when you tried it. :-)
>
> I have written a small blog entry about my configuration. It may not be
> particularly beautiful (written) - but I think you can understand it.
>
> TLDR: Linux and Contriki NG only work together when Contriki NG is in
> CSMA mode.
>
> English: https://mk16.de/blog/contiki-ng-linux-wpan-6lowpan-en/
> German: https://mk16.de/blog/contiki-ng-linux-wpan-6lowpan-de/

Thanks, it was a good read.

To address some of your implicit questions in the post. Yes, the first
missing pings could be due to ND. To be sure you would need to check out
the packets with wireshark or similar.

As for the MAC access mode needed to be CSMA, yes this is the only one
supported. The biggest problem, for Linux, with other modes like 6Tisch
is the hard timing requirements. If it is possible to work in these
real-time requirements would have to be tested. Nobody stepped up to do
the implementation yet to try it out.

One could start with simple implementation, if that fails, make use of
preempt-rt features, if that fails see what hardware timers or other
capabilities of the transceivers could be used. On the ATUSB, time
critical pathes could also be offloaded into the firmware.

It all depends on interest, motivation and time :-)

regards
Stefan Schmidt