diff --git a/README.md b/README.md index 95730052..aabf5733 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,11 @@ In other cases you can contact the developer via email: 0) && (maintopic.length() > 0)) - { + { + printf("InitMQTTInit\n"); mainerrortopic = maintopic + "/connection"; + printf("Init MQTT with uri: %s, clientname: %s, user: %s, password: %s, maintopic: %s\n", uri.c_str(), clientname.c_str(), user.c_str(), password.c_str(), mainerrortopic.c_str()); MQTTInit(uri, clientname, user, password, mainerrortopic, 60); MQTTPublish(mainerrortopic, "connected"); MQTTenable = true; diff --git a/code/components/jomjol_mqtt/interface_mqtt.cpp b/code/components/jomjol_mqtt/interface_mqtt.cpp index 3dcd1cc6..ef98aff4 100644 --- a/code/components/jomjol_mqtt/interface_mqtt.cpp +++ b/code/components/jomjol_mqtt/interface_mqtt.cpp @@ -14,6 +14,7 @@ bool debugdetail = true; // #define CONFIG_BROKER_URL "mqtt://192.168.178.43:1883" esp_mqtt_event_id_t esp_mmqtt_ID = MQTT_EVENT_ANY; +// ESP_EVENT_ANY_ID bool mqtt_connected = false; esp_mqtt_client_handle_t client = NULL; diff --git a/code/components/jomjol_tfliteclass/server_tflite.cpp b/code/components/jomjol_tfliteclass/server_tflite.cpp index 5a088109..56fab3c6 100644 --- a/code/components/jomjol_tfliteclass/server_tflite.cpp +++ b/code/components/jomjol_tfliteclass/server_tflite.cpp @@ -701,7 +701,7 @@ void TFliteDoAutoStart() printf("task_autodoFlow configMINIMAL_STACK_SIZE: %d\n", _i); printf("getESPHeapInfo: %s\n", getESPHeapInfo().c_str()); - xReturned = xTaskCreate(&task_autodoFlow, "task_autodoFlow", configMINIMAL_STACK_SIZE * 48, NULL, tskIDLE_PRIORITY+1, &xHandletask_autodoFlow); + xReturned = xTaskCreate(&task_autodoFlow, "task_autodoFlow", configMINIMAL_STACK_SIZE * 35, NULL, tskIDLE_PRIORITY+1, &xHandletask_autodoFlow); if( xReturned != pdPASS ) { diff --git a/code/main/version.cpp b/code/main/version.cpp index 2981f65d..0301fa67 100644 --- a/code/main/version.cpp +++ b/code/main/version.cpp @@ -1,4 +1,4 @@ -const char* GIT_REV="19a6c21"; +const char* GIT_REV="53606d5"; const char* GIT_TAG=""; const char* GIT_BRANCH="rolling"; -const char* BUILD_TIME="2022-01-21 18:47"; \ No newline at end of file +const char* BUILD_TIME="2022-01-23 19:34"; \ No newline at end of file diff --git a/code/version.cpp b/code/version.cpp index 2981f65d..0301fa67 100644 --- a/code/version.cpp +++ b/code/version.cpp @@ -1,4 +1,4 @@ -const char* GIT_REV="19a6c21"; +const char* GIT_REV="53606d5"; const char* GIT_TAG=""; const char* GIT_BRANCH="rolling"; -const char* BUILD_TIME="2022-01-21 18:47"; \ No newline at end of file +const char* BUILD_TIME="2022-01-23 19:34"; \ No newline at end of file diff --git a/firmware/bootloader.bin b/firmware/bootloader.bin index 17c954c6..2bfac8a0 100644 Binary files a/firmware/bootloader.bin and b/firmware/bootloader.bin differ diff --git a/firmware/firmware.bin b/firmware/firmware.bin index 11d4b146..ecc27c26 100644 Binary files a/firmware/firmware.bin and b/firmware/firmware.bin differ