Open robshep opened 5 years ago
OK, I've fixed a missing line in LSC_Encrypt.h. However, to use LoRaWAN you do not need it. You just have to have the following #define in Arduino_LoRa_temp example:
//#define WITH_APPKEY //if you are low on program memory, comment STRING_LIB to save about 2K
//Use LoRaWAN AES-like encryption
//Use our Lightweight Stream Cipher (LSC) algorithm //#define WITH_LSC //If you want to upload on TTN without LoRaWAN you have to provide the 4 bytes DevAddr and uncomment #define EXTDEVADDR //#define EXTDEVADDR //Use native LoRaWAN packet format to send to LoRaWAN gateway
//when sending to a LoRaWAN gateway but with no native LoRaWAN format, just to set the correct sync word, DO NOT use if LORAWAN is uncommented //#define USE_LORAWAN_SW //#define WITH_ACK //this will enable a receive window after every transmission //#define WITH_RCVW //force 20dBm, use with caution, test ony //#define USE_20DBM ///////////////////////////////////////////////////////////////////
I have copied the Arduino LoRa Temp example into a new sketch folder and copied a number of libraries into the src.
I haven't yet changed any src (apart from some <> to "" includes)
I can't find this variale declared anywhere in the src tree.
Thanks