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

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
11.
UDP is a connectionless protocol. There is no initial handshaking between the hosts to set up the UDP
connection. There are no acknowledgements sent by the receiver for UDP packets that it receives. This
makes UDP an unreliable protocol, as there is no guarantee that the data will be correctly delivered.
However, due to its connectionless nature, UDP is suited for applications that cannot tolerate too much
latency but can tolerate some errors in data. Transmission of video would be a good example of UDP
application.
To use UDP on the WiFly-GSX module, you will need to enable the UDP protocol using the command “set
ip proto 1”. You will also need to specify the remote host IP address and the local and remote port number
that you will use for UDP communications.
The commands to enable UDP data transfer are:
Associate to a network:
set wlan ssid <string>
set wlan phrase <string>
Set up the protocol and port number
set ip proto 1
set ip host <ip address>
set ip remote <port>
set ip local <port>
save
reboot
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 packets with less data
bytes. To avoid this, set the flush timer to a higher value. By default, it is set to 10 milliseconds. You can
choose to either disable forwarding based on flush timer (use “set comm. time 0”) or set it to a higher value
(e.g. set comm. time 2000)
Since UDP is a connectionless protocol, data will start flowing as soon as the module is rebooted. Unlike
TCP, it is not required to do an “OPEN” for the connection to be established. The WiFly-GSX module acts
like a data-pipe, so the UART data will be sent over the Wi-Fi link via the UDP protocol (in this case) and
the data coming over the Wi-Fi link (via UDP protocol in this case) will be sent to the UART.
11.1. Overview
www.rovingnetworks.com
809 University Avenue
Sending data using UDP
Los Gatos, CA 95032
// set the network name
// set the passphrase for WPA and WPA2 modes
// enable UDP as the protocol
// set the IP address of remote host
// set the remote port number on which the host is listening
// set the port number on which the WiFly module will listen
// saves the settings in config file
// reboots the module so that the above settings take effect
~ 48 ~
Tel (408) 395-6539
• info@RovingNetworks.com
WiFly-RN-UM
WiFly GSX/EZX
5/4/2011

Related parts for RN-XV