From 3be1df1c63635c63589db85909ad9e1c519d8aeb Mon Sep 17 00:00:00 2001 From: michelheil <49286214+michelheil@users.noreply.github.com> Date: Tue, 18 Feb 2020 15:10:01 +0100 Subject: [PATCH] Update main.cpp --- projects/First IoT-ESP8266/ESP8266/src/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/projects/First IoT-ESP8266/ESP8266/src/main.cpp b/projects/First IoT-ESP8266/ESP8266/src/main.cpp index 6c0aaa8..60dc06f 100644 --- a/projects/First IoT-ESP8266/ESP8266/src/main.cpp +++ b/projects/First IoT-ESP8266/ESP8266/src/main.cpp @@ -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"; @@ -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();} -} \ No newline at end of file +}