Supports autoReconnect

Fixed lint error
pull/14/head
Hieromon Ikasamo 7 years ago
parent 8a6944367d
commit 8aaac85894
  1. 26
      docs/changelog/index.html
  2. 9
      docs/search/search_index.json
  3. 4
      src/AutoConnect.cpp

@ -413,25 +413,20 @@
</a> </a>
</li> </li>
<li class="md-nav__item"> <li class="md-nav__item">
<a href="#092-march-19-2018" title="[0.9.2] March 19, 2018." class="md-nav__link"> <a href="#092-march-19-2018" title="[0.9.2] March 19, 2018." class="md-nav__link">
[0.9.2] March 19, 2018. [0.9.2] March 19, 2018.
</a> </a>
</li> </li>
<li class="md-nav__item"> <li class="md-nav__item">
<a href="#091-march-13-2018" title="[0.9.1] March 13, 2018." class="md-nav__link"> <a href="#091-march-13-2018" title="[0.9.1] March 13, 2018." class="md-nav__link">
[0.9.1] March 13, 2018. [0.9.1] March 13, 2018.
</a> </a>
</li> </li>
</ul>
</nav>
</li>
@ -487,25 +482,20 @@
</a> </a>
</li> </li>
<li class="md-nav__item"> <li class="md-nav__item">
<a href="#092-march-19-2018" title="[0.9.2] March 19, 2018." class="md-nav__link"> <a href="#092-march-19-2018" title="[0.9.2] March 19, 2018." class="md-nav__link">
[0.9.2] March 19, 2018. [0.9.2] March 19, 2018.
</a> </a>
</li> </li>
<li class="md-nav__item"> <li class="md-nav__item">
<a href="#091-march-13-2018" title="[0.9.1] March 13, 2018." class="md-nav__link"> <a href="#091-march-13-2018" title="[0.9.1] March 13, 2018." class="md-nav__link">
[0.9.1] March 13, 2018. [0.9.1] March 13, 2018.
</a> </a>
</li> </li>
</ul>
</nav>
</li>

@ -647,17 +647,12 @@
}, },
{ {
"location": "/changelog/index.html", "location": "/changelog/index.html",
"text": "[0.9.4] May 5, 2018.\n\u00b6\n\n\n\n\nSupports AutoConnectConfig::autoReconnect option, it will scan the WLAN when it can not connect to the default SSID, apply the applicable credentials if it is saved, and try reconnecting.\n\n\n\n\n[0.9.3] March 23, 2018.\n\u00b6\n\n\n\n\nSupports a static IP address assignment.\n\n\n\n\n[0.9.2] March 19, 2018.\n\u00b6\n\n\n\n\nImprovement of string literal declaration with the examples, no library change.\n\n\n\n\n[0.9.1] March 13, 2018.\n\u00b6\n\n\n\n\nA release of the stable.", "text": "[0.9.4] May 5, 2018.\n\u00b6\n\n\n\n\nAutomatically focus passphrase after selecting SSID with Configure New AP.\n\n\nSupports AutoConnectConfig::autoReconnect option, it will scan the WLAN when it can not connect to the default SSID, apply the applicable credentials if it is saved, and try reconnecting.\n\n\n\n\n[0.9.3] March 23, 2018.\n\u00b6\n\n\n\n\nSupports a static IP address assignment.\n\n\n\n\n[0.9.2] March 19, 2018.\n\u00b6\n\n\n\n\nImprovement of string literal declaration with the examples, no library change.\n\n\n\n\n[0.9.1] March 13, 2018.\n\u00b6\n\n\n\n\nA release of the stable.",
"title": "Change log" "title": "Change log"
}, },
{ {
"location": "/changelog/index.html#094-may-5-2018", "location": "/changelog/index.html#094-may-5-2018",
"text": "Supports AutoConnectConfig::autoReconnect option, it will scan the WLAN when it can not connect to the default SSID, apply the applicable credentials if it is saved, and try reconnecting.", "text": "Automatically focus passphrase after selecting SSID with Configure New AP. Supports AutoConnectConfig::autoReconnect option, it will scan the WLAN when it can not connect to the default SSID, apply the applicable credentials if it is saved, and try reconnecting.",
"title": "[0.9.4] May 5, 2018."
},
{
"location": "/changelog/index.html#094-april-22-2018",
"text": "Automatically focus passphrase after selecting SSID with Configure New AP.",
"title": "[0.9.4] May 5, 2018." "title": "[0.9.4] May 5, 2018."
}, },
{ {

@ -141,8 +141,8 @@ bool AutoConnect::begin(const char* ssid, const char* passphrase, unsigned long
AC_DBG("SoftAP %s/%s CH(%d) H(%d) IP:%s\n", _apConfig.apid.c_str(), _apConfig.psk.c_str(), _apConfig.channel, _apConfig.hidden, WiFi.softAPIP().toString().c_str()); AC_DBG("SoftAP %s/%s CH(%d) H(%d) IP:%s\n", _apConfig.apid.c_str(), _apConfig.psk.c_str(), _apConfig.channel, _apConfig.hidden, WiFi.softAPIP().toString().c_str());
// Fork to the exit routine that starts captive portal. // Fork to the exit routine that starts captive portal.
cs = _onDetectExit ? _onDetectExit(_currentHostIP) : true; cs = _onDetectExit ? _onDetectExit(_currentHostIP) : true;
// Start captive portal without cancellation by DetectExit. // Start captive portal without cancellation by DetectExit.
if (cs) { if (cs) {
// Prepare for redirecting captive portal detection. // Prepare for redirecting captive portal detection.

Loading…
Cancel
Save