put home as a #define and add gateway name to all topics

#160
This commit is contained in:
Florian committed 2018-04-04 23:57:18 +02:00
1 parent c68714a434
commit a7d61f0590
13 files changed
+52 -51

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*----------------------BT topics & parameters-------------------------*/
#define subjectBTtoMQTT "home/BTtoMQTT/"
#define subjectBTtoMQTT Base_Topic Gateway_Name "/BTtoMQTT/"
#define TimeBtw_Read 20000 //define the time between 2 scans
#define Scan_duration 10 //define the time for a scan
#define HM-10