Digi International Inc XBEEPRO2 Manual De Usuario
XBee®/XBee‐PRO® ZB RF Modules
© 2011 Digi International, Inc.
110
AT Command Response
Frame Type: 0x88
In response to an AT Command message, the module will send an AT Command Response message. Some
commands will send back multiple frames (for example, the ND (Node Discover) command).
In response to an AT Command message, the module will send an AT Command Response message. Some
commands will send back multiple frames (for example, the ND (Node Discover) command).
Example: Suppose the BD parameter is changed on the local device with a frame ID of 0x01. If
successful (parameter was valid), the above response would be received.
successful (parameter was valid), the above response would be received.
Modem Status
Frame Type: (0x8A)
RF module status messages are sent from the module in response to specific conditions.
RF module status messages are sent from the module in response to specific conditions.
Example: The following API frame is returned when an API coordinator forms a network.
Note: New modem status codes may be added in future firmware releases.
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
Frame-specific Data
LSB 2 0x05
Frame Type
3 0x88
Frame ID
4 0x01
Identifies the UART data frame being reported. Note: If
Frame ID = 0 in AT Command Mode, no AT Command
Response will be given.
AT Command
5 ‘B’ = 0x42
Command Name - Two ASCII characters that identify the
AT Command.
6 ‘D’ = 0x44
Command Status
7 0x00
0 = OK
1 = ERROR
2 = Invalid Command
3 = Invalid Parameter
4 = Tx Failure
1 = ERROR
2 = Invalid Command
3 = Invalid Parameter
4 = Tx Failure
Command Data
Register data in binary format. If the register was set,
then this field is not returned, as in this example.
Checksum
8 0xF0
0xFF - the 8 bit sum of bytes from offset 3 to this byte.
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 0x02
Frame-specific Data
Frame Type
3 0x8A
Status
4 0x06
0 = Hardware reset
1 = Watchdog timer reset
2 =Joined network (routers and end devices)
3 =Disassociated
6 =Coordinator started
7 = Network security key was updated
0x0D = Voltage supply limit exceeded (PRO S2B only)
0x11 = Modem configuration changed while join in
1 = Watchdog timer reset
2 =Joined network (routers and end devices)
3 =Disassociated
6 =Coordinator started
7 = Network security key was updated
0x0D = Voltage supply limit exceeded (PRO S2B only)
0x11 = Modem configuration changed while join in
progress
0x80+ = stack error
0x80+ = stack error
Checksum
5 0x6F
0xFF - the 8 bit sum of bytes from offset 3 to this byte.