Modem Status - 0x8A

Description

This frame type is emitted in response to specific conditions. The status field of this frame indicates the device behavior.

Format

The following table provides the contents of the frame. For details on frame structure, see API frame format.

Offset Size Frame Field Description
0 8-bit Start Delimiter Indicates the start of an API frame.
1 16-bit Length Number of bytes between the length and checksum.
3 8-bit Frame type

Modem Status - 0x8A

4 8-bit Modem status

Complete list of modem statuses:

0x00 = Hardware reset or power up

0x01 = Watchdog timer reset

0x02 = Joined network (routers and end devices)

0x03 = Disassociated

0x06 = Coordinator started

0x07 = Network security key was updated

0x0D = Voltage supply limit exceeded—see Over-voltage detection in the XBee 3 RF Module Hardware Reference Manual.

0x11 = Modem configuration changed while join in progress

0x3B = Secure session successfully established

0x3C = Secure session ended

0x3D =Secure session authentication failed

0x3E = Coordinator detected a PAN ID conflict but because CR = 0, no action will be taken.

0x3F = Coordinator changed PAN ID due to a conflict

0x32 = BLE Connect

0x33 = BLE Disconnect

0x34 = No Secure Session Connection

0x40 = Router PAN ID was changed by coordinator due to a conflict

0x42 = Network Watchdog timeout expired three times

0x80 - 0xFF = Stack error

EOF 8-bit Checksum 0xFF minus the 8-bit sum of bytes from offset 3 to this byte (between length and checksum).

Modem status codes

Statuses for specific modem types are listed here.

Examples

Each example is written without escapes (AP = 1) and all bytes are represented in hex format. For brevity, the start delimiter, length, and checksum fields have been excluded.

Boot status

When a device powers up, it returns the following API frame:

7E 00 02 8A 00 75
Frame type Modem Status
0x8A 0x00
Status Hardware Reset