User's Manual

Table Of Contents
iChip Embedded Web Server
AT+i Programmer‘s Manual Version 8.32 27-5
Parameter Tag values can be changed and submitted from the browser end using HTML
forms. iChip stores the updated values and responds appropriately to host AT+i parameter
query commands. Thus, the host can poll specific parameters for value changes. Status
Report 7 (AT+iRP7) can be used to facilitate polling on all application web parameters.
RP7 returns a bitmap result, where bit 10 is set to ‗1‘ if one or more application web
parameters have been remotely changed. The iChip DATA_RDY signal is an associated
hardware signal that can be used to generate an interrupt on the host CPU when new data
has been buffered in iChip. The ISR can issue an RP7 to determine if the new data is a
result of an application web parameter change.
The AT+iWNXT command can be issued to scan through the application web parameters
that have been remotely updated and not yet retrieved by the application.
The iChip application site is located at:
HTTP://<iChip_IP_Address>/
27.8 Website Creation, Packing, and Uploading
Device manufacturers can design their own embedded website using any typical web
authoring tool. A website can include one or more files residing in a dedicated file
directory structure on the designer‘s PC. The topmost directory of this structure is
referred to as the website root directory. The root directory must contain an HTML page
named index.htm, which serves as the default home page.
Before downloading the website to an iChip device, the entire website needs to be
packed. In order to pack the site into an uploadable image file, the designer must run
Connect One‘s web packing utility and specify the root directory of the site. The utility
packs all files in the root directory and its subfolders in a format suitable for iChip. If the
site contains Parameter Tags, the user is prompted to enter a maximum value length for
each Parameter Tag. Any Parameter Tag specified with a zero length value will not be
included in the resulting packed file. After the user has entered all parameters‘ max value
length, the user is prompted to specify a destination for the packed file.
The following restrictions apply when creating the packed website:
The length of a single Parameter Tag must not exceed 256 characters.
The sum of all Parameter Tags‘ value lengths must not exceed 8K.
The total packed file must not exceed 64K.
To take effect, the packed website file needs to be uploaded to iChip. This is done
through iChip‘s configuration website over the Internet.
27.9 Manipulating Variables in the Application Website
The application website is composed of HTML or WAP files, which may contain links to
internal or external websites, Java Scripts, VB scripts, graphic files, and more (See list of
supported file types). Using Parameter Tags, the page can also be used to dynamically
display and update values of iChip‘s configuration parameters and device-specific
Parameter Tags in the manner described above.