KY (AES Encryption Key)

This command applies to the XBee/XBee-PRO S2C 802.15.4 RF Module.

Sets the 128-bit network security key value that the device uses for encryption and decryption.

This command is write-only. If you attempt to read KY, the device returns an OK status.

Set this command parameter the same on all devices in a network.

The entire payload of the packet is encrypted using the key and the CRC is computed across the ciphertext.

Parameter range

128-bit value (up to 16 bytes)

Default

0