User manual
WiFly GSX
www.rovingnetworks.com
WiFlyGSX-um 7/16/2010
809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • info@RovingNetworks.com
~ 45 ~
15.2. Configuring adhoc mode
The WiFly GSX module can be configured to setup an adhoc network. This mode is useful for point to
point communications. The WiFly device is in Adhoc mode the device looks like access point for other
WiFi devices to join.
Note: currently the WiFly only supports OPEN mode for creating adhoc networks.
Adhoc mode can be set via hardware or software commands.
To enable adhoc mode via hardware:
Set PIO9 high (3.3V) at power up. On the RN-134 PIO9 is on J1 of the jumper block. When the module
powers up in adhoc mode the WiFly module creates an adhoc network with the following
SSID: WiFly-GSX-XX where XX is the final two bytes of the devices MAC address
Channel: 1
DHCP: OFF
IP address: 169.254.1.1
Netmask: 255.255.0.0
With the adhoc jumper in place the above settings override the current saved configuration settings.
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: