You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
AutoConnect/docs/images/fsbrowser_ba.svg

1029 lines
87 KiB

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="1274.7577"
height="890.88202"
viewBox="0 0 337.27964 235.71254"
version="1.1"
id="svg8"
inkscape:version="0.92.2 (5c3e80d, 2017-08-06)"
sodipodi:docname="fsbrowser_ba.svg">
<defs
id="defs2" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.7"
inkscape:cx="745.34102"
inkscape:cy="473.83375"
inkscape:document-units="px"
inkscape:current-layer="layer3"
showgrid="false"
inkscape:window-width="1920"
inkscape:window-height="1029"
inkscape:window-x="1272"
inkscape:window-y="-8"
inkscape:window-maximized="1"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:snap-global="false"
units="px" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="grid"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-3.0458242,-83.924968)"
sodipodi:insensitive="true">
<path
inkscape:connector-curvature="0"
d="M 4.0222719,90.747667 V 317.376 M 9.3139389,90.747667 V 317.376 M 14.605605,90.747667 V 317.376 M 19.897272,90.747667 V 317.376 M 25.188939,90.747667 V 317.376 M 30.480605,90.747667 V 317.376 M 35.772272,90.747667 V 317.376 M 41.063939,90.747667 V 317.376 M 46.355605,90.747667 V 317.376 M 51.647272,90.747667 V 317.376 M 56.938939,90.747667 V 317.376 M 62.230605,90.747667 V 317.376 M 67.522275,90.747667 V 317.376 M 72.813939,90.747667 V 317.376 M 78.105608,90.747667 V 317.376 M 83.397275,90.747667 V 317.376 M 88.688939,90.747667 V 317.376 M 93.980606,90.747667 V 317.376 M 99.272276,90.747667 V 317.376 M 104.56393,90.747667 V 317.376 M 109.85559,90.747667 V 317.376 M 115.14726,90.747667 V 317.376 M 120.43893,90.747667 V 317.376 M 125.73059,90.747667 V 317.376 M 131.02227,90.747667 V 317.376 M 136.31394,90.747667 V 317.376 M 141.6056,90.747667 V 317.376 M 146.89727,90.747667 V 317.376 M 152.18894,90.747667 V 317.376 M 157.4806,90.747667 V 317.376 M 162.77227,90.747667 V 317.376 M 4.0222719,90.747667 H 167.79056 M 4.0222719,96.039327 H 167.79056 M 4.0222719,101.331 H 167.79056 M 4.0222719,106.62267 H 167.79056 M 4.0222719,111.91433 H 167.79056 M 4.0222719,117.206 H 167.79056 M 4.0222719,122.49767 H 167.79056 M 4.0222719,127.78933 H 167.79056 M 4.0222719,133.081 H 167.79056 M 4.0222719,138.37267 H 167.79056 M 4.0222719,143.66433 H 167.79056 M 4.0222719,148.956 H 167.79056 M 4.0222719,154.24767 H 167.79056 M 4.0222719,159.53934 H 167.79056 M 4.0222719,164.831 H 167.79056 M 4.0222719,170.12267 H 167.79056 M 4.0222719,175.41434 H 167.79056 M 4.0222719,180.706 H 167.79056 M 4.0222719,185.99767 H 167.79056 M 4.0222719,191.28934 H 167.79056 M 4.0222719,196.581 H 167.79056 M 4.0222719,201.87267 H 167.79056 M 4.0222719,207.16434 H 167.79056 M 4.0222719,212.456 H 167.79056 M 4.0222719,217.74767 H 167.79056 M 4.0222719,223.03934 H 167.79056 M 4.0222719,228.331 H 167.79056 M 4.0222719,233.62267 H 167.79056 M 4.0222719,238.91434 H 167.79056 M 4.0222719,244.206 H 167.79056 M 4.0222719,249.49767 H 167.79056 M 4.0222719,254.78934 H 167.79056 M 4.0222719,260.081 H 167.79056 M 4.0222719,265.37267 H 167.79056 M 4.0222719,270.66434 H 167.79056 M 4.0222719,275.956 H 167.79056 M 4.0222719,281.24767 H 167.79056 M 4.0222719,286.53934 H 167.79056 M 4.0222719,291.831 H 167.79056 M 4.0222719,297.12267 H 167.79056 M 4.0222719,302.41434 H 167.79056 M 4.0222719,307.706 H 167.79056 M 4.0222719,312.99767 H 167.79056"
style="fill:none;stroke:#000000;stroke-width:0.0264583px"
id="path3328" />
<path
inkscape:connector-curvature="0"
d="M 176.55719,90.747667 V 317.376 M 181.84886,90.747667 V 317.376 M 187.14052,90.747667 V 317.376 M 192.43219,90.747667 V 317.376 M 197.72386,90.747667 V 317.376 M 203.01552,90.747667 V 317.376 M 208.30719,90.747667 V 317.376 M 213.59886,90.747667 V 317.376 M 218.89052,90.747667 V 317.376 M 224.18219,90.747667 V 317.376 M 229.47386,90.747667 V 317.376 M 234.76552,90.747667 V 317.376 M 240.05719,90.747667 V 317.376 M 245.34886,90.747667 V 317.376 M 250.64053,90.747667 V 317.376 M 255.93219,90.747667 V 317.376 M 261.22386,90.747667 V 317.376 M 266.51553,90.747667 V 317.376 M 271.8072,90.747667 V 317.376 M 277.09885,90.747667 V 317.376 M 282.39051,90.747667 V 317.376 M 287.68218,90.747667 V 317.376 M 292.97385,90.747667 V 317.376 M 298.26551,90.747667 V 317.376 M 303.55719,90.747667 V 317.376 M 308.84886,90.747667 V 317.376 M 314.14052,90.747667 V 317.376 M 319.43219,90.747667 V 317.376 M 324.72386,90.747667 V 317.376 M 330.01552,90.747667 V 317.376 M 335.30719,90.747667 V 317.376 m -158.75,-226.628333 h 163.76829 m -163.76829,5.29166 H 340.32548 M 176.55719,101.331 h 163.76829 m -163.76829,5.29167 h 163.76829 m -163.76829,5.29166 H 340.32548 M 176.55719,117.206 h 163.76829 m -163.76829,5.29167 h 163.76829 m -163.76829,5.29166 H 340.32548 M 176.55719,133.081 h 163.76829 m -163.76829,5.29167 h 163.76829 m -163.76829,5.29166 H 340.32548 M 176.55719,148.956 h 163.76829 m -163.76829,5.29167 h 163.76829 m -163.76829,5.29167 H 340.32548 M 176.55719,164.831 h 163.76829 m -163.76829,5.29167 h 163.76829 m -163.76829,5.29167 H 340.32548 M 176.55719,180.706 h 163.76829 m -163.76829,5.29167 h 163.76829 m -163.76829,5.29167 H 340.32548 M 176.55719,196.581 h 163.76829 m -163.76829,5.29167 h 163.76829 m -163.76829,5.29167 H 340.32548 M 176.55719,212.456 h 163.76829 m -163.76829,5.29167 h 163.76829 m -163.76829,5.29167 H 340.32548 M 176.55719,228.331 h 163.76829 m -163.76829,5.29167 h 163.76829 m -163.76829,5.29167 H 340.32548 M 176.55719,244.206 h 163.76829 m -163.76829,5.29167 h 163.76829 m -163.76829,5.29167 H 340.32548 M 176.55719,260.081 h 163.76829 m -163.76829,5.29167 h 163.76829 m -163.76829,5.29167 H 340.32548 M 176.55719,275.956 h 163.76829 m -163.76829,5.29167 h 163.76829 m -163.76829,5.29167 H 340.32548 M 176.55719,291.831 h 163.76829 m -163.76829,5.29167 h 163.76829 m -163.76829,5.29167 H 340.32548 M 176.55719,307.706 h 163.76829 m -163.76829,5.29167 h 163.76829"
style="fill:none;stroke:#000000;stroke-width:0.0264583px"
id="path3328-7" />
</g>
<g
inkscape:groupmode="layer"
id="layer3"
inkscape:label="caption"
transform="translate(0.96321857,6.8094692)"
sodipodi:insensitive="true">
<rect
style="opacity:0.73500001;vector-effect:none;fill:#99cc33;fill-opacity:1;stroke:none;stroke-width:0.13229166;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:stroke markers fill"
id="rect3391"
width="12.027128"
height="3.8754082"
x="-0.22822824"
y="129.77403"
rx="0.10748195"
ry="1.069078" />
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.88055563px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
x="-0.24567837"
y="-3.8422084"
id="text3363"><tspan
sodipodi:role="line"
id="tspan3361"
x="-0.24567837"
y="-3.8422084"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.88055563px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332">Original FSbrowser.ino (part of code)</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.88055563px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
x="171.75917"
y="-3.8213656"
id="text3363-3"><tspan
sodipodi:role="line"
id="tspan3361-1"
x="171.75917"
y="-3.8213656"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.88055563px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332">Modified FSbrowser.ino (part of code)</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:4.58611107px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#3366cc;fill-opacity:1;stroke:none;stroke-width:0.26458332"
x="87.36937"
y="14.514046"
id="text3385"><tspan
sodipodi:role="line"
id="tspan3383"
x="87.36937"
y="14.514046"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:4.58611107px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#3366cc;stroke-width:0.26458332">Insert for attaching the menu</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:9.9628458px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#3366cc;fill-opacity:1;stroke:none;stroke-width:0.26458335"
x="337.22998"
y="9.5149574"
id="text3389"
transform="scale(0.49402744,2.0241791)"><tspan
sodipodi:role="line"
id="tspan3387"
x="337.22998"
y="9.5149574"
style="fill:#3366cc;stroke-width:0.26458335">{</tspan></text>
<rect
style="opacity:0.73500001;vector-effect:none;fill:#99cc33;fill-opacity:1;stroke:none;stroke-width:0.13229166;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:stroke markers fill"
id="rect3391-4"
width="12.027128"
height="3.8754082"
x="172.22743"
y="130.4422"
rx="0.10748195"
ry="1.069078" />
<rect
style="opacity:0.73500001;vector-effect:none;fill:#99cc33;fill-opacity:1;stroke:none;stroke-width:0.13229166;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:stroke markers fill"
id="rect3391-1"
width="12.027128"
height="3.8754082"
x="-0.96321857"
y="222.91747"
rx="0.10748195"
ry="1.069078" />
<rect
style="opacity:0.73500001;vector-effect:none;fill:#99cc33;fill-opacity:1;stroke:none;stroke-width:0.13229166;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:stroke markers fill"
id="rect3391-1-9"
width="12.027128"
height="3.8754082"
x="171.6929"
y="224.52107"
rx="0.10748195"
ry="1.069078" />
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:4.58611107px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#3366cc;fill-opacity:1;stroke:none;stroke-width:0.26458332"
x="87.36937"
y="212.69356"
id="text3385-2"><tspan
sodipodi:role="line"
id="tspan3383-9"
x="87.36937"
y="212.69356"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:4.58611107px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#3366cc;stroke-width:0.26458332">Insert for attaching the menu</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:9.18645573px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#3366cc;fill-opacity:1;stroke:none;stroke-width:0.26458335"
x="310.9501"
y="115.85413"
id="text3389-3"
transform="scale(0.53578004,1.8664376)"><tspan
sodipodi:role="line"
id="tspan3387-0"
x="310.9501"
y="115.85413"
style="fill:#3366cc;stroke-width:0.26458335">{</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:4.58611107px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#3366cc;fill-opacity:1;stroke:none;stroke-width:0.26458332"
x="100.55449"
y="133.65428"
id="text3385-2-3"><tspan
sodipodi:role="line"
id="tspan3383-9-2"
x="100.55449"
y="133.65428"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:4.58611107px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#99cc33;stroke-width:0.26458332">Replace for AutoConnect</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:4.58611107px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#3366cc;fill-opacity:1;stroke:none;stroke-width:0.26458332"
x="100.15359"
y="227.98047"
id="text3385-2-3-9"><tspan
sodipodi:role="line"
id="tspan3383-9-2-2"
x="100.15359"
y="227.98047"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:4.58611107px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#99cc33;stroke-width:0.26458332">Replace for AutoConnect</tspan></text>
<path
sodipodi:type="star"
style="opacity:0.73500001;vector-effect:none;fill:#99cc33;fill-opacity:1;stroke:none;stroke-width:0.13229166;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:stroke markers fill"
id="path3498"
sodipodi:sides="3"
sodipodi:cx="167.41656"
sodipodi:cy="132.3799"
sodipodi:r1="2.6860254"
sodipodi:r2="1.3430127"
sodipodi:arg1="0"
sodipodi:arg2="1.0471976"
inkscape:flatsided="true"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 170.10259,132.3799 -4.02904,2.32616 v -4.65233 z"
inkscape:transform-center-x="-0.67150475"
inkscape:transform-center-y="-1.4134822e-006" />
<path
sodipodi:type="star"
style="opacity:0.73500001;vector-effect:none;fill:#99cc33;fill-opacity:1;stroke:none;stroke-width:0.13229166;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:stroke markers fill"
id="path3498-0"
sodipodi:sides="3"
sodipodi:cx="167.41656"
sodipodi:cy="226.51001"
sodipodi:r1="2.6860254"
sodipodi:r2="1.3430127"
sodipodi:arg1="0"
sodipodi:arg2="1.0471976"
inkscape:flatsided="true"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 170.10259,226.51001 -4.02904,2.32617 v -4.65234 z"
inkscape:transform-center-x="-0.67150475"
inkscape:transform-center-y="-1.4134822e-006" />
</g>
<g
inkscape:groupmode="layer"
id="layer2"
inkscape:label="code"
transform="translate(-3.0458242,-83.924968)"
sodipodi:insensitive="true">
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
x="51.499252"
y="81.459076"
id="text844"><tspan
sodipodi:role="line"
id="tspan842"
x="51.499252"
y="84.355728"
style="stroke-width:0.26458332" /></text>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
x="4.0090427"
y="93.042824"
id="text924"><tspan
sodipodi:role="line"
id="tspan922"
x="4.0090427"
y="93.042824"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"><tspan
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#ff6600"
id="tspan3244">ESP8266WebServer</tspan> server(80);</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="97.153351"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan3224" /><tspan
sodipodi:role="line"
x="4.0090427"
y="101.1221"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan3226" /><tspan
sodipodi:role="line"
x="4.0090427"
y="105.09085"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan3228" /><tspan
sodipodi:role="line"
x="4.0090427"
y="109.0596"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan3230" /><tspan
sodipodi:role="line"
x="4.0090427"
y="113.02835"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan3232" /><tspan
sodipodi:role="line"
x="4.0090427"
y="116.9971"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#808080;stroke-width:0.26458332"
id="tspan3234">//holds the current upload</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="121.10763"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan3236"><tspan
style="fill:#ff6600"
id="tspan3306">File</tspan> fsUploadFile;</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="125.21815"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan3238" /><tspan
sodipodi:role="line"
x="4.0090427"
y="129.1869"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan3240" /><tspan
sodipodi:role="line"
x="4.0090427"
y="133.15565"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#808080;stroke-width:0.26458332"
id="tspan3242">//SERVER INIT</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="137.26619"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#808080;stroke-width:0.26458332"
id="tspan926">//list directory</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="141.37671"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan928">server.<tspan
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#ff6600"
id="tspan1002">on</tspan>(&quot;<tspan
style="fill:#003399"
id="tspan1004">/list</tspan>&quot;, <tspan
style="fill:#3366cc"
id="tspan1006">HTTP_GET</tspan>, handleFileList);</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="145.48724"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#808080;stroke-width:0.26458332"
id="tspan930">//load editor</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="149.59776"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan932">server.<tspan
style="fill:#ff6600"
id="tspan1020">on</tspan>(&quot;/edit&quot;, <tspan
style="fill:#3366cc"
id="tspan1010">HTTP_GET</tspan>, []() {</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="153.7083"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan934"> if (!handleFileRead(&quot;<tspan
style="fill:#003399"
id="tspan1012">/edit.htm</tspan>&quot;)) {</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="157.81883"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan936"> server.<tspan
style="fill:#ff6600"
id="tspan1018">send</tspan>(404, &quot;<tspan
style="fill:#003399"
id="tspan1016">text/plain</tspan>&quot;, &quot;<tspan
style="fill:#003399"
id="tspan1014">FileNotFound</tspan>&quot;);</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="161.92935"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan938"> }</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="166.03989"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan940">});</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="170.15041"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#808080;stroke-width:0.26458332"
id="tspan942">//create file</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="174.26094"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan944">server.<tspan
style="fill:#ff6600"
id="tspan1022">on</tspan>(&quot;<tspan
style="fill:#003399"
id="tspan1072">/edit</tspan>&quot;, <tspan
style="fill:#3366cc"
id="tspan1074">HTTP_PUT</tspan>, handleFileCreate);</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="178.37146"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#808080;stroke-width:0.26458332"
id="tspan946">//delete file</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="182.48199"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan948">server.<tspan
style="fill:#ff6600"
id="tspan1024">on</tspan>(&quot;<tspan
style="fill:#003399"
id="tspan1070">/edit</tspan>&quot;, <tspan
style="fill:#3366cc"
id="tspan1076">HTTP_DELETE</tspan>, handleFileDelete);</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="186.59253"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#808080;stroke-width:0.26458332"
id="tspan950">//first callback is called after the request has ended with all parsed arguments</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="190.70305"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#808080;stroke-width:0.26458332"
id="tspan952">//second callback handles file uploads at that location</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="194.81358"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan954">server.<tspan
style="fill:#ff6600"
id="tspan1026">on</tspan>(&quot;<tspan
style="fill:#003399"
id="tspan1068">/edit</tspan>&quot;, <tspan
style="fill:#3366cc"
id="tspan1066">HTTP_POST</tspan>, []() {</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="198.9241"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan956"> server.<tspan
style="fill:#ff6600"
id="tspan1028">send</tspan>(200, &quot;<tspan
style="fill:#003399"
id="tspan1064">text/plain</tspan>&quot;, &quot;&quot;);</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="203.03464"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan958">}, handleFileUpload);</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="207.14516"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan960" /><tspan
sodipodi:role="line"
x="4.0090427"
y="211.11391"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan3324" /><tspan
sodipodi:role="line"
x="4.0090427"
y="215.08266"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#808080;stroke-width:0.26458332"
id="tspan962">//called when the url is not defined here</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="219.19319"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#808080;stroke-width:0.26458332"
id="tspan964">//use it to load content from SPIFFS</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="223.30373"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan966">server.<tspan
style="fill:#ff6600"
id="tspan1030">onNotFound</tspan>([]() {</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="227.41425"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan968"> if (!handleFileRead(server.<tspan
style="fill:#ff6600"
id="tspan1032">uri</tspan>())) {</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="231.52478"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan970"> server.<tspan
style="fill:#ff6600"
id="tspan1034">send</tspan>(404, &quot;<tspan
style="fill:#003399"
id="tspan1060">text/plain</tspan>&quot;, &quot;<tspan
style="fill:#003399"
id="tspan1062">FileNotFound</tspan>&quot;);</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="235.6353"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan972"> }</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="239.74583"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan974">});</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="243.85635"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan976" /><tspan
sodipodi:role="line"
x="4.0090427"
y="247.8251"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#808080;stroke-width:0.26458332"
id="tspan978">//get heap status, analog input value and all GPIO statuses in one json call</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="251.93564"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan980">server.<tspan
style="fill:#ff6600"
id="tspan1036">on</tspan>(&quot;<tspan
style="fill:#003399"
id="tspan1038">/all</tspan>&quot;, <tspan
style="fill:#3366cc"
id="tspan1056">HTTP_GET</tspan>, []() {</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="256.04617"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan982"> String json = &quot;<tspan
style="fill:#003399"
id="tspan1040">{</tspan>&quot;;</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="260.15671"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan984"> json += &quot;<tspan
style="fill:#003399"
id="tspan1042">\&quot;heap\&quot;:</tspan>&quot; + String(<tspan
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#ff6600"
id="tspan1086">ESP</tspan>.<tspan
style="fill:#ff6600"
id="tspan1082">getFreeHeap</tspan>());</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="264.26721"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan986"> json += &quot;<tspan
style="fill:#003399"
id="tspan1044">, \&quot;analog\&quot;:</tspan>&quot; + String(<tspan
style="fill:#ff6600"
id="tspan1084">analogRead</tspan>(A0));</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="268.37775"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan988"> json += &quot;<tspan
style="fill:#003399"
id="tspan1046">, \&quot;gpio\&quot;:</tspan>&quot; + String((uint32_t)(((GPI | GPO) &amp; 0xFFFF) | ((GP16I &amp; 0x01) &lt;&lt; 16)));</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="272.48828"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan990"> json += &quot;<tspan
style="fill:#003399"
id="tspan1048">}</tspan>&quot;;</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="276.59882"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan992"> server.<tspan
style="fill:#ff6600"
id="tspan1050">send</tspan>(200, &quot;<tspan
style="fill:#003399"
id="tspan1052">text/json</tspan>&quot;, json);</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="280.70932"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan994"> json = String();</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="284.81985"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan996">});</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="288.93039"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2983" /><tspan
sodipodi:role="line"
x="4.0090427"
y="292.89914"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan3322" /><tspan
sodipodi:role="line"
x="4.0090427"
y="296.86789"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2992" /><tspan
sodipodi:role="line"
x="4.0090427"
y="300.83664"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2995" /><tspan
sodipodi:role="line"
x="4.0090427"
y="304.80539"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2998" /><tspan
sodipodi:role="line"
x="4.0090427"
y="308.77414"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan3001" /><tspan
sodipodi:role="line"
x="4.0090427"
y="312.74289"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan3222" /><tspan
sodipodi:role="line"
x="4.0090427"
y="316.71164"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan3004">server.<tspan
style="fill:#ff6600"
id="tspan1054">begin</tspan>();</tspan><tspan
sodipodi:role="line"
x="4.0090427"
y="320.82217"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan1000" /></text>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
x="176.54396"
y="93.042824"
id="text924-1"><tspan
sodipodi:role="line"
x="176.54396"
y="93.042824"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan998-8"><tspan
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#ff6600"
id="tspan3268">ESP8266WebServer</tspan> server(80);</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="97.153351"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#808080;stroke-width:0.26458332"
id="tspan3248">//Add below lines for AutoConnect.</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="101.26388"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan3250"><tspan
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#ff6600"
id="tspan3272">AutoConnect</tspan> portal(server);</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="105.3744"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan3252"><tspan
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#ff6600"
id="tspan3276">AutoConnectConfig</tspan> config;</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="109.48494"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan3254"><tspan
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#ff6600"
id="tspan3280">AutoConnectAux</tspan> FSBedit(&quot;<tspan
style="fill:#003399"
id="tspan3290">/edit</tspan>&quot;, &quot;<tspan
style="fill:#003399"
id="tspan3292">Edit</tspan>&quot;);</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="113.59547"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan3256"><tspan
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#ff6600"
id="tspan3284">AutoConnectAux</tspan> FSBlist(&quot;<tspan
style="fill:#003399"
id="tspan3294">/list?dir=\&quot;/\&quot;</tspan>&quot;, &quot;<tspan
style="fill:#003399"
id="tspan3296">List</tspan>&quot;);</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="117.70599"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#808080;stroke-width:0.26458332"
id="tspan3258">//holds the current upload</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="121.81652"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan3260"><tspan
style="fill:#ff6600"
id="tspan3288">File</tspan> fsUploadFile;</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="125.92705"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan3262" /><tspan
sodipodi:role="line"
x="176.54396"
y="129.8958"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan3264" /><tspan
sodipodi:role="line"
x="176.54396"
y="133.86455"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#808080;stroke-width:0.26458332"
id="tspan3266">//SERVER INIT</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="137.97508"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#808080;stroke-width:0.26458332"
id="tspan2872">//list directory</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="142.0856"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2874">server.<tspan
style="fill:#ff6600"
id="tspan3220">on</tspan>(&quot;/list&quot;, HTTP_GET, handleFileList);</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="146.19614"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#808080;stroke-width:0.26458332"
id="tspan2876">//load editor</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="150.30666"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2878">server.<tspan
style="fill:#ff6600"
id="tspan3216">on</tspan>(&quot;<tspan
style="fill:#003399"
id="tspan3214">/edit</tspan>&quot;, <tspan
style="fill:#3366cc"
id="tspan3212">HTTP_GET</tspan>, []() {</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="154.41719"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2880"> if (!handleFileRead(&quot;<tspan
style="fill:#003399"
id="tspan3206">/edit.htm</tspan>&quot;)) {</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="158.52771"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2882"> server.<tspan
style="fill:#ff6600"
id="tspan3218">send</tspan>(404, &quot;<tspan
style="fill:#003399"
id="tspan3208">text/plain</tspan>&quot;, &quot;<tspan
style="fill:#003399"
id="tspan3210">FileNotFound</tspan>&quot;);</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="162.63824"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2884"> }</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="166.74878"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2886">});</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="170.8593"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#808080;stroke-width:0.26458332"
id="tspan2888">//create file</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="174.96983"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2890">server.on(&quot;<tspan
style="fill:#003399"
id="tspan3202">/edit</tspan>&quot;, <tspan
style="fill:#3366cc"
id="tspan3200">HTTP_PUT</tspan>, handleFileCreate);</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="179.08035"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#808080;stroke-width:0.26458332"
id="tspan2892">//delete file</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="183.19089"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2894">server.on(&quot;<tspan
style="fill:#003399"
id="tspan3204">/edit</tspan>&quot;, <tspan
style="fill:#3366cc"
id="tspan3198">HTTP_DELETE</tspan>, handleFileDelete);</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="187.30141"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#808080;stroke-width:0.26458332"
id="tspan2896">//first callback is called after the request has ended with all parsed arguments</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="191.41194"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#808080;stroke-width:0.26458332"
id="tspan2898">//second callback handles file uploads at that location</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="195.52248"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2900">server.<tspan
style="fill:#ff6600"
id="tspan3190">on</tspan>(&quot;<tspan
style="fill:#003399"
id="tspan3192">/edit</tspan>&quot;, <tspan
style="fill:#3366cc"
id="tspan3196">HTTP_POST</tspan>, []() {</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="199.633"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2902"> server.<tspan
style="fill:#ff6600"
id="tspan3188">send</tspan>(200, &quot;<tspan
style="fill:#003399"
id="tspan3194">text/plain</tspan>&quot;, &quot;&quot;);</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="203.74353"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2904">}, handleFileUpload);</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="207.85405"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2906" /><tspan
sodipodi:role="line"
x="176.54396"
y="211.8228"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#808080;stroke-width:0.26458332"
id="tspan2908">//called when the url is not defined here</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="215.93333"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#808080;stroke-width:0.26458332"
id="tspan2910">//use it to load content from SPIFFS</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="220.04385"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#808080;stroke-width:0.26458332"
id="tspan2912">//Replacement as follows to make AutoConnect recognition.</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="224.15439"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2916">portal.<tspan
style="fill:#ff6600"
id="tspan3038">onNotFound</tspan>([](){</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="228.26492"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2918"> if(!handleFileRead(server.<tspan
style="fill:#ff6600"
id="tspan3142">uri</tspan>())) {</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="232.37544"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2920"> server.<tspan
style="fill:#ff6600"
id="tspan3144">send</tspan>(404, &quot;<tspan
style="fill:#003399"
id="tspan3146">text/plain</tspan>&quot;, &quot;<tspan
style="fill:#003399"
id="tspan3148">FileNotFound</tspan>&quot;);</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="236.48598"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan3034"> }</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="240.5965"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2922">});</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="244.70703"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2924" /><tspan
sodipodi:role="line"
x="176.54396"
y="248.67578"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#808080;stroke-width:0.26458332"
id="tspan2926">//get heap status, analog input value and all GPIO statuses in one json call</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="252.7863"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2928">server.<tspan
style="fill:#ff6600"
id="tspan3154">on</tspan>(&quot;<tspan
style="fill:#003399"
id="tspan3152">/all</tspan>&quot;, <tspan
style="fill:#3366cc"
id="tspan3150">HTTP_GET</tspan>, [](){</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="256.89682"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2930"> String json = &quot;<tspan
style="fill:#003399"
id="tspan3156">{</tspan>&quot;;</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="261.00735"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2932"> json += &quot;<tspan
style="fill:#003399"
id="tspan3158">\&quot;heap\&quot;:</tspan>&quot;+String(<tspan
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#ff6600"
id="tspan3160">ESP</tspan>.<tspan
style="fill:#ff6600"
id="tspan3164">getFreeHeap</tspan>());</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="265.11789"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2934"> json += &quot;<tspan
style="fill:#003399"
id="tspan3168">, \&quot;analog\&quot;:</tspan>&quot;+String(<tspan
style="fill:#ff6600"
id="tspan3166">analogRead</tspan>(A0));</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="269.22842"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2938"> json += &quot;<tspan
style="fill:#003399"
id="tspan3170">, \&quot;gpio\</tspan>&quot;:&quot;+String((uint32_t)(((GPI | GPO) &amp; 0xFFFF) | ((GP16I &amp; 0x01) &lt;&lt; 16)));</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="273.33896"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2946"> json += &quot;<tspan
style="fill:#003399"
id="tspan3172">}</tspan>&quot;;</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="277.44946"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2948"> server.<tspan
style="fill:#ff6600"
id="tspan3174">send</tspan>(200, &quot;<tspan
style="fill:#003399"
id="tspan3176">text/json</tspan>&quot;, json);</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="281.56"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2950"> json = String();</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="285.67053"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2952">});</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="289.78107"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2954" /><tspan
sodipodi:role="line"
x="176.54396"
y="293.74982"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#808080;stroke-width:0.26458332"
id="tspan2956">//Set menu title</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="297.86035"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2958">config.<tspan
style="fill:#ff6600"
id="tspan3178">title</tspan> = &quot;<tspan
style="fill:#003399"
id="tspan3180">FSBrowser</tspan>&quot;;</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="301.97086"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2960">portal.<tspan
style="fill:#ff6600"
id="tspan3182">config</tspan>(config);</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="306.08139"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#808080;stroke-width:0.26458332"
id="tspan2962">//Register AutoConnect menu</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="310.19193"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan2964">portal.<tspan
style="fill:#ff6600"
id="tspan3184">join</tspan>({ FSBedit, FSBlist });</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="314.30246"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#808080;stroke-width:0.26458332"
id="tspan2966">//Replacement as follows to make AutoConnect recognition.</tspan><tspan
sodipodi:role="line"
x="176.54396"
y="318.41296"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:Consolas;-inkscape-font-specification:'Consolas, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
id="tspan1000-6">portal.<tspan
style="fill:#ff6600"
id="tspan3186">begin</tspan>();</tspan></text>
<flowRoot
xml:space="preserve"
id="flowRoot3298"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none"
transform="matrix(0.26458333,0,0,0.26458333,0,87)"><flowRegion
id="flowRegion3300"><rect
id="rect3302"
width="177.78685"
height="44.446712"
x="265.6701"
y="261.3504" /></flowRegion><flowPara
id="flowPara3304" /></flowRoot> </g>
</svg>