User manual
WiFly GSX/EZX
www.rovingnetworks.com WiFly-RN-UM 11/9/2011
809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • info@RovingNetworks.com
~ 56 ~
13. Using HTML client feature
The WiFly GSX module has a built in HTML client. When enabled, the WiFly GSX module is capable of
getting or posting data to a web server. Using the HTML client, it is now possible to post serial and/or
sensor data to the host web server. This feature make is possible to provide Wi-Fi capabilities to
applications such as GPS units, remote sensors, weather station, etc.
Example: User wants to retrieve data from web server with this format:
http://www.webserver.com/ob.php?obvar=WEATHER
Settings:
set ip proto 18 //enable html client
set dns name www.webserver.com //name of your webserver
set ip address 0 // so WiFly will use DNS
set ip remote 80 // standard webserver port
set com remote 0 // turn off the REMOTE string so it does not interfere with the post
To make the connection the command would be:
open
or inline you can send open www.webserver.com 80
The user’s microprocessor should write to the uart:
GET /ob.php?obvar=WEATHER \n\n
Where the \n is the LINEFEED character decimal 10 or hex 0xa.Two linefeeds are required so the web
server knows the page is complete.