User`s guide
RN-WIFLYCR-UG
www.rovingnetworks.com Version 1.2r 4/30/13 page 27
To configure GPIO pins as outputs, use the set sys mask <value> command.
Default: 0x0
Example: To configure power-up states of GPIO8 (output by default):
set sys value 0x0100 // Sets GPIO8 high upon power-up
set sys value 0x0000 // Sets GPIO8 low upon power-up
2.3.57 set sys wake <value>
This command sets the automatic wake timer, where <value> is a decimal number rep-
resenting the number of seconds after which the module wakes from sleep. Setting
<value> to 0 disables. See “System & Auto-Connect Timers” on page 57 for more
details.
Default: 0
Example: set sys wake 5 // The module wakes after 5 seconds
2.3.58 set time address <address>
This command sets the time server address, where <address> is an IP address in the
form <value>.<value>.<value>.<value> with <value> being a number between 0 and
255. This command applies to SNTP servers.
Default: 64.90.182.55
Example: set time address 208.109.78.52
// Sets the time server address as
// 208.109.78.52
2.3.59 set time port <value>
This command sets the time server port number, where <value> is a decimal number.
123, the default, is typically the SNTP server port.
Default: 123
Example: set time port 1052 // Sets the time server port to 1052
2.3.60 set time enable <value>
This parameter tells the module how often to fetch the time from the specified SNTP
time server, where <value> is a decimal number representing minutes. The default (0)
disables time fetching. If <value> is 1, the module fetches the time only once on power
up. If <value> is greater than 1, the modules fetches the time every <value> minutes.
Default: 0
Example: set time enable 5 // The module fetches the time every 5
// minutes
Note: GPIO pins 4, 5, and 6 are used by the firmware to blink the status LEDs. To
set the default power up states for these GPIO pins, you must first disable
their use by the firmware using the set sys iofunc 0x7 command.