User manual
!
www.rovingnetworks.com Version 1.0r 9/21/2012 26
RN-WIFLYCR-UM
set uart instant <value>
This command immediately changes the baud rate, where <value> is 2400, 4800, 9600, 19200, 38400, 57600,
115200, 230400, 460800, or 921600. This command is useful when testing baud rate settings or when switching the
baud rate “on the fly” while connected over TCP via telnet. Using this command does not affect configuration. The
module returns the AOK response, and then the module exits command mode.
NOTE: In firmware version 2.22 and lower, the module does NOT return an AOK over telnet before exiting
command mode.
If used in local mode, the baud rate changes and the module sends AOK using the new baud rate. If the host
switches to the new baud rate immediately, the host may see the AOK string at the new baud rate. Depending on the
baud rate, it takes at least ten times the bit rate for the module to issue the first character.
Default: Not applicable
Example: set uart instant 19200 // Sets the baud rate to 19,200 baud
set uart mode <mask>
This command sets the UART mode register, where <mask> is a hex number masking a bit-mapped value as shown
in Figure 5.
Figure 5. set uart mode Command Bit-Mapped Register
!
Notes:
1. With firmware version 2.27 and higher, bit 4’s functionality has changed. When a TCP connection is closed, if there is RX data
in the UART receiver, it is flushed by default.
When you enable bit 4 using the set uart mode 0x10 command, the module holds the UART data in the buffer until:
• More characters come in, after which the buffer is flushed.
• No characters come in and a new connection is made, after which the characters are forwarded.
Default: 0
Example: set uart mode 0x10 // Enable the UART data buffer
!
12340
NOECHO. Disables RX data echoing while in command mode.
DATA TRIGGER. Makes a connection on RX data.
Reserved.
Enable sleep on RX BREAK signal.
UART RX data buer, Note (1).
5
The version string <x.xx>\r\n is replaced with the replace character in the command prompt ($ by default)..