From 2a7145cc153dedbe6e463f5091c60d5ccf0b0cf5 Mon Sep 17 00:00:00 2001 From: Marcelo Aquino Date: Mon, 15 May 2017 02:29:28 -0300 Subject: [PATCH] Linux: Add inclusion mode to gateway example (#841) Fix #770 --- examples_linux/mysgw.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/examples_linux/mysgw.cpp b/examples_linux/mysgw.cpp index 4831240..be567f6 100644 --- a/examples_linux/mysgw.cpp +++ b/examples_linux/mysgw.cpp @@ -71,6 +71,15 @@ // personalized with the same AES key) //#define MY_RF24_ENABLE_ENCRYPTION +// Enable inclusion mode if your HA Controller supports it (e.g. Vera Controller) +//#define MY_INCLUSION_MODE_FEATURE +// Enable Inclusion mode button on gateway +//#define MY_INCLUSION_BUTTON_FEATURE +// Set inclusion mode duration (in seconds) +//#define MY_INCLUSION_MODE_DURATION 60 +// Digital pin used for inclusion mode button +//#define MY_INCLUSION_MODE_BUTTON_PIN 3 + #include #define ARDUINO 100