WiFly GSX
WiFlyGSX-um.pdf 11/11/2009
www.rovingnetworks.com
Phone 408-395-6539
-
33 -
Alternatively you can statically set the IP address by disabling the DHCP service and explicitly
assigning the IP address.
set ip
address
169.254.1.2
set ip
dhcp
0
You can confirm the device has properly connected to the adhoc network using the ping command.
ping 169.254.1.1 10
To use associate with the WiFly adhoc network from another computer
Open the “Control Panel / Networking and Sharing / Networking and Sharing Center” dialog in Vista
or “Control Panel / Network Connections” dialog in Windows XP. From here, view available networks
and select the name of the adhoc network.
Note: Once associated with the adhoc network, Vista auto IP may take a couple minutes to allocate
an IP address for your computer. To work around this you can assign a static IP address in the
network settings / TCP/IP / Properties menu.
Once associated with the adhoc network you can open a connection or telnet window as you would
with an enterprise connection.
Note: The module does not support adhoc and enterprise network modes simultaneously.
14
Analog Sensor Capability
The WiFly-GSX has 8 analog interface inputs that can be sampled using the
show q
command. The
hardware specifications on the analog input is:
Input voltage range: 0 - 400mV.
Resolution: 14 bits = 12uV.
Accuracy: uncalibrated: 5%, calibrated using precision voltage or resistor measurement: 0.01%
See the WiFly-GSX (RN-131G) data sheet for more details.
To read a sensor pin, send the following command:
show q <0-7>
send "show q <chan>" where the channel is from 0 to 7. The value returned will be 8xxxxx. the
value is a sample voltage in microvolts on the channel you request, with the 8 in front as a start
marker.
You can also sample multiple channels by using a Bit Mask:
show q 0x1<mask>
where mask is a bit mask of the channels.
For example, to read channels 0,1, and 7, send:
show q 0x183
The return values are the format: 8<chan0>, 8<chan1>, 8<chan7>, \r\n