From a275e48ee14102429abfc926994303bd81013fc1 Mon Sep 17 00:00:00 2001 From: Florian <1technophile@users.noreply.github.com> Date: Tue, 27 Nov 2018 20:46:24 +0100 Subject: [PATCH] add missing macro --- User_config.h | 1 + tests/Test_config.h | 1 + 2 files changed, 2 insertions(+) diff --git a/User_config.h b/User_config.h index bddfc17..5c8a7d6 100644 --- a/User_config.h +++ b/User_config.h @@ -152,6 +152,7 @@ const byte subnet[] = { 255, 255, 255, 0 }; //ip adress // global MQTT subject listened by the gateway to execute commands (send RF, IR or others) #define subjectMQTTtoX Base_Topic Gateway_Name "/commands/#" #define subjectMultiGTWKey "toMQTT" +#define subjectGTWSendKey "MQTTto" //variables to avoid duplicates #define time_avoid_duplicate 3000 // if you want to avoid duplicate mqtt message received set this to > 0, the value is the time in milliseconds during which we don't publish duplicates diff --git a/tests/Test_config.h b/tests/Test_config.h index 329d59b..9850bf1 100644 --- a/tests/Test_config.h +++ b/tests/Test_config.h @@ -203,6 +203,7 @@ const byte subnet[] = { 255, 255, 255, 0 }; //ip adress // global MQTT subject listened by the gateway to execute commands (send RF, IR or others) #define subjectMQTTtoX Base_Topic Gateway_Name "/commands/#" #define subjectMultiGTWKey "toMQTT" +#define subjectGTWSendKey "MQTTto" #define valueAsASubject true