Home/Support/Support Forum/Xbee encryption not working?

Xbee encryption not working?

0 votes
I'm trying to set a encrypted communication between two xbees (series 1) but I've set the EE parameter to 1 (enabled) and I've set a key of 16 bytes (0123456789ABCDEF0123456789ABCDEF) to test it, but when I send a packet from one xbee to the other (in API mode) it has the same hexadecimal value (characters) than when it's sent without encryption so it seems that it isn't being encrypted.

If I disconnect the xbee from the XCTU and I reconnect it, the Key value is empty (i don't know if its for security reasons or it's not being saved).

How should I configure the devices to encrypt the communication?

asked Dec 7, 2015 in IEEE 802.15.4 by willow New to the Community (9 points)

Please log in or register to answer this question.

1 Answer

0 votes
Best answer
Yes it is working. You can verify this by turning off encryption on the receiving side. You see the encryption just encrypts the data for over the air communications. The receiving module then De-crypts the packet using its KY value.
answered Dec 7, 2015 by mvut Veteran of the Digi Community (15,223 points)
selected Dec 7, 2015 by willow