diff --git a/README.md b/README.md index 4f2baec4..384fc9b1 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,17 @@ In other cases you can contact the developer via email: >>>>>> Stashed changes + client = esp_mqtt_client_init(&mqtt_cfg); + if (client) + { + if (esp_mqtt_client_register_event(client, esp_mmqtt_ID, mqtt_event_handler, client) != ESP_OK) + LogFile.WriteToFile("MQTT - Could not register event!"); + if (esp_mqtt_client_start(client) != ESP_OK) + LogFile.WriteToFile("MQTT - Could not start client!"); + +<<<<<<< Updated upstream + if(MQTTPublish(_LWTContext, "", 1)) { + LogFile.WriteToFile("MQTT - Client init successful"); + } +======= + if (mqtt_connected) + MQTTPublish(LWTContext, "", 1); + else + LogFile.WriteToFile("Problem with (Re)Connection not successful!"); + +>>>>>>> Stashed changes + } + else + { + LogFile.WriteToFile("MQTT - Could not Init client!"); + } + +} +*/ + void MQTTdestroy() { if (client != NULL) { esp_mqtt_client_stop(client); diff --git a/code/main/version.cpp b/code/main/version.cpp index e3644f43..1a8026e4 100644 --- a/code/main/version.cpp +++ b/code/main/version.cpp @@ -1,4 +1,4 @@ -const char* GIT_REV="5a31543"; +const char* GIT_REV="77427a8"; const char* GIT_TAG=""; const char* GIT_BRANCH="rolling"; -const char* BUILD_TIME="2022-08-31 21:56"; \ No newline at end of file +const char* BUILD_TIME="2022-09-03 08:15"; \ No newline at end of file diff --git a/code/version.cpp b/code/version.cpp index e3644f43..1a8026e4 100644 --- a/code/version.cpp +++ b/code/version.cpp @@ -1,4 +1,4 @@ -const char* GIT_REV="5a31543"; +const char* GIT_REV="77427a8"; const char* GIT_TAG=""; const char* GIT_BRANCH="rolling"; -const char* BUILD_TIME="2022-08-31 21:56"; \ No newline at end of file +const char* BUILD_TIME="2022-09-03 08:15"; \ No newline at end of file diff --git a/firmware/bootloader.bin b/firmware/bootloader.bin index 8a56fa2a..b102867d 100644 Binary files a/firmware/bootloader.bin and b/firmware/bootloader.bin differ diff --git a/firmware/firmware.bin b/firmware/firmware.bin index e3e3ac58..52ee6550 100644 Binary files a/firmware/firmware.bin and b/firmware/firmware.bin differ diff --git a/firmware/html.zip b/firmware/html.zip index b816ee0d..f0c2e663 100644 Binary files a/firmware/html.zip and b/firmware/html.zip differ diff --git a/sd-card/html/version.txt b/sd-card/html/version.txt index f15237f6..9cc45924 100644 --- a/sd-card/html/version.txt +++ b/sd-card/html/version.txt @@ -1 +1 @@ -16.3.1 \ No newline at end of file +16.3.2 \ No newline at end of file