From 96aed10b61cb441fd9e66eb32abdc60444f6767b Mon Sep 17 00:00:00 2001 From: Devaraj Ranganna Date: Mon, 16 Dec 2024 15:29:37 +0000 Subject: [PATCH 1/4] components: Update AWS libraries to `202406.01-LTS` Signed-off-by: Devaraj Ranganna --- components/aws_iot/corejson/library | 2 +- components/aws_iot/coremqtt/library | 2 +- components/aws_iot/coresntp/library | 2 +- components/connectivity/backoff_algorithm/library | 2 +- components/connectivity/freertos_plus_tcp/library | 2 +- manifest.yml | 10 +++++----- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/components/aws_iot/corejson/library b/components/aws_iot/corejson/library index 5b31f4c..e3b7663 160000 --- a/components/aws_iot/corejson/library +++ b/components/aws_iot/corejson/library @@ -1 +1 @@ -Subproject commit 5b31f4c37a034911a4992fd415f8177a75014946 +Subproject commit e3b7663f6392d8c10e8db57506ec37e4801b145a diff --git a/components/aws_iot/coremqtt/library b/components/aws_iot/coremqtt/library index 6d5641b..2beef04 160000 --- a/components/aws_iot/coremqtt/library +++ b/components/aws_iot/coremqtt/library @@ -1 +1 @@ -Subproject commit 6d5641b8a2f410470134d9bfe8ee71e3d83a565e +Subproject commit 2beef04725328923e05e576b884212d53ec97af7 diff --git a/components/aws_iot/coresntp/library b/components/aws_iot/coresntp/library index 32d2168..b492c22 160000 --- a/components/aws_iot/coresntp/library +++ b/components/aws_iot/coresntp/library @@ -1 +1 @@ -Subproject commit 32d2168d504e4a7b135ec890e601cc66efc32bd5 +Subproject commit b492c223cdbebfb9335166d0e6fc47e93a94de75 diff --git a/components/connectivity/backoff_algorithm/library b/components/connectivity/backoff_algorithm/library index 8818bed..3cc0bf8 160000 --- a/components/connectivity/backoff_algorithm/library +++ b/components/connectivity/backoff_algorithm/library @@ -1 +1 @@ -Subproject commit 8818bed40e57215fda8efa4b7fd33f7ae2c80d65 +Subproject commit 3cc0bf8c4d41d7cd7aa2f1ded5075c87bf6b2bbb diff --git a/components/connectivity/freertos_plus_tcp/library b/components/connectivity/freertos_plus_tcp/library index ba4e25c..abcb94c 160000 --- a/components/connectivity/freertos_plus_tcp/library +++ b/components/connectivity/freertos_plus_tcp/library @@ -1 +1 @@ -Subproject commit ba4e25c350020abcb787a3a319fdf991bef70538 +Subproject commit abcb94c8768532a6cae3c39ffe37602640992a28 diff --git a/manifest.yml b/manifest.yml index 4b8e652..203dad4 100644 --- a/manifest.yml +++ b/manifest.yml @@ -88,7 +88,7 @@ dependencies: license: "MIT" tpip-category: "category-2" security-risk: "low" - version: "v2.1.1" + version: "v2.3.1" repository: type: "git" url: "https://github.com/FreeRTOS/coreMQTT.git" @@ -97,7 +97,7 @@ dependencies: license: "MIT" tpip-category: "category-2" security-risk: "low" - version: "v3.2.0" + version: "v3.3.0" repository: type: "git" url: "https://github.com/FreeRTOS/coreJSON.git" @@ -115,7 +115,7 @@ dependencies: license: "MIT" tpip-category: "category-2" security-risk: "low" - version: "v1.2.0" + version: "v1.3.1" repository: type: "git" url: "https://github.com/FreeRTOS/coreSNTP.git" @@ -124,7 +124,7 @@ dependencies: license: "MIT" tpip-category: "category-2" security-risk: "low" - version: "v1.3.0" + version: "v1.4.1" repository: type: "git" url: "https://github.com/FreeRTOS/backoffAlgorithm.git" @@ -169,7 +169,7 @@ dependencies: license: "MIT" tpip-category: "category-2" security-risk: "low" - version: "ba4e25c350020abcb787a3a319fdf991bef70538" + version: "V4.2.2" repository: type: "git" url: "https://github.com/FreeRTOS/FreeRTOS-Plus-TCP.git" From 8c75fb689cb70372628ff869d9ae83c34e6fc17c Mon Sep 17 00:00:00 2001 From: Devaraj Ranganna Date: Mon, 16 Dec 2024 18:04:36 +0000 Subject: [PATCH 2/4] application: Move logging macros from `.h` to `.c` Due to incorrect order to libraries during linking stage, which was caused by `coremqtt-config` interface linking to `helpers-logging` build was failing. Therefore, move the logging macros definition from `.h` to `.c`. Signed-off-by: Devaraj Ranganna --- .../helpers/ota_orchestrator/CMakeLists.txt | 3 +++ .../ota_orchestrator/src/mqtt_helpers.c | 12 ++++++++++ .../ota_orchestrator/src/ota_orchestrator.c | 12 ++++++++++ .../ota_orchestrator/src/ota_os_freertos.c | 12 ++++++++++ applications/helpers/sntp/CMakeLists.txt | 4 +++- applications/keyword_detection/CMakeLists.txt | 1 + .../configs/aws_configs/CMakeLists.txt | 5 ---- .../configs/aws_configs/core_mqtt_config.h | 13 ---------- .../configs/aws_configs/ota_config.h | 24 ------------------- applications/keyword_detection/main.c | 12 ++++++++++ applications/object_detection/CMakeLists.txt | 1 + .../configs/aws_configs/CMakeLists.txt | 5 ---- .../configs/aws_configs/core_mqtt_config.h | 13 ---------- .../object_detection/isp/CMakeLists.txt | 1 - applications/object_detection/main.c | 16 +++++++++++++ .../speech_recognition/CMakeLists.txt | 1 + .../configs/aws_configs/CMakeLists.txt | 5 ---- .../configs/aws_configs/core_mqtt_config.h | 13 ---------- applications/speech_recognition/main.c | 12 ++++++++++ .../integration/CMakeLists.txt | 1 + .../iot_vsocket/integration/CMakeLists.txt | 1 + release_changes/202412161811.change.md | 1 + 22 files changed, 88 insertions(+), 80 deletions(-) create mode 100644 release_changes/202412161811.change.md diff --git a/applications/helpers/ota_orchestrator/CMakeLists.txt b/applications/helpers/ota_orchestrator/CMakeLists.txt index 5041bb4..d8f7774 100644 --- a/applications/helpers/ota_orchestrator/CMakeLists.txt +++ b/applications/helpers/ota_orchestrator/CMakeLists.txt @@ -18,6 +18,7 @@ else() ) target_link_libraries(ota-update + PUBLIC jobs-for-aws-iot-embedded-sdk aws-iot-core-mqtt-file-streams-embedded-c freertos_kernel @@ -29,5 +30,7 @@ else() helpers-events backoff-algorithm crt-helpers + PRIVATE + helpers-logging ) endif() diff --git a/applications/helpers/ota_orchestrator/src/mqtt_helpers.c b/applications/helpers/ota_orchestrator/src/mqtt_helpers.c index 53fcb08..bcb90e3 100644 --- a/applications/helpers/ota_orchestrator/src/mqtt_helpers.c +++ b/applications/helpers/ota_orchestrator/src/mqtt_helpers.c @@ -14,6 +14,18 @@ #include "ota_register_callback.h" #include "ota_types_definitions.h" +/* Include header that defines log levels. */ +#include "logging_levels.h" + +/* Configure name and log level for the OTA library. */ +#ifndef LIBRARY_LOG_NAME + #define LIBRARY_LOG_NAME "OTA" +#endif +#ifndef LIBRARY_LOG_LEVEL + #define LIBRARY_LOG_LEVEL LOG_INFO +#endif +#include "logging_stack.h" + /* Provides external linkage only when running unit test */ #ifdef UNIT_TESTING #define STATIC /* as nothing */ diff --git a/applications/helpers/ota_orchestrator/src/ota_orchestrator.c b/applications/helpers/ota_orchestrator/src/ota_orchestrator.c index 51364f7..274db70 100644 --- a/applications/helpers/ota_orchestrator/src/ota_orchestrator.c +++ b/applications/helpers/ota_orchestrator/src/ota_orchestrator.c @@ -68,6 +68,18 @@ #include "ota_register_callback.h" #include "ota_types_definitions.h" +/* Include header that defines log levels. */ +#include "logging_levels.h" + +/* Configure name and log level for the OTA library. */ +#ifndef LIBRARY_LOG_NAME + #define LIBRARY_LOG_NAME "OTA" +#endif +#ifndef LIBRARY_LOG_LEVEL + #define LIBRARY_LOG_LEVEL LOG_INFO +#endif +#include "logging_stack.h" + #define NUM_OF_BLOCKS_REQUESTED 1U #define START_JOB_MSG_LENGTH 147U #define MAX_JOB_ID_LENGTH 64U diff --git a/applications/helpers/ota_orchestrator/src/ota_os_freertos.c b/applications/helpers/ota_orchestrator/src/ota_os_freertos.c index a07e0bb..beac49b 100644 --- a/applications/helpers/ota_orchestrator/src/ota_os_freertos.c +++ b/applications/helpers/ota_orchestrator/src/ota_os_freertos.c @@ -28,6 +28,18 @@ #include "ota_types_definitions.h" +/* Include header that defines log levels. */ +#include "logging_levels.h" + +/* Configure name and log level for the OTA library. */ +#ifndef LIBRARY_LOG_NAME + #define LIBRARY_LOG_NAME "OTA" +#endif +#ifndef LIBRARY_LOG_LEVEL + #define LIBRARY_LOG_LEVEL LOG_INFO +#endif +#include "logging_stack.h" + /* OTA Event queue attributes.*/ #define MAX_MESSAGES 20 #define MAX_MSG_SIZE sizeof( OtaEventMsg_t ) diff --git a/applications/helpers/sntp/CMakeLists.txt b/applications/helpers/sntp/CMakeLists.txt index f85451e..321f2e7 100644 --- a/applications/helpers/sntp/CMakeLists.txt +++ b/applications/helpers/sntp/CMakeLists.txt @@ -20,11 +20,13 @@ else() ) target_link_libraries(helpers-sntp + PUBLIC backoff-algorithm connectivity-stack corepkcs11 coresntp - helpers-logging mbedtls + PRIVATE + helpers-logging ) endif() diff --git a/applications/keyword_detection/CMakeLists.txt b/applications/keyword_detection/CMakeLists.txt index 1131886..3caba1f 100644 --- a/applications/keyword_detection/CMakeLists.txt +++ b/applications/keyword_detection/CMakeLists.txt @@ -141,6 +141,7 @@ target_link_libraries(keyword-detection fri-bsp helpers-device-advisor helpers-events + helpers-logging mbedtls ota-update provisioning-lib diff --git a/applications/keyword_detection/configs/aws_configs/CMakeLists.txt b/applications/keyword_detection/configs/aws_configs/CMakeLists.txt index 24bbfa0..6beec89 100644 --- a/applications/keyword_detection/configs/aws_configs/CMakeLists.txt +++ b/applications/keyword_detection/configs/aws_configs/CMakeLists.txt @@ -7,11 +7,6 @@ target_include_directories(coremqtt-config . ) -target_link_libraries(coremqtt-config - INTERFACE - helpers-logging -) - target_compile_definitions(coremqtt-agent-config INTERFACE MQTT_AGENT_DO_NOT_USE_CUSTOM_CONFIG diff --git a/applications/keyword_detection/configs/aws_configs/core_mqtt_config.h b/applications/keyword_detection/configs/aws_configs/core_mqtt_config.h index 8ea1f7b..bb53348 100644 --- a/applications/keyword_detection/configs/aws_configs/core_mqtt_config.h +++ b/applications/keyword_detection/configs/aws_configs/core_mqtt_config.h @@ -25,19 +25,6 @@ #ifndef CORE_MQTT_CONFIG_H #define CORE_MQTT_CONFIG_H -#include "logging_levels.h" - -/* Logging configuration for the MQTT library. */ -#ifndef LIBRARY_LOG_NAME - #define LIBRARY_LOG_NAME "MQTT" -#endif - -#ifndef LIBRARY_LOG_LEVEL - #define LIBRARY_LOG_LEVEL LOG_INFO -#endif - -#include "logging_stack.h" - /** * @brief The maximum number of MQTT PUBLISH messages that may be pending * acknowledgment at any time. diff --git a/applications/keyword_detection/configs/aws_configs/ota_config.h b/applications/keyword_detection/configs/aws_configs/ota_config.h index 829b25f..6351ca4 100644 --- a/applications/keyword_detection/configs/aws_configs/ota_config.h +++ b/applications/keyword_detection/configs/aws_configs/ota_config.h @@ -28,30 +28,6 @@ #ifndef OTA_CONFIG_H_ #define OTA_CONFIG_H_ -/**************************************************/ -/******* DO NOT CHANGE the following order ********/ -/**************************************************/ - -/* Logging related header files are required to be included in the following order: - * 1. Include the header file "logging_levels.h". - * 2. Define LIBRARY_LOG_NAME and LIBRARY_LOG_LEVEL. - * 3. Include the header file "logging_stack.h". - */ - -/* Include header that defines log levels. */ -#include "logging_levels.h" - -/* Configure name and log level for the OTA library. */ -#ifndef LIBRARY_LOG_NAME - #define LIBRARY_LOG_NAME "OTA" -#endif -#ifndef LIBRARY_LOG_LEVEL - #define LIBRARY_LOG_LEVEL LOG_INFO -#endif -#include "logging_stack.h" - -/************ End of logging configuration ****************/ - /* Include config file used for testing the OTA PAL. This config file defines * the otapalconfigCODE_SIGNING_CERTIFICATE macro. */ #include "ota_demo_config.h" diff --git a/applications/keyword_detection/main.c b/applications/keyword_detection/main.c index 9231355..b7079eb 100644 --- a/applications/keyword_detection/main.c +++ b/applications/keyword_detection/main.c @@ -30,6 +30,18 @@ #include "FreeRTOSConfig.h" +/* Include header that defines log levels. */ +#include "logging_levels.h" + +/* Configure name and log level for the OTA library. */ +#ifndef LIBRARY_LOG_NAME + #define LIBRARY_LOG_NAME "main" +#endif +#ifndef LIBRARY_LOG_LEVEL + #define LIBRARY_LOG_LEVEL LOG_INFO +#endif +#include "logging_stack.h" + #ifdef AUDIO_VSI #include "Driver_SAI.h" #endif diff --git a/applications/object_detection/CMakeLists.txt b/applications/object_detection/CMakeLists.txt index 01e1dc5..5bb03ac 100644 --- a/applications/object_detection/CMakeLists.txt +++ b/applications/object_detection/CMakeLists.txt @@ -134,6 +134,7 @@ target_link_libraries(object-detection toolchain-override object_detection_api object_detection_model + helpers-logging ) include(${IOT_REFERENCE_ARM_CORSTONE3XX_SOURCE_DIR}/bsp/cmake/SetLinkerOptions.cmake) diff --git a/applications/object_detection/configs/aws_configs/CMakeLists.txt b/applications/object_detection/configs/aws_configs/CMakeLists.txt index f9c3882..b40abd2 100644 --- a/applications/object_detection/configs/aws_configs/CMakeLists.txt +++ b/applications/object_detection/configs/aws_configs/CMakeLists.txt @@ -7,11 +7,6 @@ target_include_directories(coremqtt-config . ) -target_link_libraries(coremqtt-config - INTERFACE - helpers-logging -) - target_compile_definitions(coremqtt-agent-config INTERFACE MQTT_AGENT_DO_NOT_USE_CUSTOM_CONFIG diff --git a/applications/object_detection/configs/aws_configs/core_mqtt_config.h b/applications/object_detection/configs/aws_configs/core_mqtt_config.h index 8ea1f7b..bb53348 100644 --- a/applications/object_detection/configs/aws_configs/core_mqtt_config.h +++ b/applications/object_detection/configs/aws_configs/core_mqtt_config.h @@ -25,19 +25,6 @@ #ifndef CORE_MQTT_CONFIG_H #define CORE_MQTT_CONFIG_H -#include "logging_levels.h" - -/* Logging configuration for the MQTT library. */ -#ifndef LIBRARY_LOG_NAME - #define LIBRARY_LOG_NAME "MQTT" -#endif - -#ifndef LIBRARY_LOG_LEVEL - #define LIBRARY_LOG_LEVEL LOG_INFO -#endif - -#include "logging_stack.h" - /** * @brief The maximum number of MQTT PUBLISH messages that may be pending * acknowledgment at any time. diff --git a/applications/object_detection/isp/CMakeLists.txt b/applications/object_detection/isp/CMakeLists.txt index 4188c5f..709e139 100644 --- a/applications/object_detection/isp/CMakeLists.txt +++ b/applications/object_detection/isp/CMakeLists.txt @@ -19,5 +19,4 @@ target_sources(isp-config target_link_libraries(isp-config INTERFACE isp_control - helpers-logging ) diff --git a/applications/object_detection/main.c b/applications/object_detection/main.c index 05fd209..34e3d30 100644 --- a/applications/object_detection/main.c +++ b/applications/object_detection/main.c @@ -28,6 +28,22 @@ #include "FreeRTOSConfig.h" +/* Include header that defines log levels. */ +#include "logging_levels.h" + +/* Configure name and log level for the OTA library. */ +#ifndef LIBRARY_LOG_NAME + #define LIBRARY_LOG_NAME "main" +#endif +#ifndef LIBRARY_LOG_LEVEL + #define LIBRARY_LOG_LEVEL LOG_INFO +#endif +#include "logging_stack.h" + +#ifdef AUDIO_VSI + #include "Driver_SAI.h" +#endif + #ifdef AUDIO_VSI #include "Driver_SAI.h" #endif diff --git a/applications/speech_recognition/CMakeLists.txt b/applications/speech_recognition/CMakeLists.txt index 46ffe5f..0ab7975 100644 --- a/applications/speech_recognition/CMakeLists.txt +++ b/applications/speech_recognition/CMakeLists.txt @@ -161,6 +161,7 @@ target_link_libraries(speech-recognition toolchain-override asr_api asr_model + helpers-logging ) include(${IOT_REFERENCE_ARM_CORSTONE3XX_SOURCE_DIR}/bsp/cmake/SetLinkerOptions.cmake) diff --git a/applications/speech_recognition/configs/aws_configs/CMakeLists.txt b/applications/speech_recognition/configs/aws_configs/CMakeLists.txt index 24bbfa0..6beec89 100644 --- a/applications/speech_recognition/configs/aws_configs/CMakeLists.txt +++ b/applications/speech_recognition/configs/aws_configs/CMakeLists.txt @@ -7,11 +7,6 @@ target_include_directories(coremqtt-config . ) -target_link_libraries(coremqtt-config - INTERFACE - helpers-logging -) - target_compile_definitions(coremqtt-agent-config INTERFACE MQTT_AGENT_DO_NOT_USE_CUSTOM_CONFIG diff --git a/applications/speech_recognition/configs/aws_configs/core_mqtt_config.h b/applications/speech_recognition/configs/aws_configs/core_mqtt_config.h index 8ea1f7b..bb53348 100644 --- a/applications/speech_recognition/configs/aws_configs/core_mqtt_config.h +++ b/applications/speech_recognition/configs/aws_configs/core_mqtt_config.h @@ -25,19 +25,6 @@ #ifndef CORE_MQTT_CONFIG_H #define CORE_MQTT_CONFIG_H -#include "logging_levels.h" - -/* Logging configuration for the MQTT library. */ -#ifndef LIBRARY_LOG_NAME - #define LIBRARY_LOG_NAME "MQTT" -#endif - -#ifndef LIBRARY_LOG_LEVEL - #define LIBRARY_LOG_LEVEL LOG_INFO -#endif - -#include "logging_stack.h" - /** * @brief The maximum number of MQTT PUBLISH messages that may be pending * acknowledgment at any time. diff --git a/applications/speech_recognition/main.c b/applications/speech_recognition/main.c index 2021f8b..34f1fbf 100644 --- a/applications/speech_recognition/main.c +++ b/applications/speech_recognition/main.c @@ -32,6 +32,18 @@ #include "FreeRTOSConfig.h" +/* Include header that defines log levels. */ +#include "logging_levels.h" + +/* Configure name and log level for the OTA library. */ +#ifndef LIBRARY_LOG_NAME + #define LIBRARY_LOG_NAME "main" +#endif +#ifndef LIBRARY_LOG_LEVEL + #define LIBRARY_LOG_LEVEL LOG_INFO +#endif +#include "logging_stack.h" + #ifdef AUDIO_VSI #include "Driver_SAI.h" #endif diff --git a/components/connectivity/freertos_plus_tcp/integration/CMakeLists.txt b/components/connectivity/freertos_plus_tcp/integration/CMakeLists.txt index fb42225..36ae178 100644 --- a/components/connectivity/freertos_plus_tcp/integration/CMakeLists.txt +++ b/components/connectivity/freertos_plus_tcp/integration/CMakeLists.txt @@ -27,6 +27,7 @@ else () PRIVATE coremqtt helpers-events + helpers-logging iot-tls ) diff --git a/components/connectivity/iot_vsocket/integration/CMakeLists.txt b/components/connectivity/iot_vsocket/integration/CMakeLists.txt index b89ab1e..570f37a 100644 --- a/components/connectivity/iot_vsocket/integration/CMakeLists.txt +++ b/components/connectivity/iot_vsocket/integration/CMakeLists.txt @@ -22,6 +22,7 @@ else() PRIVATE coremqtt helpers-events + helpers-logging fri-bsp iot-socket-api iot-tls diff --git a/release_changes/202412161811.change.md b/release_changes/202412161811.change.md new file mode 100644 index 0000000..96ca5a5 --- /dev/null +++ b/release_changes/202412161811.change.md @@ -0,0 +1 @@ +Update AWS libraries to `202406.01-LTS` From 77d544e05bd03f48497180d826f0dbf71321e61e Mon Sep 17 00:00:00 2001 From: Devaraj Ranganna Date: Thu, 19 Dec 2024 16:59:14 +0000 Subject: [PATCH 3/4] integration-test: Update TCP keep alive interval config With latest FreeRTOS TCP/IP stack, due to a timing issue, most of the MQTT tests fail on FVP, because of TCP keep alive timeout. Therefore, increase the TCP keep alive timeout `ipconfigTCP_KEEP_ALIVE_INTERVAL` from `20` to `300` seconds. Signed-off-by: Devaraj Ranganna --- .../configs/freertos_config/FreeRTOSIPConfig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/freertos_iot_libraries_tests/configs/freertos_config/FreeRTOSIPConfig.h b/applications/freertos_iot_libraries_tests/configs/freertos_config/FreeRTOSIPConfig.h index 82a436a..280ef8b 100644 --- a/applications/freertos_iot_libraries_tests/configs/freertos_config/FreeRTOSIPConfig.h +++ b/applications/freertos_iot_libraries_tests/configs/freertos_config/FreeRTOSIPConfig.h @@ -301,7 +301,7 @@ extern void vLoggingPrintf( const char * pcFormatString, /* Include support for TCP keep-alive messages. */ #define ipconfigTCP_KEEP_ALIVE ( 1 ) -#define ipconfigTCP_KEEP_ALIVE_INTERVAL ( 20 ) /* in seconds */ +#define ipconfigTCP_KEEP_ALIVE_INTERVAL ( 300 ) /* in seconds */ /* Include all API's and code that is needed for the IPv4 protocol. * When defined as zero, the application should uses IPv6. */ From ff810fb393f01ad6002495c1662b71787e251a85 Mon Sep 17 00:00:00 2001 From: Devaraj Ranganna Date: Mon, 23 Dec 2024 13:55:11 +0000 Subject: [PATCH 4/4] integration-tests: Increase MQTT keep alive interval With latest FreeRTOS TCP/IP stack, due to a timing issue, most of the MQTT tests fail on FVP, because of connection reset. Therefore, increase the MQTT keep alive timeout `MQTT_KEEP_ALIVE_INTERVAL_SECONDS` from `60` to `300` seconds. Signed-off-by: Devaraj Ranganna --- .../integration/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/tools/freertos_libraries_integration_tests/integration/CMakeLists.txt b/components/tools/freertos_libraries_integration_tests/integration/CMakeLists.txt index 30563ce..adc3860 100644 --- a/components/tools/freertos_libraries_integration_tests/integration/CMakeLists.txt +++ b/components/tools/freertos_libraries_integration_tests/integration/CMakeLists.txt @@ -28,7 +28,7 @@ target_link_libraries(freertos-libraries-integration-tests-mqtt # reset request when the device is busy. target_compile_definitions(freertos-libraries-integration-tests-mqtt PRIVATE - MQTT_KEEP_ALIVE_INTERVAL_SECONDS=60 + MQTT_KEEP_ALIVE_INTERVAL_SECONDS=300 ) add_library(freertos-libraries-integration-tests-pkcs11