Add: NRF24L01 AES Encryption

Thanks @fleinze.
Source:
https://github.com/fleinze/MySensors/tree/Encryption/libraries/MySensors
This commit is contained in:
Henrik Ekblad
2015-09-17 22:04:38 +02:00
parent 6cf6255e50
commit 5c39f022c0
22 changed files with 14893 additions and 3 deletions
+10
View File
@@ -193,6 +193,16 @@
/**********************************
* NRF24L01 Driver Defaults
***********************************/
// Enables RF24 encryption (all nodes and gateway must have this enabled)
//#define MY_RF24_ENABLE_ENCRYPTION
// Default encrytion key. Override in sketch if needed.
#ifndef MY_RF24_CE_PIN
#define MY_RF24_ENCRYPTKEY 0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x10,0x11,0x12,0x13,0x14,0x15,0x16
#endif
// Default pin settings. Override in sketch if needed.
#ifndef MY_RF24_CE_PIN
#define MY_RF24_CE_PIN 9
#endif