User's Manual

Table Of Contents
iChip Embedded Web Server
AT+i Programmer‘s Manual Version 8.32 27-6
For example, to display the current value of the headline web parameter, enter
~headline~ anywhere on the page, as in the following example:
<HTML>
<HEAD>
<TITLE>SAMPLE PAGE</TITLE>
</HEAD>
<BODY>
<h1>~headline~</h1>
</BODY>
</HTML>
When serving this home page, iChip‘s web server replaces the ~headline~ string in the
served page with the current value of that parameter.
For example, if the host issues:
AT+iheadline=”Hello world”
a browser pointing to iChip‘s
URL address will display the
image as seen on the right.
To update iChip configuration
parameters via the web page,
simply use iChip‘s parameter
names (excluding the AT+i prefix)
in an HTML form.
For example:
<HTML>
<HEAD>
<TITLE>SAMPLE PAGE</TITLE>
</HEAD>
<BODY>
<FORM METHOD=’GET’ ACTION=’’>
Dial To:<INPUT type=’text’ name=’ISP1’ value=’~ISP1~’>
<input type='submit' size='8' value='Submit'>
</FORM>
</BODY>
</HTML>
Note that the variable name is used in the NAME field, while ~<parameter name>~ is
used to display the current value.
After activating SUBMIT, the browser issues a GET command to iChip‘s web server that
includes the parameter‘s name and the new value entered in the form. The page is then
served to the browser again with the updated values.