IP services
XBee Application Service
XBee Wi-Fi RF Module User Guide
61
XBee Application Service
This service primarily provides for XBee device configuration. It also provides API compatibility for
customers who have designed around other XBee devices. It uses UDP to transfer packets to and
from port number 0xBEE. Packets are optionally acknowledged by the service but retries are not
available. An extra header is added to the packet data to define commands for configuration and
serial data transfer.
Access the service from a local host or network client. Use
C0 (Serial Communication Service Port)
and
to configure the source and destination ports for the serial communication
service. The XBee application service uses hard coded port 0xBEE for both source and destination and
there is no option to configure another port.
Note
Do not configure
C0
and/or
DE
to 0xBEE to use the XBee Application Service. Doing so causes an
error (
AI
= 42), and the transceiver will neither send nor receive data.
Local host access
From a local host, access XBee Application Service using API frames. There are remote AT command
frames as well as transmission frames. The API frames are:
n
TX request: 64-bit (TX64)
n
RX indicator: 64-bit (RX64) (This frame is generated by the XBee module.)
n
Remote AT command
n
General Purpose Memory command
TX64 and RX64 API frames
The transmit and receive 64-bit API frames provide a standardized set of API frames to use for a point
to multipoint network—a closed network of XBee Wi-Fi RF Modules. The format of these frames is
standardized to work with other XBee products, such as the API frames of the 802.15.4 device.
Note
The XBee Wi-Fi RF Module cannot communicate with an XBee 802.15.4 module.
Transmit and receive data
Transmit data
The local host uses the TX64 frame to send data to another XBee device using this service. When the
device receives the frame through the serial port it converts the contents of the frame to a serial data
transfer command as defined by the XBee Application Service.
Receive data
A received serial data transfer command goes to the serial port. The serial port's mode determines
the data format. When in API mode, the data is sent to the host using the RX 64-bit frame.
Note
We do not recommended using this service to send data to a network client. Use the serial
communication service.
Change configuration on a remote device
Use the Remote AT command frame to change configuration on a remote device. See
for more information.