User's Manual

Table Of Contents
XBee®/XBeePRO®ZBRFModules
©2009DigiInternational,Inc. 101
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).
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.
Modem Status
Frame Type: (0x8A)
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 00x7E
Length MSB 1 0x00
Number of bytes between the length and the checksum
Frame-specific Data
LSB 2 0x05
Frame Type 30x88
Frame ID 40x01
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 70x00
0 = OK
1 = ERROR
2 = Invalid Command
3 = Invalid Parameter
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 00x7E
Length
MSB 1 0x00
Number of bytes between the length and the checksum
LSB 2 0x02
Frame-specific Data
Frame Type 30x8A
Status 40x06
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)
0x10 = Key establishment complete
0x80+ = stack error
Checksum 5 0x6F 0xFF - the 8 bit sum of bytes from offset 3 to this byte.