Roving Networks Wifly RN-111B User Guide Version 1.23
www.rovingnetworks.com
support@rovingnetworks.com
Phone 408-395-6539
- 19 -
7. FTP Upgrade and Image Storage
Image Storage
WiFly contains a built file system for storing the firmware image(s). Files can be viewed with
the ls command. Here is an example result:
File# Size
2 12 wifly-1.05
14 1 config
113 Free, Boot=2, Backup=22.
Multiple files can be stored, and the boot image can be modified per below.
FTP Upload and Upgrade
WiFly contains a built in FTP client for getting files and updating the firmware. The client
uses passive mode FTP, which allows operation thru firewalls and the Internet.
There are 3 fixed settings that need to be used. The username is roving. The password
is Pass123. The default directory is /public.
To setup FTP, the IP address of the remote server is stored using this command:
set ip ftp <addr> sets the ftp server address. .
To use FTP, enter the following command:
ftp get <name> Retrieves remote file.
Firmware Upgrade - automatic
To use FTP to upgrade the firmware, enter the following command:
ftp upload <filename> (filename is optional, default is “wifly.img” )
This will overwrite the current backup image, and updates the boot image.
Here is an example of what you should see after a successful update:
File# Size Flgs
2 12 3 wifly-1.23-WPA2 (old image)
14 1 10 config
15 12 3 wifly-1.26-OPEN (new image)
101 Free, Boot=15, Backup=2.
Firmware Upgrade – manual
If it desirable to keep old images, retrieve the file using ftp get, and then use the
Set boot <sector> command to set the current boot image number
Roving Networks Wifly RN-111B User Guide Version 1.23
www.rovingnetworks.com
support@rovingnetworks.com
Phone 408-395-6539
- 20 -
8. Security and Authentication Modes
The current release of Wifly firmware supports these security modes:
WEP-128 (open mode only, NOT shared mode )
WPA2-PSK (AES only)
WPA1-PSK (TKIP only) this requires special firmware.
For WEP-128, shared mode is not supported as it is know to be quite easily
compromised, and has been deprecated from the WiFi standards.
Roving Networks discourages the use of WPA1-PSK as it has been proven that mode can
be compromised easily. Other modes, such as WPA-PSK mixed mode, and WPAenterprise
are not yet supported, but may be offered in future releases. Contact Roving
Networks if you wish to discuss potential future support of other modes.
Listed below are the commands used to set authentication.
set wlan auth <value> sets the authentication level. 0= Open mode, 2=WPA2-PSK
(AES only supported) , 3=WEP-128.
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 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.
Example : “set w p password” sets the phrase.
DIRECT PSK entry mode: 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 processing is done.
Example : “set w p 0123456789…..AABBCCDD”
Roving Networks Wifly RN-111B User Guide Version 1.23
www.rovingnetworks.com
support@rovingnetworks.com
Phone 408-395-6539
- 21 -
9. Factory Default Power up Settings
Note: PIO(9) IF pulled HIGH (3.3V) at power up time, and then toggled 3 times will
change all settings below back to their factory values.
COMM PARAMETERS
Close string <null>
Open string <null>
Remote string <null>
FlushSize 16
MatchByte 0
FlushTimer 2
IdleTimer 0
IP PARAMETERS
protocol TCP-Server
address 0.0.0.0
localport 2000
netmask 255.255.255.0
gateway 0.0.0.0
host 0.0.0.0
remoteport 2000
ftp 208.109.78.34 ( roving default update server ) (port fixed at 21)
dhcp 1 (enabled)
SYSTEM PARAMETERS
sleeptimer 0
waketimer 10 (10 seconds after sleep we wake up)
trigger 1 (SENS1 pin wakes up the device)
auto connect 0
iomask 0x78 ( 3,4,5,6 outputs ).
print level 0 (prints disabled)
TIME SERVER PARAMETERS
enable 0= disabled
address 0.0.0.0
port 0
UART PARAMETERS
Baudrate 9600
parity n (none)
flow 0=disabled
WLAN PARAMETERS
authentication 0=disabled
channel 1
ssid roving1
rate 1 (1= 1Mbit)

RN-111B-R

Mfr. #:
Manufacturer:
Microchip Technology
Description:
WiFi Modules (802.11) WiFly 802.11b WLAN with RP-SMA Jack
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet