From 50619044622a526f7dcdda6ce25573b681f98f06 Mon Sep 17 00:00:00 2001 From: Scobber Date: Fri, 12 Jul 2019 23:25:50 +1000 Subject: [PATCH 1/3] Delete arduino.json --- main/.vscode/arduino.json | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 main/.vscode/arduino.json diff --git a/main/.vscode/arduino.json b/main/.vscode/arduino.json deleted file mode 100644 index 5122000..0000000 --- a/main/.vscode/arduino.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "board": "esp32:esp32:ttgo-lora32-v1", - "sketch": "main.ino", - "configuration": "FlashFreq=80,UploadSpeed=921600,DebugLevel=none", - "port": "COM8" -} \ No newline at end of file From 46fb32646080ef726b7786a958d2b3d784c77661 Mon Sep 17 00:00:00 2001 From: Scobber Date: Fri, 12 Jul 2019 23:25:57 +1000 Subject: [PATCH 2/3] Delete c_cpp_properties.json --- main/.vscode/c_cpp_properties.json | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 main/.vscode/c_cpp_properties.json diff --git a/main/.vscode/c_cpp_properties.json b/main/.vscode/c_cpp_properties.json deleted file mode 100644 index 3dbecbf..0000000 --- a/main/.vscode/c_cpp_properties.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "configurations": [ - { - "name": "Win32", - "includePath": [ - "C:\\Users\\Scott\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\**", - "C:\\Users\\Scott\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.2\\**", - "C:\\Users\\Scott\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\**", - "C:\\Users\\Scott\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.5.2\\**", - "C:\\Program Files (x86)\\Arduino\\tools\\**", - "C:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\**" - ], - "forcedInclude": [], - "intelliSenseMode": "msvc-x64", - "compilerPath": "C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.14.26428/bin/Hostx64/x64/cl.exe", - "cStandard": "c11", - "cppStandard": "c++17" - } - ], - "version": 4 -} \ No newline at end of file From 9a24757d0196887f0acd1f4d282e41285e7b7da6 Mon Sep 17 00:00:00 2001 From: Scobber Date: Sat, 13 Jul 2019 00:03:38 +1000 Subject: [PATCH 3/3] Update credentials.h --- main/credentials.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/main/credentials.h b/main/credentials.h index 2631902..b9e746d 100644 --- a/main/credentials.h +++ b/main/credentials.h @@ -13,12 +13,12 @@ Credentials file #ifdef USE_ABP // LoRaWAN NwkSKey, network session key - static const u1_t PROGMEM NWKSKEY[16] = { 0xD1, 0x8A, 0x1F, 0x4D, 0x74, 0x69, 0x46, 0xE9, 0x20, 0x8F, 0x05, 0xE8, 0xFC, 0xB4, 0x5F, 0xC5 }; + static const u1_t PROGMEM NWKSKEY[16] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; // LoRaWAN AppSKey, application session key - static const u1_t PROGMEM APPSKEY[16] = { 0x42, 0x42, 0xD0, 0xA2, 0xAB, 0xA8, 0x23, 0x93, 0x19, 0x80, 0x9F, 0x90, 0xB3, 0xB4, 0x82, 0x34 }; + static const u1_t PROGMEM APPSKEY[16] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; // LoRaWAN end-device address (DevAddr) // This has to be unique for every node - static const u4_t DEVADDR = 0x26041F5B; + static const u4_t DEVADDR = 0x00000000; #endif @@ -28,15 +28,15 @@ Credentials file // first. When copying an EUI from ttnctl output, this means to reverse // the bytes. For TTN issued EUIs the last bytes should be 0x00, 0x00, // 0x00. - static const u1_t PROGMEM APPEUI[8] = { 0x70, 0xB3, 0xD5, 0x7E, 0xD0, 0x01, 0xE9, 0x44 }; + static const u1_t PROGMEM APPEUI[8] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; // This should also be in little endian format, see above. - static const u1_t PROGMEM DEVEUI[8] = { 0xCB, 0xBE, 0xEB, 0x0A, 0xDD, 0xEA, 0xDB, 0xEE }; + static const u1_t PROGMEM DEVEUI[8] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; // This key should be in big endian format (or, since it is not really a // number but a block of memory, endianness does not really apply). In // practice, a key taken from ttnctl can be copied as-is. // The key shown here is the semtech default key. - static const u1_t PROGMEM APPKEY[16] = { 0x0B, 0xF2, 0xAC, 0xB0, 0x6A, 0xFF, 0x27, 0x1E, 0x89, 0x65, 0x7C, 0xBD, 0x99, 0x9F, 0x7F, 0xE9 }; + static const u1_t PROGMEM APPKEY[16] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; #endif