User manual

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