Let me paint a picture:
I have 1 unit set to AP mode and subsequent units are set to ROOT (if this can be set using an application?) can the ESP32 root find and connect to the ESP32 AP? In a sense:
Person ---> (ESP32 AP) -----> (ESP32 ROOT) -----> (Regular ESP32 MESH)
Where (Unit) can be set from AP to (ROOT / ESP32 MESH) using an application. Therefore giving the user the ability to "Join" a mesh network using 1 unit as its point of access?
The application would assign the proper SSID and PW to each (ESP32 ROOT/MESH) unit corresponding to the (ESP32 AP)
Thanks in advance.
ESP32 Mesh with another ESP32 set as AP (no router)
-
- Posts: 2
- Joined: Sun Jul 28, 2019 11:54 am
Re: ESP32 Mesh with another ESP32 set as AP (no router)
ESP32 runs as an AP:https://github.com/espressif/esp-idf/tr ... ted/softAP
ESP-MESH networking connection operation:https://github.com/espressif/esp-mdf/tr ... ifi/router
At present, this scheme has proved feasible, and can refer to: https://github.com/espressif/esp-mdf/issues/71
NOTE:
Because our ESP-MDF uses the 192.168.4.1 network segment by default, if softap also uses this network segment, there will be conflicts. Please modify the softap network segment as follows:
ESP-MESH networking connection operation:https://github.com/espressif/esp-mdf/tr ... ifi/router
At present, this scheme has proved feasible, and can refer to: https://github.com/espressif/esp-mdf/issues/71
NOTE:
Because our ESP-MDF uses the 192.168.4.1 network segment by default, if softap also uses this network segment, there will be conflicts. Please modify the softap network segment as follows:
Code: Select all
tcpip_adapter_ip_info_t ip_info = {
.ip.addr = ipaddr_addr("192.168.1.1"),
.netmask.addr = ipaddr_addr("255.255.255.0"),
.gw.addr = ipaddr_addr("192.168.1.1"),
};
tcpip_adapter_dhcps_stop(TCPIP_ADAPTER_IF_AP);
tcpip_adapter_set_ip_info(TCPIP_ADAPTER_IF_AP, &ip_info);
tcpip_adapter_dhcps_start(TCPIP_ADAPTER_IF_AP);
-
- Posts: 2
- Joined: Sun Jul 28, 2019 11:54 am
Re: ESP32 Mesh with another ESP32 set as AP (no router)
Will give this a shot.
Thank you for the quick and amazing support guys.
Thank you for the quick and amazing support guys.
Who is online
Users browsing this forum: No registered users and 60 guests