Skip to content

Commit

Permalink
Fixed a bug in the example for the onDetect
Browse files Browse the repository at this point in the history
  • Loading branch information
Hieromon committed Apr 6, 2021
1 parent e980186 commit 94fa1d7
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 40 deletions.
2 changes: 1 addition & 1 deletion docs/adcpcontrol.html
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,7 @@ <h2 id="captive-portal-start-detection">Captive portal start detection<a class="

<span style="background-color: #49483e"><span style="color: #66d9ef">bool</span> <span style="color: #a6e22e">startCP</span><span style="color: #f8f8f2">(IPAddress</span><span style="color: #f92672">&amp;</span> <span style="color: #f8f8f2">ip)</span> <span style="color: #f8f8f2">{</span>
</span> <span style="color: #f8f8f2">digitalWrite(BUILTIN_LED,</span> <span style="color: #f8f8f2">HIGH);</span>
<span style="color: #f8f8f2">Serial.println(</span><span style="color: #e6db74">&quot;C.P. started, IP:&quot;</span> <span style="color: #f92672">+</span> <span style="color: #f8f8f2">WiFi.localIP().toString());</span>
<span style="color: #f8f8f2">Serial.println(</span><span style="color: #e6db74">&quot;C.P. started, IP:&quot;</span> <span style="color: #f92672">+</span> <span style="color: #f8f8f2">ip.toString());</span>
<span style="color: #66d9ef">return</span> <span style="color: #f8f8f2">true;</span>
<span style="color: #f8f8f2">}</span>

Expand Down
2 changes: 1 addition & 1 deletion docs/search/search_index.json

Large diffs are not rendered by default.

74 changes: 37 additions & 37 deletions docs/sitemap.xml
Original file line number Diff line number Diff line change
@@ -1,151 +1,151 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><url>
<loc>https://Hieromon.github.io/AutoConnect/index.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/gettingstarted.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/menu.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/basicusage.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/advancedusage.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/adconnection.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/adcpcontrol.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/adnetwork.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/adauthentication.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/adcredential.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/adexterior.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/adothers.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/acintro.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/acelements.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/acjson.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/achandling.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/otaupdate.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/otabrowser.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/otaserver.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/api.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/apiaux.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/apiconfig.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/apielements.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/apiupdate.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/apiextra.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/howtoembed.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/datatips.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/menuize.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/wojson.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/lsbegin.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/credit.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/acupload.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/colorized.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/changelabel.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/faq.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/changelog.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>https://Hieromon.github.io/AutoConnect/license.html</loc>
<lastmod>2021-03-23</lastmod>
<lastmod>2021-04-06</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>
Binary file modified docs/sitemap.xml.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion mkdocs/adcpcontrol.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ AutoConnect Portal;

bool startCP(IPAddress& ip) {
digitalWrite(BUILTIN_LED, HIGH);
Serial.println("C.P. started, IP:" + WiFi.localIP().toString());
Serial.println("C.P. started, IP:" + ip.toString());
return true;
}

Expand Down

0 comments on commit 94fa1d7

Please sign in to comment.