WiFly GSX
www.rovingnetworks.com
WiFlyGSX-um 9/16/2010
809 University Avenue
•
Los Gatos, CA 95032
•
Tel (408) 395-6539
•
~ 36 ~
On the remote host run your application or other software that opens and listens on the <port>.
Connect GPIO-5 to your embedded processor or other control signal. When GPIO-5 is driven high a
connection will be attempted. When drive low the connection will be closed.
NOTE: DO not to drive the GPIO with more than 3.3 VDC or permanent damage to the module will
occur.
If the connection to the remote host is successful GPIO-6 will go high. If the COMM OPEN and REMOTE
strings are set you should see the *OPEN* messages on the UART and the *HELLO* at the remote host.
10.6.
Setting Debug Print levels
There are a number of print functions that can be enabled to assist in debugging the operation and status of
the module. The following command is used to control these printouts.
set sys printlvl <value>
sets additional print functions. Value is a bit-mapped register that controls which
printout messages are sent to the UART.
Print level
Description
1
All status messages
2
only critical NETWORK AP connection level status is output, "Associated!" Or
"Disconnect from <ssid>"
4
DHCP and IP address status information Once the configuration has been checked; this
can then be turned off so that these messages do not interfere with the data.
10.7.
Using the Real Time Clock Function
The real time clock in the module keeps track of the number of seconds since the module was powered on
and the actual time when synchronized with the sNTP time server. By default the module keeps track of up
time but does not synchronize with the time server since this requires being associated with a network that
can access the sNTP server.
The default sNTP server is at
ADDR=129.6.15.28:123
ZONE=7
(GMT -7)
Use the
show time
command to see the current time and uptime
<2.20>
show t
Time=08:43:10
UpTime=10 s