EasyManuals Logo
Home>Digi>Control Unit>XBEE2

Digi XBEE2 User Manual

Digi XBEE2
195 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #116 background imageLoading...
Page #116 background image
API operation API frames
XBee/XBee-PRO ZigBee RF Modules User Guide 116
AT command - Queue Parameter Value
Frame type: 0x09
This API type allows module parameters to be queried or set. In contrast to the “AT Command” API type, new
parameter values are queued and not applied until either the “AT Command” (0x08) API type or the Apply
Changes (AC) command is issued. Register queries (reading parameter values) are returned immediately.
Send a command to change the baud rate (BD) to 115200 baud, but don't apply changes yet. (Module will
continue to operate at the previous baud rate until changes are applied.)
Note In this example, the parameter could have been sent as a zero-padded 2-byte or 4-byte value.
ZigBee Transmit Request
Frame type: 0x10
A Transmit Request API frame causes the module to send data as an RF packet to the specified destination.
The 64-bit destination address should be set to 0x000000000000FFFF for a broadcast transmission (to all
devices). The coordinator can be addressed by either setting the 64-bit address to all 0x00s and the 16-bit
address to 0xFFFE, OR by setting the 64-bit address to the coordinator's 64-bit address and the 16-bit address to
0x0000. For all other transmissions, setting the 16-bit address to the correct 16-bit address can help improve
performance when transmitting to multiple destinations. If a 16-bit address is not known, this field should be set
to 0xFFFE (unknown). The Transmit Status frame (0x8B) will indicate the discovered 16-bit address, if successful.
The broadcast radius can be set from 0 up to NH. If set to 0, the value of NH specifies the broadcast radius
(recommended). This parameter is only used for broadcast transmissions.
The maximum number of payload bytes can be read with the NP command.
Frame Fields Offset Example Description
Start Delimiter
00x7E
Length
MSB 1 0x00
Number of bytes between the length and the checksum
LSB 2 0x05
Frame-specific Data Frame Type
30x09
Frame ID
40x01
Identifies the UART data frame for the host to correlate with
a subsequent ACK (acknowledgment). If set to 0, no
response is sent.
AT Command
50x42 (B)
Command Name - Two ASCII characters that identify the AT
Command.
60x44 (D)
Parameter
Value
(ATBD7 =
115200 baud)
70x07
If present, indicates the requested parameter value to set
the given register. If no characters are present, register is
queried.
Checksum
80x68
0xFF - the 8 bit sum of bytes from offset 3 to this byte.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Digi XBEE2 and is the answer not in the manual?

Digi XBEE2 Specifications

General IconGeneral
BrandDigi
ModelXBEE2
CategoryControl Unit
LanguageEnglish

Related product manuals