but, it's hard to get debug output from across the forest.
>> We need some kind of repeatable simpler test framework to be able to
>> kill bugs.
> socket_zep would fit the bill.
> It encapsulates 802.15.4 frames inside an UDP packet and sends those to
> a dispatcher. This way radio communication can be simulated on native.
> Currently only a dummy dispatcher  is implemented which relays all
> frames to all connected nodes, with no packet loss.
> But it could be extended to allow modelling more advanced topologies
> with packet loss between the nodes.
> This was done before  but I don't know if it still works with the
> current RIOT.
Interesting piece of work.
> The dispatcher could then also update the link quality field in the ZEP
> header, so if we get neighbor statistics  merged, we could then also
> test metric based routing.
>  https://github.com/RIOT-OS/RIOT/pull/14448
It seems to need another rebase, but what other objections are there?
It seems that maybe it still has bugs, and maybe it should be split up into
maybe two three patches: one to add structure to collect the stats
(neighbor.h, netstats_nb_t, etc.)... I'm unclear if there are network driver
changes needed too.
[I mean, except that NEIGHBOUR has a EWE, Eh!]