
Modes Transparent and API operating modes
XBee®/XBee-PRO XTend Compatible (XTC) RF Module User Guide 19
Transparent and API operating modes
The firmware operates in several different modes. Two top-level modes establish how the device
communicates with other devices through its serial interface: Transparent operating mode and API
operating mode.
Transparent operating mode
Devices operate in this mode by default. The device acts as a serial line replacement when it is in
Transparent operating mode. The device queues all UART data it receives through the DIN pin for RF
transmission. When a device receives RF data, it sends the data out through the DOUT pin. You can set
the configuration parameters using the AT Command interface.
API operating mode
API operating mode is an alternative to Transparent mode. API mode is a frame-based protocol that
allows you to direct data on a packet basis. It can be particularly useful in large networks where you
need control over the operation of the radio network or when you need to know which node a data
packet originated from. The device communicates UART data in packets, also known as API frames.
This mode allows for structured communications with serial devices. It is helpful in managing larger
networks and is more appropriate for performing tasks such as collecting data from multiple locations
or controlling multiple devices remotely.
For more information, see API frame specifications.
Additional modes
In addition to the serial communication modes, several modes apply to how to configure devices and
how devices communicate with each other.
Command mode
Command mode is a state in which the firmware interprets incoming characters as commands.
Command mode allows you to modify the device’s firmware using parameters you can set using AT
commands. When you want to read or set any setting of the device, you have to send it an AT
command. Every AT command starts with the letters "AT" followed by the two characters that identify
the command the device sends and then by some optional configuration values. For more details, see
Enter Command mode.
Binary Command mode
Binary Command mode allows you to configure a device at a faster rate than AT commands will allow.
Using binary commands to send and receive parameter values is the fastest way to change the
operating parameters of the device. Use binary commands to:
nSample signal strength and/or error counts;
nChange device addresses and channels for polling systems when a quick response is necessary.
For more details, see Enter Binary Command mode and DB command.
Idle mode
When not receiving or transmitting data, the device is in Idle mode. During Idle mode, the device
listens for valid data on the serial port.