Переглядів 46,881
Here are six nodes of my ESP-Now mesh syncing up from a cold start.
This is an interpretation of the BATMAN IV mesh routing algorithm implemented on ESP8266 using ESP-Now as the transport.
I started working on this when I wasn't satisfied with how PainlessMesh worked and somebody suggested I look at ESP-Now based connections instead.
I'm just at the stage where the mesh builds, syncs a common clock and shares 'health' information eg. uptime and battery status. As yet you can't send any meaningful user data over it, but I'm actually seeing that as a relatively minor step, it's already reliably routing messages across multiple hops in a fairly efficient manner.
My next milestone is creating 'traceroute' and 'ping' equivalents to show the routing easily and measure latency.