Taken from here: https://randomnerdtutorials.com/esp-mesh-esp32-esp8266-painlessmesh/ The example uses the "painlessmesh" library. Just add it via arduino's library manager. Other libs will be added, to (like JSON, etc.). To download the needed "asynctcp" lib go to...
www.b4x.com