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
~ 23 ~
set uart mode <value> sets the UART mode register. This is a bit-mapped value.
Bit Position
Function
0
NOECHO - disables echo of RX data while in
command mode
1
DATA TRIGGER makes connection on RX data
2
Reserved for future use
3
Enable Sleep on RX BREAK signal
4
UART RX data buffer. See note below for details*
8. 5
9. Version string <2.23>\r\n is replaced
with the replace character ($ by default) in command
prompt
The functioning of bit 4 has changed in ver 2.27 and later of firmware.
Now, when a TCP connection is closed, if there is RX data in the UART
receiver, it if flushed by default.
Enabling this bit using set uart mode 0x10, will hold the uart data in the
buffer until:
1) more chars come in, in which case it will get flushed, or
2) no chars come in and a new connection is made, then the chars
will get forwarded.
set uart tx <0, 1> Disables or enables the TX pin= PIO10 of the UART. Disable will set
PIO10 to an INPUT with weak pulldown.
NOTE: Due to an issue in the UART hardware, the UART does not support even or odd parity.