WiFly GSX
WiFlyGSX-um.pdf 11/11/2009
www.rovingnetworks.com
Phone 408-395-6539
-
32 -
To enable adhoc mode from software:
From command mode, the module is configured for adhoc mode using the join command. You will
also need to set the ssid and channel.
set wlan join 4
set wlan ssid my_adhoc_network
set wlan chan 1
Turn off DHCP and set the IP address and netmask so other devices know where to connect to the
adhoc WiFly GSX. Since auto IP fixes the first two bytes of the IP address you want to use the
netmask of 255.255.0.0 so that other device connecting to the module can be reached. Alternatively
you can set the netmask to a smaller subnet if the other device’s IP addresses are begin statically to
the same subnet as the adhoc device
set ip address
169.254.1.1
set ip netmask
255.255.0.0
set ip dhcp
0
Be sure to save your configuration, then upon reboot the module will be in adhoc mode.
To associate with an adhoc network from another WiFly device:
set wlan ssid my_adhoc_network
reboot
or alternatively you can use the join command to associate with the adhoc network. Remember to
disassociated using the
leave
command if you are previously associated to another network.
join my_adhoc_network
If you leave DHCP service enabled the WiFly device will get an IP address using auto IP when
associating with the adhoc network. By definition auto IP fixes the first two bytes of subnet to
169.254.xxx.xxx. The WiFly device takes about two to three seconds to resolve the auto IP address.