File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 31
31
-------------------------------------------------------------------------------------------------------------
32
32
*/
33
33
34
- const char *firmware_version = {" 4.1.1 \n\r " };
34
+ const char *firmware_version = {" 4.1.2 \n\r " };
35
35
/*
36
36
37
37
Change log:
38
+ V4.1.2 - (27/02/23) Add option to used custom encrpytion key
38
39
V4.1.1 - (19/02/23) Fix missing frequency initialization
39
40
V4.1.0 - (17/02/23) LowPowerLabs radio format option
40
41
V4.0.0 - (10/07/21) Replace JeeLib with OEM RFM69nTxLib using RFM69 "Native" packet format, add emonEProm library support
@@ -244,7 +245,11 @@ void setup()
244
245
Serial.println (" Init RFM..." );
245
246
#if RadioFormat == RFM69_LOW_POWER_LABS
246
247
radio.initialize (EEProm.RF_freq ,EEProm.nodeID ,EEProm.networkGroup );
248
+ #ifndef RFM69_LPL_AES_ENCRYPTION_KEY
247
249
radio.encrypt (" 89txbe4p8aik5kt3" ); // initialize RFM
250
+ #else
251
+ radio.encrypt (RFM69_LPL_AES_ENCRYPTION_KEY); // initialize RFM
252
+ #endif
248
253
radio.setPowerLevel (EEProm.rfPower );
249
254
#else
250
255
rfm_init (); // initialize RFM
Original file line number Diff line number Diff line change @@ -17,4 +17,5 @@ lib_deps =
17
17
OneWire
18
18
DallasTemperature
19
19
SI7021
20
+ # build_flags = '-DRFM69_LPL_AES_ENCRYPTION_KEY="my-encrypted-key"'
20
21
You can’t perform that action at this time.
0 commit comments