Hello RIOTers,
I want to use RIOT for a low-power 802.15.4 network project. Having a bit familiarized with RIOT and my samr21-xpro boards now I want to tackle my next milestone, i.e. I need a MAC protocol that fits my requirements (see below).
As it seems that there are only 2 MAC implementations for now [1,2], both not what I'm searching for and also not merged, I decided to try this on my own.
Therefore I studied some papers and existing MAC schemes to not reinvent the wheel. There is one nice paper [3] that sums up quite nicely the most basic duty-cycling schemes (p. 4ff).
There are some adaptions and refinements to these protocols which might improve the throughput or energy-saving further, but I think that these basic schemes already provide a good starting point. Namely there is ContikiMAC [4] that incorporates these improvements.
While I want to start implementing a basic and simple protocol first, I wonder if it could be nice for RIOT to have some ContikiMAC-compatible MAC layer later.
I can't promise anything for now on how well this will work in the end, but I wanted to inform you about my undertaking and maybe you have some thought or pointers that could help me. As there is so much change in all over the network stack at the moment, it would be nice to know which (for me relevant) parts of the stack I should use that are not subject to change shortly.
I gathered some notes and requirements, please find them below.
Best regards, Daniel Krebs
[1] https://github.com/rousselk/RIOT/commits/s-cosens [2] https://github.com/RIOT-OS/RIOT/pull/2467 [3] http://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=4539479 [4] http://dunkels.com/adam/dunkels11contikimac.pdf
Requirements for MAC-layer