
WiFly GSX
www.rovingnetworks.com
WiFlyGSX-um 9/16/2010
809 University Avenue •Los Gatos, CA 95032 • Tel (408) 395-6539 •info@RovingNetworks.com
~ 2 ~
1. Overview ...................................................................................................................................................4
2. Hardware Interface ....................................................................................................................................6
2.1. Power ................................................................................................................................................6
2.2. Reset..................................................................................................................................................6
2.3. UART................................................................................................................................................6
2.4. Status Indictors .................................................................................................................................7
3. Configuration.............................................................................................................................................7
3.1. Entering Command Mode.................................................................................................................7
4. WiFly Command Reference ....................................................................................................................10
4.1. Command Syntax............................................................................................................................10
4.2. Command Organization..................................................................................................................10
5. SET Commands.......................................................................................................................................11
5.1. Adhoc Parameters ...........................................................................................................................11
5.2. Broadcast Parameters......................................................................................................................11
5.3. COMM Parameters .........................................................................................................................12
5.4. DNS Parameters..............................................................................................................................13
5.5. FTP Parameters...............................................................................................................................13
5.6. IP Parameters ..................................................................................................................................14
5.7. Optional Parameters........................................................................................................................16
5.8. System Parameters..........................................................................................................................17
5.9. Time Server Parameters..................................................................................................................17
5.10. UART Parameters...........................................................................................................................18
5.11. WLAN Parameters..........................................................................................................................19
6. Get Commands ........................................................................................................................................23
7. Status Commands ....................................................................................................................................23
8. Action Commands...................................................................................................................................24
9. File IO Commands ..................................................................................................................................26
10. Advanced features and Settings ...........................................................................................................27
10.1. System Timers and Auto Connect Timers......................................................................................28
Opening a TCP Connection:........................................................................................................................30
10.2. Wake on Sensor Input.....................................................................................................................31
10.3. Wake on UART ..............................................................................................................................31
10.5. Setting GPIO direction, Alternate Functions and Disabling LEDs ................................................33
10.6. Setting Debug Print levels ..............................................................................................................36
10.7. Using the Real Time Clock Function .............................................................................................36
10.8. Time Stamping Packets ..................................................................................................................37
11. Sending data using UDP .................................................................................................................38
11.1. Overview.........................................................................................................................................38
11.2. UDP Auto Pairing...........................................................................................................................39
11.3. UDP Retry.......................................................................................................................................39
11.4. Using the UDP Broadcast function.................................................................................................39
12. Joining Networks and Making Connections ........................................................................................41
12.1. Associate with a network access point ...........................................................................................41
12.2. Making Connections .......................................................................................................................42
12.3. Setting up Automatic Connections .................................................................................................42