diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..0ffe3be Binary files /dev/null and b/.DS_Store differ diff --git a/.mcuxpressoide_packages_support/LPC54018_support/LPC54018_internal.xml b/.mcuxpressoide_packages_support/LPC54018_support/LPC54018_internal.xml deleted file mode 100644 index fff24c1..0000000 --- a/.mcuxpressoide_packages_support/LPC54018_support/LPC54018_internal.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - LPC54018 - LPC540xx - NXP - - - - - - - - Cortex-M4 - Cortex-M - - - diff --git a/.mcuxpressoide_packages_support/LPC54018_support/LPC540xx_dir_part.xml b/.mcuxpressoide_packages_support/LPC54018_support/LPC540xx_dir_part.xml deleted file mode 100644 index 9bd9e49..0000000 --- a/.mcuxpressoide_packages_support/LPC54018_support/LPC540xx_dir_part.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - diff --git a/.mcuxpressoide_packages_support/LPC54018_support/LPC540xx_list.xml b/.mcuxpressoide_packages_support/LPC54018_support/LPC540xx_list.xml deleted file mode 100644 index 1d8bb2d..0000000 --- a/.mcuxpressoide_packages_support/LPC54018_support/LPC540xx_list.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/.mcuxpressoide_packages_support/LPC54018_support/crt_directory.dtd b/.mcuxpressoide_packages_support/LPC54018_support/crt_directory.dtd deleted file mode 100644 index 82b67e1..0000000 --- a/.mcuxpressoide_packages_support/LPC54018_support/crt_directory.dtd +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/.mcuxpressoide_packages_support/LPC54018_support/crt_infolist.dtd b/.mcuxpressoide_packages_support/LPC54018_support/crt_infolist.dtd deleted file mode 100644 index 26843dc..0000000 --- a/.mcuxpressoide_packages_support/LPC54018_support/crt_infolist.dtd +++ /dev/null @@ -1,279 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.mcuxpressoide_packages_support/LPC54018_support/info.properties b/.mcuxpressoide_packages_support/LPC54018_support/info.properties deleted file mode 100644 index c0f63c7..0000000 --- a/.mcuxpressoide_packages_support/LPC54018_support/info.properties +++ /dev/null @@ -1,7 +0,0 @@ -#MCUXpresso IDE part support -#Tue Apr 25 15:39:23 PDT 2023 -sdk.id=SDK_2.x_LPC54018-IoT-Module -sdk.build=366 2020-07-21 -device.version=1.0.0 -sdk.version=2.8.0 -device.id=LPC54018 diff --git a/.mcuxpressoide_packages_support/LPC54608J512_support/LPC54608_internal.xml b/.mcuxpressoide_packages_support/LPC54608J512_support/LPC54608_internal.xml deleted file mode 100644 index fb2de67..0000000 --- a/.mcuxpressoide_packages_support/LPC54608J512_support/LPC54608_internal.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - LPC54608J512 - LPC546xx - NXP - - - - - - - - - Cortex-M4 - Cortex-M - - - diff --git a/.mcuxpressoide_packages_support/LPC54608J512_support/LPC546xx_dir_part.xml b/.mcuxpressoide_packages_support/LPC54608J512_support/LPC546xx_dir_part.xml deleted file mode 100644 index 0e653f8..0000000 --- a/.mcuxpressoide_packages_support/LPC54608J512_support/LPC546xx_dir_part.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - diff --git a/.mcuxpressoide_packages_support/LPC54608J512_support/LPC546xx_list.xml b/.mcuxpressoide_packages_support/LPC54608J512_support/LPC546xx_list.xml deleted file mode 100644 index 00ff9d1..0000000 --- a/.mcuxpressoide_packages_support/LPC54608J512_support/LPC546xx_list.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/.mcuxpressoide_packages_support/LPC54608J512_support/crt_directory.dtd b/.mcuxpressoide_packages_support/LPC54608J512_support/crt_directory.dtd deleted file mode 100644 index 82b67e1..0000000 --- a/.mcuxpressoide_packages_support/LPC54608J512_support/crt_directory.dtd +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/.mcuxpressoide_packages_support/LPC54608J512_support/crt_infolist.dtd b/.mcuxpressoide_packages_support/LPC54608J512_support/crt_infolist.dtd deleted file mode 100644 index 26843dc..0000000 --- a/.mcuxpressoide_packages_support/LPC54608J512_support/crt_infolist.dtd +++ /dev/null @@ -1,279 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.mcuxpressoide_packages_support/LPC54608J512_support/info.properties b/.mcuxpressoide_packages_support/LPC54608J512_support/info.properties deleted file mode 100644 index af61a94..0000000 --- a/.mcuxpressoide_packages_support/LPC54608J512_support/info.properties +++ /dev/null @@ -1,7 +0,0 @@ -#MCUXpresso IDE part support -#Tue Apr 25 15:39:22 PDT 2023 -sdk.id=SDK_2.x_LPCXpresso54608 -sdk.build=303 2019-12-19 -device.version=1.0.0 -sdk.version=2.7.0 -device.id=LPC54608J512 diff --git a/.mcuxpressoide_packages_support/MIMXRT1062xxxxA_support/MIMXRT1060_dir_part.xml b/.mcuxpressoide_packages_support/MIMXRT1062xxxxA_support/MIMXRT1060_dir_part.xml deleted file mode 100644 index 22e40ba..0000000 --- a/.mcuxpressoide_packages_support/MIMXRT1062xxxxA_support/MIMXRT1060_dir_part.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - diff --git a/.mcuxpressoide_packages_support/MIMXRT1062xxxxA_support/MIMXRT1060_list.xml b/.mcuxpressoide_packages_support/MIMXRT1062xxxxA_support/MIMXRT1060_list.xml deleted file mode 100644 index ea6460b..0000000 --- a/.mcuxpressoide_packages_support/MIMXRT1062xxxxA_support/MIMXRT1060_list.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/.mcuxpressoide_packages_support/MIMXRT1062xxxxA_support/MIMXRT1062_internal.xml b/.mcuxpressoide_packages_support/MIMXRT1062xxxxA_support/MIMXRT1062_internal.xml deleted file mode 100644 index a99a8dc..0000000 --- a/.mcuxpressoide_packages_support/MIMXRT1062xxxxA_support/MIMXRT1062_internal.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - MIMXRT1062xxxxA - MIMXRT1060 - NXP - - - - - - - - - Cortex-M7 - Cortex-M - - - diff --git a/.mcuxpressoide_packages_support/MIMXRT1062xxxxA_support/crt_directory.dtd b/.mcuxpressoide_packages_support/MIMXRT1062xxxxA_support/crt_directory.dtd deleted file mode 100644 index 82b67e1..0000000 --- a/.mcuxpressoide_packages_support/MIMXRT1062xxxxA_support/crt_directory.dtd +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/.mcuxpressoide_packages_support/MIMXRT1062xxxxA_support/crt_infolist.dtd b/.mcuxpressoide_packages_support/MIMXRT1062xxxxA_support/crt_infolist.dtd deleted file mode 100644 index 26843dc..0000000 --- a/.mcuxpressoide_packages_support/MIMXRT1062xxxxA_support/crt_infolist.dtd +++ /dev/null @@ -1,279 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.mcuxpressoide_packages_support/MIMXRT1062xxxxA_support/info.properties b/.mcuxpressoide_packages_support/MIMXRT1062xxxxA_support/info.properties deleted file mode 100644 index 42bb766..0000000 --- a/.mcuxpressoide_packages_support/MIMXRT1062xxxxA_support/info.properties +++ /dev/null @@ -1,7 +0,0 @@ -#MCUXpresso IDE part support -#Tue Apr 25 15:39:23 PDT 2023 -sdk.id=SDK_2.x_MIMXRT1060-EVKB -sdk.build=679 2023-03-27 -device.version=1.0.0 -sdk.version=2.13.1 -device.id=MIMXRT1062xxxxA diff --git a/.mcuxpressoide_packages_support/crt_directory.dtd b/.mcuxpressoide_packages_support/crt_directory.dtd deleted file mode 100644 index 82b67e1..0000000 --- a/.mcuxpressoide_packages_support/crt_directory.dtd +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/.mcuxpressoide_packages_support/crt_directory.xml b/.mcuxpressoide_packages_support/crt_directory.xml deleted file mode 100644 index 4105d45..0000000 --- a/.mcuxpressoide_packages_support/crt_directory.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/.mcuxpressoide_packages_support/crt_infolist.dtd b/.mcuxpressoide_packages_support/crt_infolist.dtd deleted file mode 100644 index 26843dc..0000000 --- a/.mcuxpressoide_packages_support/crt_infolist.dtd +++ /dev/null @@ -1,279 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.mcuxpressoide_packages_support/info.properties b/.mcuxpressoide_packages_support/info.properties deleted file mode 100644 index 66a3b25..0000000 --- a/.mcuxpressoide_packages_support/info.properties +++ /dev/null @@ -1,5 +0,0 @@ -#MCUXpresso IDE -#Tue Apr 25 15:39:22 PDT 2023 -product.name=MCUXpresso IDE v11.7.0 [Build 9198] [2023-01-17] -product.version=11.7.0 -product.build=9198 diff --git a/.mcuxpressoide_packages_support/readme.txt b/.mcuxpressoide_packages_support/readme.txt deleted file mode 100644 index 00460b7..0000000 --- a/.mcuxpressoide_packages_support/readme.txt +++ /dev/null @@ -1,2 +0,0 @@ -This folder is automatically created and contains the SDK part support for the IDE -*** DO NOT REMOVE OR MODIFY, YOUR CHANGES WILL BE OVERWRITTEN ON SDK REFRESH *** \ No newline at end of file diff --git a/Middleware/FreeRTOS/transport_mbedtls/using_mbedtls.c b/Middleware/FreeRTOS/transport_mbedtls/using_mbedtls.c index d628e3f..c9ffd1b 100644 --- a/Middleware/FreeRTOS/transport_mbedtls/using_mbedtls.c +++ b/Middleware/FreeRTOS/transport_mbedtls/using_mbedtls.c @@ -626,6 +626,13 @@ static TlsTransportStatus_t tlsSetup( NetworkContext_t * pNetworkContext, mbedtls_ssl_conf_cert_profile( &( pNetworkContext->sslContext.config ), &( pNetworkContext->sslContext.certProfile ) ); + /* Only use this cipher suite to connect to the broker. */ + const int ciphersuites[] = { + MBEDTLS_TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, + 0 /* End of list. */ + }; + mbedtls_ssl_conf_ciphersuites( &( pNetworkContext->sslContext.config ), ciphersuites ); + /* Parse the server root CA certificate into the SSL context. */ mbedtlsError = mbedtls_x509_crt_parse( &( pNetworkContext->sslContext.rootCa ), pNetworkCredentials->pRootCa,