ESP32 mesh with manual scanning and no Router
Posted: Thu Dec 31, 2020 9:29 am
Hello. I am trying to set up a manual scaning mesh network with no Router. The idea is the node will scan for a mesh network and in case none is found, it will set itself as the root node. And in case the node finds a mesh notwork, it will connect to it and become a normal node.
I am using 2 Esp32 devices and basically what I did until now was to use the Mesh Manual Networking Example [https://github.com/espressif/esp-idf/bl ... esh_main.c] for the root device and a modified version for the node device (with an empty router ssid so the node will not connect to any router).
I expected the node device to scan, find the mesh network (softAP) and connect to it, but what happens is that the node is just scanning "normal wifi" networks and the mesh network is not listed in the scan results.
Is it possible to manually scan the softAPs from other Esp32 devices?
PS.: I did the same test using the Mesh Internal Communication Example [https://github.com/espressif/esp-idf/tr ... munication] and it works. However this example uses the auto scan.
I am using 2 Esp32 devices and basically what I did until now was to use the Mesh Manual Networking Example [https://github.com/espressif/esp-idf/bl ... esh_main.c] for the root device and a modified version for the node device (with an empty router ssid so the node will not connect to any router).
I expected the node device to scan, find the mesh network (softAP) and connect to it, but what happens is that the node is just scanning "normal wifi" networks and the mesh network is not listed in the scan results.
Is it possible to manually scan the softAPs from other Esp32 devices?
PS.: I did the same test using the Mesh Internal Communication Example [https://github.com/espressif/esp-idf/tr ... munication] and it works. However this example uses the auto scan.