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
~ 68 ~
16.2. Launching the WPS application
Once the module is updated to version 2.28 (or later) and the WPS App is installed, there are two modes of
invoking the WPS function:
1. From the console, use the “wps” command
2. By using the ADHOC/factory reset GPIO 9:
In this mode, the WPS app is invoked when GPIO goes from LOW to HIGH. This can be achieved on
the RN-134 and RN-174 boards by installing and removing the Adhoc/factory reset jumper.
Prior to using this mode, the WPS function on GPIO9 must be enabled. WPS on GPIO9 is disabled by
default to avoid accidental invoking of the WPS function. To enable WPS on GPIO9, issue the
“set system trigger 0x10” command.
NOTE #1: When the WPS app exists, it will reboot the module to associate with the WPS enabled AP.
If at this time, GPIO9 is HIGH, the module will boot in adhoc mode. Care must be taken to drive GPIO9
LOW before the module reboots. A good indicator is the Red LED on the RN-134 and RN-174 boards.
When it is flashing, the module is scanning for WPS enabled AP. This is good time to drive GPIO9
LOW.
NOTE #2: By default, the WPS code will print out messages on the UART as it scans channels, detect
APs and tires to complete WPS. These messages can be disabled using the “set sys print 0” command.
16.3. Status LEDs during WPS process:
In WPS mode, the Red and Yellow LEDs blink as follows:
Red LED: Flashes while module is scanning for WPS enabled APs
Yellow LED: If a WPS enabled AP is found, the Yellow LED will turn SOLID while negotiation is in
process. Once the process is successful, the WPS app will quit and the module will reboot. If the module
is set to standard functions of GPIO (not alternate functions of GPIO4), the Green LED will start
blinking at once per second. If alternate function of GPIO4 is enabled, the Green LED will be HIGH.