RN-XV Roving Networks Inc, RN-XV Datasheet - Page 57

no-image

RN-XV

Manufacturer Part Number
RN-XV
Description
MODULE 802.11B/G 2.4GHZ
Manufacturer
Roving Networks Inc
Series
-r
Datasheets

Specifications of RN-XV

Frequency
2.4GHz
Data Rate - Maximum
54Mbps
Modulation Or Protocol
802.11b/g
Applications
General Purpose
Power - Output
12dBm
Sensitivity
-83dBm
Voltage - Supply
3 V ~ 3.7 V
Current - Receiving
40mA
Current - Transmitting
180mA
Data Interface
PCB, Through Hole
Memory Size
-
Antenna Connector
On-Board, Wire Antenna
Operating Temperature
-40°C ~ 85°C
Package / Case
Module
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
740-1044
RN-XV-W
RN-XVEE
XVEE
WiFly module can be setup to automatically post data to a webserver. The auto connect feature is enabled
by the set sys auto <seconds> command. For example, the WiFly module can be configured to connect to
the web server every 10 seconds by using the set sys auto 10.
The example below illustrates the commands to configure WiFly for connecting to the web server every 30
seconds.
set com remote GET$/ob.php?obvar=WEATHER
set sys auto 30
set option format 1
set ip proto 18
NOTE1: when HTTP mode is set, the WiFly automatically appends the \n\n to the end of the packet.
NOTE2: if the html header contains spaces, the $ is required when entering the string. Space is the
command delimiter. When WiFly command parser sees $ it will convert this to a SPACE character.
WiFly GSX supports a mode in which it can connect to the web server when it receives uart data. In this
mode, connection to the web server will be triggered on uart data.
Example:
set ip proto 18
set dns name www.webserver.com
set ip host 0
set ip remote 80
set com remote GET$/userprog.php?DATA=
set uart mode 2
Then when the serial UART data comes in, WiFly auto connects to the web server, and will automatically
send:
GET /userprog.php?DATA=<users serial data> \n\n
NOTE: If you attempt to send data by physically typing characters on the keyboard or if your
microcontroller is not sending data fast enough, the WiFly module will send out small packets of data (It
will send out many packets of small MTU size). To avoid this, set the flush timer to a higher value. By
default, it is set to 10 milliseconds. You can extend the flush to a higher value (e.g. set comm. time 5000).
13.2.
13.3.
www.rovingnetworks.com
809 University Avenue
Automatically connect to web server
Automatically connect to web server on uart data
// turn on HTTP mode=0x10 + TCP mode = 0x2
// auto send the header once connection is open
// auto connect every 30 seconds.
Los Gatos, CA 95032
// automatically connect using data TRIGGER mode
// standard webserver port
// so WiFly will use DNS
// turn on HTTP mode=0x10 + TCP mode = 0x2
//name of your webserver
~ 57 ~
// sample server application
Tel (408) 395-6539
// setup the string
• info@RovingNetworks.com
WiFly-RN-UM
WiFly GSX/EZX
5/4/2011

Related parts for RN-XV