
AT commands
Security commands
Digi XBee® 3 802.15.4 RF Module User Guide
139
Default
0
TO (Transmit Options)
Set/read transmit options for Transparent mode.
Bit
Meaning
0
Disable MAC ACKs.
2
Send to broadcast PAN ID.
4
Secure Session. Send data securely—requires secure session.
Parameter range
0 - 5
Default
0
Security commands
The following commands enable and control the encryption used for RF transmissions.
EE (Encryption Enable)
Enables or disables 128-bit Advanced Encryption Standard (AES) encryption of RD data transmissions.
The firmware uses the 802.15.4 Default Security protocol and uses AES encryption with a 128-bit key.
AES encryption dictates that all devices in the network use the same key, and that the maximum RF
packet size is 95 bytes if Tx compatibility is enabled (you set bit 0 of
C8
). If
C8
, bit 0 is not set, see
When encryption is enabled, the device always uses its 64-bit long address as the source address for
RF packets. This does not affect how the
MY
(Source Address),
DH
(Destination Address High) and
DL
(Destination Address Low) parameters work.
If
MM
(MAC Mode) is set to 1 or 2 and
AP
(API Enable) parameter > 0:
With encryption enabled and a 16-bit short address set, receiving devices can only issue RX
(Receive) 64-bit indicators. This is not an issue when
MM
=
0
or
3
.
If a device with a non-matching key detects RF data, but has an incorrect key:
When encryption is enabled, non-encrypted RF packets received are rejected and are not sent
out the UART.
Parameter range
0 - 1
Parameter
Description
0
Encryption Disabled
1
Encryption Enabled