Encryption Key

Started by Sstocker, October 02, 2015, 05:14:01 AM

Sstocker

I was checking and the encryption key on the gateway reciever and the mail node were not the same. Changed the key on the mail node to match the receiver and now I see nothing on the serial monitor of the sending node like i did be for changing the  key. 

Any clues?  Thanks

luisr320

I think that the encryption key must be exactly 16 characters. No more, no less. Are they?

Felix

Not sure where you're looking, but Node and Gateway examples both have this:

#define ENCRYPTKEY    "sampleEncryptKey" //exactly the same 16 characters/bytes on all nodes!

Sstocker

The node had "ABCDABCDABCDABCD" as the key and the receiver node had    "sampleEncryptKey" so I changed the sending node key to the receiver key.  It is transmitting data to the gateway.sys.log I just don't see any data from the sender on the serial monitor like I did before changing the keys to match.  The output looks like this:
Transmitting on 915khz
Ok
Ok
Ok
(1).         (Rst-Rssl.   -26)
Nothing
(1).         (Rst-Rssl.   -27)

And so on.

Maybe when everything is working right, there is no output on the serial monitor?
Thanks for the fast and prompt answers.  This is a lot of fun!


Felix

Which sketches are you using (links please) and using what hardware (moteino + what radio?)?