Digi International Inc XBEEPRO2 Manual Do Utilizador

Página de 155
XBee®/XBee‐PRO® ZB RF Modules 
© 2011 Digi International, Inc.
     118
Remote Command Response
Frame Type: 0x97
If a module receives a remote command response RF data frame in response to a Remote AT Command 
Request, the module will send a Remote AT Command Response message out the UART. Some commands may 
send back multiple frames--for example, Node Discover (ND) command. 
Example: If a remote command is sent to a remote device with 64-bit address 0x0013A200 
40522BAA and 16-bit address 0x7D84 to query the SL command, and if the frame ID=0x55, the 
response is shown in the example API frame in the table above.
Frame Fields
Offset Example
Description
A
P
I
 
P
a
c
k
e
t
Start Delimiter
0 0x7E
Length
MSB 1 0x00
Number of bytes between the length and the checksum
LSB 2 0x13
Frame-specific Data 
Frame Type
3 0x97
Frame ID
4 0x55
This is the same value passed in to the request.
.
64-bit Source
(remote) Address
MSB 5 0x00
The address of the remote radio returning this response.
6 0x13
7 0xA2
8 0x00
9 0x40
10 0x52
11 0x2B
LSB 12 0xAA
16-bit Source
(remote) Address
MSB 13 0x7D
Set to the 16-bit network
address of the remote.
Set to 0xFFFE if
unknown.
LSB 14 0x84
AT Commands 
15 0x53
Name of the command
16 0x4C
Command Status
17 0x00
0 = OK
1 = ERROR
2 = Invalid Command
3 = Invalid Parameter
4 = Remote Command Transmission Failed
Command Data
18 0x40
Register data in binary format. If the register was set, 
then this field is not returned.
19 0x52
20 0x2B
21 0xAA
Checksum
22 0xF0
0xFF - the 8 bit sum of bytes from offset 3 to this byte.