WiFly GSX
www.rovingnetworks.com
WiFlyGSX-um 9/16/2010
809 University Avenue
•
Los Gatos, CA 95032
•
Tel (408) 395-6539
•
~ 37 ~
Time can be set by using the
time
command
<2. 20>
show t
Time NOT SET
UpTime=8 s
<2. 20>
time
<2. 20>
show t
Time=08:51:31
UpTime=15 s
NOTE: the WiFly module must by successfully associated with a network for the module to contact the
sNTP server.
Alternatively, the module can be configured to get the time whenever it powers up by setting the time
enable to 1. Any value greater than 1 gets time continuously every <value> minutes.
To configure the Wifly module to get time upon power up
<2. 20>
set time enable 1
AOK
<2. 20>
get time
ENA=1
ADDR=129.6.15.28:123
ZONE=7
To view a complete listing of the time variable use the command
<2. 20>
show t t
Time=09:02:10
UpTime=653 s
Powerup=1792 s
RTC=7753271426558 ms
timera=66885
10.8.
Time Stamping Packets
This feature can be used to automatically append 8 bytes to a TCP or UDP packet.
set ip flags 0x87
(enables timestamp and keeps other default settings )
TIME STAMP (MSB to LSB )
User’s TCP or UDP packet Data
63-56
55-48
47-40
39-32
31-24
23-16
15-8
7-0
The 8 bytes represents the 64 bit raw value of the Real Time Clock register. The data is appended