Download User Manual - Seeed Studio
Transcript
WiFly GSX/EZX www.rovingnetworks.com WiFly-RN-UM 5/4/2011 Table of Contents 1. 2. 3. Introduction ...............................................................................................................................................4 Overview ...................................................................................................................................................4 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 ........................................................................................................................16 5.8. System Parameters ..........................................................................................................................17 5.9. Time Server Parameters ..................................................................................................................20 5.10. UART Parameters ...........................................................................................................................20 5.11. WLAN Parameters ..........................................................................................................................23 5.12. Sensor Parameters ...........................................................................................................................27 6. Get Commands ........................................................................................................................................28 7. Status Commands ....................................................................................................................................29 8. Action Commands ...................................................................................................................................30 9. File IO Commands ..................................................................................................................................32 10. Advanced features and Settings ...........................................................................................................33 10.1. System Timers and Auto Connect Timers ......................................................................................34 Opening a TCP Connection:........................................................................................................................36 10.2. Wake on Sensor Input .....................................................................................................................37 10.3. Wake on UART ..............................................................................................................................38 10.4. UART Receiver, RTS/CTS Hardware Flow Control .....................................................................38 10.5. Setting GPIO direction, Alternate Functions and Disabling LEDs ................................................39 10.6. Setting Debug Print levels ..............................................................................................................43 10.7. Using the Real Time Clock Function .............................................................................................46 10.8. Time Stamping Packets ..................................................................................................................47 11. Sending data using UDP .................................................................................................................48 11.1. Overview .........................................................................................................................................48 11.2. UDP Auto Pairing ...........................................................................................................................49 11.3. UDP Retry.......................................................................................................................................49 11.4. Using the UDP Broadcast function .................................................................................................49 12. Joining Networks and Making Connections ........................................................................................51 12.1. Associate with a network access point ...........................................................................................51 12.2. Making Connections .......................................................................................................................52 12.3. Setting up Automatic Connections .................................................................................................53 809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • [email protected] ~2~