WiFly GSX
www.rovingnetworks.com
WiFlyGSX-um 9/16/2010
809 University Avenue
•
Los Gatos, CA 95032
•
Tel (408) 395-6539
•
~ 40 ~
-
The MAC address of the associated AP, channel, and RSSI value are available in this packet, thus
enabling a simple location and tracking based function.
By default
the WiFly module now sends out a UDP broadcast to 255.255.255.255 on port 55555 at a
programmable interval. The broadcast address, port and interval are set using the
“set broadcast
”
commands.
The format of the packet is: 110 bytes of data:
AP MAC
address
Chan
RSSI
Local TCP
port
Real Time
Clock
Battery
Voltage
GPIO pins
time of
day
Version and
datecode
User
DEVICEID
Boot
time
SENSOR
pins
Bytes Size
0-5
6
MAC adddress of AP that we are Associated with (for location )
6
1
Channel we are on.
7
1
RSSI
8
2
local TCP port# (for connecting into the Wifly device )
10
4
RTC value (MSB first to LSB last)
14
2
Battery Voltage on Pin 20 in millivolts (2755 for example )
16
2
value of the GPIO pins
18
13
ASCII time
32
26
Version string with date code
60
32
Programmable Device ID string ( set option deviceid <string>)
92 2 Boot time in milliseconds.
94
16 Voltage readings of Sensors 0 thru 7 (enabled with “set opt format <mask>” )
NOTE:
To add sensor data to the UDP broadcast message, the sensors have to be enabled using the sensor
mask.
set q sensor 0xff
enables all sensors.