Since iMSB version 2.0 the Wi-Fi transmission module operates in a so called soft AP mode. In soft AP mode the module behaves like a standard WLAN hotspot. This new mode is easier to handle and more robust than the adhoc mode that was used in prior versions. Note that iMSB can still operate without problems under the old adhoc mode. However some new features as well as the integrated programming functionality cannot be used.
We strongly advise users running older Wi-Fi modules to upgrade to firmware 4.xx. The installed firmware version can easily be looked-up in the Wifly module setup section of the application settings. iMSB will automatically scan for available devices and once identified the actual firmware is displayed in the information page.
A firmware upgrade can easily be done over the internet. To access the internet the module however first needs to be reconfigured to connect to your wireless network. Manually programming the module is performed over a telnet terminal.
Associating the module with a wireless network
To associate the module with a wireless network, you need to set up the SSID and passphrase of your network in the modules settings.
telnet <ip address> 2000 // telnet into the module. Specify port 2000
$$$ // enter command mode
factory RESET // start with clean setup
set wlan join 1 // auto join access point
set wlan chan 0
set wlan auth 3
set wlan ssid <your access point> // specify the name of your access point
set wlan phrase <wlan password> // set the password of your access point
set ip netmask 255.255.255.0
save // save the configuration
Now power cycle the module. It should now connect automatically to your WLAN access point. At this stage you need to determine the IP address that was given to the Wi-Fi module by the DHCP server of your access point.
Performing the firmware upgrade
Connect again via telnet to the Wi-Fi module by giving the IP address that was given by your access point DHCP server.
telnet <ip address> 2000 // telnet into the module. Specify port 2000
$$$ // enter command mode
set ftp addr 0 // set configuration for firmware update
set ftp user roving
set ftp pass Pass123
set ftp dir public
set dns backup rn.microchip.com
save // save the configuration
ftp update // launch the ftp update
Once the upgrade is completed power cycle the module once again an set it up to operate with iMSB as described in the Wi-Fi module configuration section