remove / from gateway name

some router don't give an ip adress if there is a / in the host name (thanks @petricaM)
This commit is contained in:
Florian committed 2018-05-01 22:04:09 +02:00
1 parent 3c578a0813
commit ccc704f1c5
1 file changed
+2 -2
+2 -2
View File
@@ -39,8 +39,8 @@ char mqtt_pass[20] = "your_password"; // not compulsory only if your broker need
char mqtt_server[40] = "192.168.1.17";
char mqtt_port[6] = "1883";
#define Gateway_Name "/OpenMQTTGateway"
#define Base_Topic "home"
#define Gateway_Name "OpenMQTTGateway"
#define Base_Topic "home/"
#define version_Topic Base_Topic Gateway_Name "/version"
#define will_Topic Base_Topic Gateway_Name "/LWT"
#define will_QoS 0