Roving Networks Wifly RN-111B User Guide Version 1.23
www.rovingnetworks.com
support@rovingnetworks.com
Phone 408-395-6539
- 12 -
Example : “set u r 760” sets the baudrate to 7200 baud.
set uart flow <0,1> sets the flow control mode. 0=off, 1= hardware RTS/CTS.
set uart tx <0, 1> Disables or enables the TX pin= PIO0 of the UART. Disable will
set PIO0 to an INPUT with weak pulldown.
WLAN PARAMETERS
set wlan auth <value> sets the authentication level. 0= disabled, 1=WPA-PSK,
2=WPA2-PSK, 3=WEP-128.
set wlan channel <value> sets the wlan channel, 1-13 is the valid range for a fixed
channel. If 0 is set, then a probe scan is performed, using the ssid,
for all the channels set in the channel mask.
set wlan key <num> <value> sets the WEP key. key must be
EXACTLY 13 bytes (26 ASCII chars). Data is expected in HEX format, “0x” should NOT
be used here.
Example : “set w k 112233445566778899AABBCCDD”
Hex digits > 9 can be either upper or lower case.
set wlan mask <value> sets the wlan channel mask, bit-mapped value. Bit 0 = ch 1.
set wlan num <value> sets the default WEP key to use. 1-4 is the valid range.
Example : “set w n 2” sets the default key to 2.
set wlan phrase <string> sets the passphrase for WPA security modes. 1-64 chars.
The passphrase can be alpha and numeric, and is used along with the ssid to generate a
unique 32 byte Pre-shared key (PSK), which is then hashed into a 256 bit number.
However, if exactly 64 chars are entered, it is assumed that this entry is already an
ASCII HEX representation of the 32 byte PSK and no such processing is done.
Example : “set w p password” sets the phrase.
set wlan ssid <string> sets the wlan ssid to associate with. 1-32 chars.
set wlan rate <value> sets the preferred wlan data rate. Default = 1. Valid settings
are: 1 = 1MBit, 2 = 2Mbit, 4=5Mbit, 8 = 11Mbit. Note that the
effective range will be reduced as the datarate is increased.
set wlan window <value> sets the TCP max. buffer size. Default is 1460 bytes.