Neighbor discovery mac layer

Hi everyone,

I am a beginner with RIOT and I plan to implement a clustering algorithm. Please do you have any orientation to perform first the neighbor discovery at the MAC layer ?


The netstats_neighbor module will collect information about neighboring nodes, but it does not do any active discovery itself. This is usually a byproduct of e.g IPv6 neighbor discovery.

Thank you for your reply.

I have another small question: Can I use several RIOT commands in a way that, A node can execute them without external action?


You can also just call the functions in your app on bootup. Just include the needed modules and use them in your code. Maybe this helps in order to understand how it works.

Btw, generally speaking; I wouldn’t use the shell for production environments. It’s more of a debugging, learning tool.