- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I’m trying to connect the CSBSYSKIT-DEV-01 to own MQTT-TLS broker based on sample application “mtb-example-optiga-mqtt-client”.
How can I output the logs from the MbedTLS library through UART?
Below options are defined in the makefile.
MBEDTLSFLAGS = MBEDTLS_USER_CONFIG_FILE='"mbedtls_user_config.h"' CY_CRYPTO_HAL_DISABLE ENABLE_SECURE_SOCKETS_LOGS
Solved! Go to Solution.
- Labels:
-
ModusToolbox General
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
Could you try to change the definition of log_level defined in “<project name>libs\secure-sockets\source\COMPONENT_MBEDTLS\cy_tls.c”?
#define MBEDTLS_VERBOSE <log_level>
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
Could you try to change the definition of log_level defined in “<project name>libs\secure-sockets\source\COMPONENT_MBEDTLS\cy_tls.c”?
#define MBEDTLS_VERBOSE <log_level>
Thanks