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
~ 21 ~
To configure GPIO as outputs, use the set sys mask <value> command.
For Example, to configure power-up states of GPIO8 (output by default)
the commands are:
set sys value 0x0100 //sets GPIO8 HIGH upon power-up
set sys value 0x0000 //sets GPIO8 LOW upon power-up
NOTE: GPIOs 4, 5 and 6 are used by firmware to blink status LEDs. To
set default power up states for these GPIOs, their use by the firmware has
to be disabled first using the set sys iofunc 0x7 command.
set sys wake <secs> sets the auto wake timer. The wake timer is the number of seconds after
which the WiFly module will wake from sleep state. Setting value=0
disables. See section on using system timers for more details.
5.9. Time Server Parameters
set time address <addr> sets the time server address. (sNTP servers)
set time port <num> sets the time server port number. Defaults to 123, which is almost always
the sNTP server port.
set time enable <value> Enable or disable fetching time from the specified sNTP time server.
Default=0= disabled. A value or 1 gets time only once on power up. Any
value > 1 gets time continuously every <value> minutes.
set time raw <value> Enables setting the RTC raw value from the console. This command sets
the RTC in seconds which ticks at 32768 Hz.
5.10. UART Parameters
set uart baud <rate> set the UART baud rate. Valid settings are {2400, 4800, 9600, 19200,
38400, 57600, 115200, 230400, 460800, 921600}.
Example: “set u b 9600” sets the baud rate to 9600 baud.
NOTE: the RS232 interface on the RN-134 does not work above 230400