2 problems about ESP-mesh-lite
Posted: Sat Mar 16, 2024 3:57 am
1:when I need to use ESP32 to build a Wifi mesh, I copy the code from Internet ,I don't understand clearly about these code
can I understand these code just like my ESP device is used as an AP, and other ESP device can connect to this "root", but if I download these code to a several of devices ,which one is the AP ,and which devices are the STA?
2: How to connect the ESP Rainmaker to the ESP devices?
the way that I understood is firstly turn on the first ESP device as the AP ,and connect the mobile phone to the ESP device just like the example in Q1, "PROV_ILAB" ,and then ,add device.
- //mesh details
- #define MESH_PREFIX "PROV_ILAB"
- #define MESH_PASSWORD "ilab666666"
- #define MESH_PORT 5555
2: How to connect the ESP Rainmaker to the ESP devices?
the way that I understood is firstly turn on the first ESP device as the AP ,and connect the mobile phone to the ESP device just like the example in Q1, "PROV_ILAB" ,and then ,add device.