Datasheet
Flyport Wi-Fi and Ethernet Programmer's guide framework 2.3 (rev 1.0) www.openpicus.com
• images/barul.gif
• images/bg.gif
• images/h3bg.gif
• images/intro.jpg
• images/leftintrobg.gif
The browser rendering of the example web page is shown below:
The images are not necessary, but are used to make a better looking webpage; “header.inc”,
“footer.inc” and “style.css” are used by “index.htm”.
In status.xml the dynamic variable <testing>~test~</testing> is associated to “testing” id in the
index.htm code below:
<p>String:<br />
<span id="testing">?</span></p>
The value is loaded and updated every 10ms, so when webpage loads the “testing” span, it
automatically loads the dynamic variable value ~test~ that is updated by the function:
// Update string value
document.getElementById('testing').innerHTML =
getXMLValue(xmlData, 'testing');
This specific function is part of the file mchp.js script, and is responsible for all data updates. It gets
the latest value of the dynamic variable ‘testing’ by accessing the status.xml file.
64










