I am using X-CTU with two 802.15.4 series 1 XBee modules and testing 16-bit Address IO Sample.
One of the XBee will sample ADC pin and send the reading to another XBee.
I tried 2 expreiments: one is non-encryption transmission and another one is transmission with encryption enabled.
Set EE=0 or 1, KY = 128 bit HEX string, Sample Rate = 2000ms etc…
The problem is that when I compare the 2 results (read the console output in the X-CTU), the RF Data part I got under Encryption mode is different from the Non-Encryption mode. It has 4 more bytes.
By right, the RF data content should remain the same content with OR without encryption. But the below results said NO and it puzzled us. Can anyone here explain why on earth there are more bytes in the RF data (original message should not be altered after decrypted).
API Mode 2, 802.15.4 Series 1, firmware 10e6
0x83: Recieved Packet 16-bit Address I/O without encryption
Frame: 7E 00 0A 83 00 10 2D 00 01 02 00 01 CC 6F
RF Data: 01 02 00 01 CC
0x83: Recieved Packet 16-bit Address I/O with encryption
Frame: 7E 00 0E 83 00 10 2C 00 FF 04 B5 47 01 02 00 01 CC 71
RF Data: FF 04 B5 47 01 02 00 01 CC
No it should not be the same as you have enabled encryption. When you do this all data is encrypted before it is sent. This includes ADC and DIO functions. In order to receive it and understand what is sent out, you must have encryption enabled on the receiver as well with the proper key set.