I have explored your modules on MQTT and mesh networking and congratulate you on excellent work. But now, I would like to join the two together and it looks like the fundamental problem is that they need to establish different network connections. Do you have any courses or ideas on how to join MQTT with a mesh network?
At the moment, I haven’t experimented with MQTT and ESP-MESH together.
However, the painlessMesh library provides an example with MQTT.
You can take a look at the example here: https://github.com/gmag11/painlessMesh/tree/master/examples/mqttBridge
I hope this helps.
I intend to create a tutorial about that in the future.