From 5e47e27e3992090a2e3580076f7cbc5efc0e739b Mon Sep 17 00:00:00 2001 From: Hieromon Ikasamo Date: Thu, 21 May 2020 18:25:15 +0900 Subject: [PATCH] Supplemented the preserveAPMode description --- mkdocs/advancedusage.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mkdocs/advancedusage.md b/mkdocs/advancedusage.md index 32b4edc..65b0a28 100644 --- a/mkdocs/advancedusage.md +++ b/mkdocs/advancedusage.md @@ -462,6 +462,10 @@ Certain communication protocols applicable to the ESP module require that the Wi [*AutoConnectConfig::preserveAPMode*](apiconfig.md#preserveAPMode) setting maintains WiFi-AP mode without disabling SoftAP inside [*AutoConnect::begin*](api.md#begin). The Sketch can utilize the WiFi connection via AutoConnect with ESP-MESH and ESP-NOW protocol by enabling this option. +The following diagram quoted from the [ESP-MESH documentation](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/mesh.html#mesh-building-a-network) that illustrates the typical topology. The module located at the Root Node bridges between the mesh network and the router by an application that handles two protocols, TCP/IP and ESP-MESH. Its SoftAP communicates with the internal mesh network as an interface of the mesh layer. On the other hand, STA performs station communication of the WiFi router as an interface of the TCP/IP layer. AutoConnect allows assists the connection between the router and the STA of the Root Node using [*AutoConnectConfig::preserveAPMode*](apiconfig.md#preserveapmode) and starting the SoftAP via Sketch separately. + + + ### Make SSID of SoftAP unique You can change SoftAP's SSID and password programmatically when the captive portal starts up. By using chip specific ID of esp8266/esp32 you can make SSID of SoftAP unique. SSID and password for SoftAP is [*AutoConnectConfig::apid*](apiconfig.md#apid) and [*AutoConnectConfig::psk*](apiconfig.md#psk).