Răsfoiți Sursa

Version 6.1.7; config files for new configuration

platenspeler 5 ani în urmă
părinte
comite
d5c8497b12
2 a modificat fișierele cu 12 adăugiri și 9 ștergeri
  1. 5 7
      ESP-sc-gway/configGway.h
  2. 7 2
      ESP-sc-gway/configNode.h

+ 5 - 7
ESP-sc-gway/configGway.h

@@ -1,7 +1,10 @@
 // 1-channel LoRa Gateway for ESP8266
 // Copyright (c) 2016, 2017, 2018, 2019 Maarten Westenberg version for ESP8266
-// Version 6.1.5 E EU868
-// Date: 2019-12-20
+
+// Specify the correct version and date of your gateway here.
+// Normally it is provided with the GitHub version
+#define VERSION "V.6.1.7.E.EU868; 191228a"
+
 //
 // Based on work done by Thomas Telkamp for Raspberry PI 1ch gateway and many others.
 // Contibutions of Dorijan Morelj and Andreas Spies for OLED support.
@@ -29,10 +32,6 @@
 //
 // ========================================================================================
 
-// Specify the correct version and date of your gateway here.
-// Normally it is provided with the GitHub version
-#define VERSION "V.6.1.5.E.EU868; 191227h"
-
 
 // Define whether we should do a formatting of SPIFFS when starting the gateway
 // This is usually a good idea if the webserver is interrupted halfway a writing
@@ -254,7 +253,6 @@
 // as a regular sensor value.
 // Set its LoRa address and key below in this file, See spec. para 4.3.2
 #define GATEWAYNODE 0
-#define _CHECK_MIC 0
 
 
 // We can put the gateway in such a mode that it will (only) recognize

+ 7 - 2
ESP-sc-gway/configNode.h

@@ -1,7 +1,5 @@
 // sensor.h; 1-channel LoRa Gateway for ESP8266
 // Copyright (c) 2016, 2017, 2018, 2019 Maarten Westenberg version for ESP8266
-// Version 6.1.5
-// Date: 2019-12-20
 //
 // based on work done by Thomas Telkamp for Raspberry PI 1ch gateway
 // and many other contributors.
@@ -25,6 +23,13 @@
 // substitute the node info below.
 #if GATEWAYNODE==1
 
+// Valid coding for internal sensors are LCODE and RAW.
+// Make sure to only select one.
+//#define _LCODE 1
+#define _RAW 1
+#define _CHECK_MIC 1
+#define _SENSOR_INTERVAL 300
+
 #define _DEVADDR { 0xAA, 0xAA, 0xAA, 0xAA }
 #define _APPSKEY { 0xBB, 0xBB, 0xBB, 0xBB, 0xBB, 0xBB, 0xBB, 0xBB, 0xBB, 0xBB, 0xBB, 0xBB, 0xBB, 0xBB, 0xBB, 0xBB }
 #define _NWKSKEY { 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC }