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
~ 2 ~
Table of Contents
1. Introduction ............................................................................................................................................... 4
2. Overview ................................................................................................................................................... 4
3. Configuration ............................................................................................................................................. 6
3.1. Entering Command Mode ................................................................................................................. 6
3.2. Remote configuration using ADHOC mode ..................................................................................... 7
4. WiFly Command Reference ...................................................................................................................... 9
4.1. Command Syntax .............................................................................................................................. 9
4.2. Command Organization .................................................................................................................... 9
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 ........................................................................................................................ 17
5.8. System Parameters .......................................................................................................................... 18
5.9. Time Server Parameters .................................................................................................................. 21
5.10. UART Parameters ........................................................................................................................... 21
5.11. WLAN Parameters .......................................................................................................................... 24
5.12. Sensor Parameters ........................................................................................................................... 28
6. Get Commands ........................................................................................................................................ 29
7. Status Commands .................................................................................................................................... 30
8. Action Commands ................................................................................................................................... 31
9. File IO Commands .................................................................................................................................. 33
10. Advanced features and Settings ........................................................................................................... 34
10.1. System Timers and Auto Connect Timers ...................................................................................... 35
Opening a TCP Connection: ........................................................................................................................ 37
10.2. Wake on Sensor Input ..................................................................................................................... 38
10.3. Wake on UART .............................................................................................................................. 39
10.4. UART Receiver, RTS/CTS Hardware Flow Control ..................................................................... 39
10.5. Setting GPIO direction, Alternate Functions and Disabling LEDs ................................................ 40
10.6. Setting Debug Print levels .............................................................................................................. 44
10.7. Using the Real Time Clock Function ............................................................................................. 47
10.8. Time Stamping Packets .................................................................................................................. 48
11. Sending data using UDP ................................................................................................................. 49
11.1. Overview ......................................................................................................................................... 49
11.2. UDP Auto Pairing ........................................................................................................................... 50
11.3. UDP Retry ....................................................................................................................................... 50
11.4. Using the UDP Broadcast function ................................................................................................. 50
12. Joining Networks and Making Connections ........................................................................................ 52
12.1. Associate with a network access point ........................................................................................... 52
12.2. Making Connections ....................................................................................................................... 53
12.3. Setting up Automatic Connections ................................................................................................. 54