diff --git a/mkdocs.yml b/mkdocs.yml index 1de866f..8e55049 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,6 +1,6 @@ # Project information -site_name: 'AutoConnect for ESP8266' -site_description: 'ESP8266 WLAN configuration at run time with web interface' +site_name: 'AutoConnect for ESP8266/ESP32' +site_description: 'ESP8266/ESP32 WLAN configuration at run time with web interface' site_author: 'Hieromon Ikasamo' site_url: 'https://Hieromon.github.io/AutoConnect/' diff --git a/mkdocs/advancedusage.md b/mkdocs/advancedusage.md index e749fe0..d1be22e 100644 --- a/mkdocs/advancedusage.md +++ b/mkdocs/advancedusage.md @@ -6,7 +6,7 @@ Registering the "not found" handler is a different way than ESP8266WebServer. Th ### Automatic reconnect -When the captive portal is started, SoftAP starts and the STA is disconnected. The current SSID setting memorized in ESP8266 will be lost. +When the captive portal is started, SoftAP starts and the STA is disconnected. The current SSID setting memorized in ESP8266/ESP32 will be lost. If the [**autoReconnect**](api.md#autoreconnect) option of the [**AutoConnectConfig**](api.md#autoconnectconfig-api) class is enabled, it automatically attempts to reconnect to the disconnected past access point. When the autoReconnect option is specified, AutoConnect will not start SoftAP immediately if the first WiFi.begin fails. It will scan WiFi signal and the same connection information as the detected BSSID is stored in EEPROM as AutoConnect's credentials, explicitly apply it with WiFi.begin and rerun. ```arduino hl_lines="3" diff --git a/mkdocs/gettingstarted.md b/mkdocs/gettingstarted.md index 5074f0b..8b7a271 100644 --- a/mkdocs/gettingstarted.md +++ b/mkdocs/gettingstarted.md @@ -3,11 +3,11 @@ Open the Arduino IDE, write the following sketch and upload it. The feature of this sketch is that the SSID and Password are not coded. ```arduino -#include -#include +#include // Replace with WiFi.h for ESP32 +#include // Replace with WebServer.h for ESP32 #include -ESP8266WebServer Server; +ESP8266WebServer Server; // Replace with WebServer for ESP32 AutoConnect Portal(Server); void rootPage() { @@ -33,7 +33,9 @@ void loop() { ### Run at first -After about 30 seconds, if the ESP8266 cannot connect to nearby Wi-Fi spot, you pull out your smartphone and open *Wi-Fi settings* from the *Settings* Apps. You can see the **esp8266ap** in the list of *"CHOOSE A NETWORK..."*. Then tap the esp8266ap and enter password **12345678**, a something screen pops up automatically as shown below. +After about 30 seconds, if the ESP8266 cannot connect to nearby Wi-Fi spot, you pull out your smartphone and open *Wi-Fi settings* from the *Settings* Apps. You can see the **esp8266ap** [^1] in the list of *"CHOOSE A NETWORK..."*. Then tap the esp8266ap and enter password **12345678**, a something screen pops up automatically as shown below. + +[^1]:When applied to ESP32, **esp32ap** diff --git a/mkdocs/index.md b/mkdocs/index.md index 991955f..80eec1f 100644 --- a/mkdocs/index.md +++ b/mkdocs/index.md @@ -79,10 +79,6 @@ To install the PageBuilder library into your Arduino IDE, you can use the *Libra -!!! warning "Library Manager of Arduino IDE" - The version of PageBuilder may not have been updated yet. If the library manager shows only version 0.93.0, please install the latest PageBuilder version than 1.0.0 from the Github repository. [The PageBuilder release](https://github.com/Hieromon/PageBuilder/releases/latest) of the Github repository is the latest version. The [PlatformIO library](https://platformio.org/lib/show/2010/PageBuilder) has the latest version of 1.0.0. - In 0.93.0, the PageBuilder class has a compile error about without the 'cancel' method. - ### Install the AutoConnect Clone or download from the [AutoConnect GitHub repository](https://github.com/Hieromon/AutoConnect). @@ -94,7 +90,7 @@ When you select Download, you can import it to Arduino IDE immediately. After do !!! info "Supported by Library manager." - AutoConnect was added to the Arduino IDE library manager as of March 17, 2018. It can be used with the PlatformIO library also. + AutoConnect was added to the Arduino IDE library manager. It can be used with the PlatformIO library also.