diff --git a/README.md b/README.md index fe014a8..73b73ff 100644 --- a/README.md +++ b/README.md @@ -105,6 +105,7 @@ Full documentation is available on https://Hieromon.github.io/AutoConnect, some - Supports Arduino core for ESP32 1.0.3. - Supports AutoConnectUpdate for the OTA update. - Supports Preferences for saving credentials with ESP32 core 1.0.3 and later. **In ESP32, the credentials stored past in EEPROM will lose**. +- Supports AutoConnectAux::isValid function. ### [0.9.12] Aug. 18, 2019 - Fixed missing captive portal notifications on the newer mobile OS client. As a result of this fix, the SoftAP default IP address and gateway have been changed to **172.217.28.1**. (issue #85) diff --git a/mkdocs/apiaux.md b/mkdocs/apiaux.md index 1679b15..06749fd 100644 --- a/mkdocs/apiaux.md +++ b/mkdocs/apiaux.md @@ -100,6 +100,18 @@ Returns whether embedded in the menu or not. The isMenu is a function that compl
falseThis custom Web page is not currently a menu item.
+### isValid + +```cpp +bool isValid(void) +``` +Performs [validation](apielements.md#isvalid) of all [AutoConnectInput](apielements.md#autoconnectinput) elements owned by AutoConnectAux and returns the result. The isValid function will return the true even if the AutoConnectAux does not own AutoConnectInputs. +
+
**Return value**
+
trueValidation is successful. A value of all AutoConnectInputs match with each pattern.
+
falseSome elements failed validation.
+
+ ### load ```cpp diff --git a/mkdocs/changelog.md b/mkdocs/changelog.md index a9bbb53..5e20316 100644 --- a/mkdocs/changelog.md +++ b/mkdocs/changelog.md @@ -2,6 +2,7 @@ - Supports Arduino core for ESP32 1.0.3. - Supports AutoConnectUpdate for the [OTA update](otaupdate.md). - Supports Preferences for saving credentials with ESP32 core 1.0.3 and later. **In ESP32, the credentials stored past in EEPROM will lose**. +- Supports [**AutoConnectAux::isValid**](apiaux.md#isvalid) function. #### [0.9.12] Aug. 18, 2019 - Fixed missing captive portal notifications on the newer mobile OS client. As a result of this fix, the SoftAP default IP address and gateway have been changed to **172.217.28.1**.