Page 1 of 1

2 problems about ESP-mesh-lite

Posted: Sat Mar 16, 2024 3:57 am
by leipeiwen
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

Code: Untitled.c Select all


//mesh details
#define MESH_PREFIX "PROV_ILAB"
#define MESH_PASSWORD "ilab666666"
#define MESH_PORT 5555
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.

Re: 2 problems about ESP-mesh-lite

Posted: Sun Mar 23, 2025 7:58 am
by nopnop2002
esp-wifi-mesh and esp-mesh-lite are different projects.

You may be using code from esp-wifi-mesh.

You can find examples for esp-mesh-lite here.

https://github.com/espressif/esp-mesh-l ... r/examples

ESP Rainmake examples are also included.