put mqtt port into a contant
This commit is contained in:
1 parent
fa6789daaa
commit
7a7529bb69
2 files changed
+2
-1
No files matched your search
+1
-1
@@ -61,7 +61,7 @@ RCSwitch mySwitch = RCSwitch();
|
||||
decode_results results;
|
||||
|
||||
// client parameters
|
||||
PubSubClient client(mqtt_server, 1883, callback, eClient);
|
||||
PubSubClient client(mqtt_server, mqtt_port, callback, eClient);
|
||||
|
||||
//MQTT last attemps reconnection date
|
||||
int lastReconnectAttempt = 0;
|
||||
|
||||
Reference in new issue
Block a user