From ac53650fab0ae02e22711ee12e8262e3058ca09c Mon Sep 17 00:00:00 2001
From: user2684 <user2684@users.noreply.github.com>
Date: Sat, 29 Jul 2017 15:59:17 +0200
Subject: [PATCH] Updated config.h with additional default entries (#143)

---
 NodeManager.h |  8 ++++++++
 config.h      | 13 +++++++++++++
 2 files changed, 21 insertions(+)

diff --git a/NodeManager.h b/NodeManager.h
index ce151be..6cde1c3 100755
--- a/NodeManager.h
+++ b/NodeManager.h
@@ -97,6 +97,14 @@
 #ifndef MAX_SENSORS
   #define MAX_SENSORS 10
 #endif
+// define default sketch name and version
+#ifndef SKETCH_NAME
+  #define SKETCH_NAME "NodeManager"
+#endif
+#ifndef SKETCH_VERSION
+  #define SKETCH_VERSION "1.0"
+#endif
+
 
 /***********************************
    Default module settings
diff --git a/config.h b/config.h
index 5d3945b..0259c24 100755
--- a/config.h
+++ b/config.h
@@ -16,6 +16,7 @@
 #define MY_BAUD_RATE 9600
 //#define MY_DEBUG
 //#define MY_NODE_ID 100
+//#define MY_SMART_SLEEP_WAIT_DURATION_MS 500
 
 // NRF24 radio settings
 #define MY_RADIO_NRF24
@@ -44,6 +45,18 @@
 //#define MY_RS485_MAX_MESSAGE_LENGTH 40
 //#define MY_RS485_HWSERIAL Serial1
 
+// Message signing settings
+//#define MY_SIGNING_SOFT
+//#define MY_SIGNING_SOFT_RANDOMSEED_PIN 7
+//#define MY_SIGNING_REQUEST_SIGNATURES
+//#define MY_SIGNING_ATSHA204
+
+// OTA Firmware update settings
+//#define MY_OTA_FIRMWARE_FEATURE
+//#define OTA_WAIT_PERIOD 300
+//#define FIRMWARE_MAX_REQUESTS 2
+//#define MY_OTA_RETRY 2
+
 /**********************************
  * MySensors gateway configuration
  */
-- 
GitLab