Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
michelheil authored Feb 18, 2020
1 parent b4f82ff commit 3be1df1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions projects/First IoT-ESP8266/ESP8266/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
// https://techtutorialsx.com/2017/04/24/esp32-subscribing-to-mqtt-topic/
// https://www.arduino.cc/reference/en/language/functions/communication/serial/write/

const char* ssid = "FRITZ!Box 7412";
const char* stringNumber = "31469059394759135757";
const char* mqtt_server = "192.168.178.49";
const char* ssid = "FRITZ!Box nnnn";
const char* stringNumber = "xxx";
const char* mqtt_server = "xxx.xxx.xxx.xxx";
const int mqtt_port = 1883;

const char* pubTopicLog = "/log";
Expand Down Expand Up @@ -215,4 +215,4 @@ void loop() {
// This should be called regularly to allow the client to process
// incoming messages and maintain its connection to the server.
if(!client.loop()) {mqttConnect();}
}
}

0 comments on commit 3be1df1

Please sign in to comment.