www.rovingnetworks.com
Version 1.0r 9/21/2012
25
RN -W IFLYCR -U M
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
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
set time raw <
value
>
This parameter setting allows you to set the RTC raw value from the console, where <
value
> is a decimal number in
seconds. The RTC ticks at 32,768 Hz.
Default:
None
Example:
set time raw 1
// Set to 1 second
set uart baud <
value
>
This command sets the UART baud rate, where <
value
> is 2400, 4800, 9600, 19200, 38400, 57600, 115200,
230400, 460800, or 921600.
NOTE:
The RN-134 evaluation board’s RS-232 interface cannot exceed 230,400 baud.
Default:
9600
Example:
set uart baud 19200
// Sets the baud rate to 19,200 baud
set uart flow <
value
>
This command sets the flow control mode and parity, where <
value
> is a hex number. The setting is in the upper nibble of
the hardware flow control setting. The default is flow control disabled with parity set to none/no parity.
NOTE:
Once flow control is enabled, it is important to drive the CTS pin properly (i.e., active-low enabled). If CTS
is high, the module does NOT send data through the UART and further configuration in command mode
is problematic because no response is received.
Default:
0
Example:
set uart flow 0x21
// Even parity with flow control
set uart flow 0x20
// Even parity without flow
set uart flow 0x31
// Odd parity with flow control
set uart flow 0x30
// Odd parity without flow control