Chapter 2. API Reference
• wolfSSL (License info in wolfSSL directory README) (ASIO_USE_ESP_WOLFSSL)
CoAP Configuration Contains:
• CONFIG_COAP_MBEDTLS_ENCRYPTION_MODE
• CONFIG_COAP_MBEDTLS_DEBUG
CONFIG_COAP_MBEDTLS_ENCRYPTION_MODE
CoAP Encryption method
Found in: Component config > CoAP Configuration
If the CoAP information is to be encrypted, the encryption environment can be set up in one of two
ways (default being Pre-Shared key mode)
• Encrypt using defined Pre-Shared Keys (PSK if uri includes coaps://)
• Encrypt using defined Public Key Infrastructure (PKI if uri includes coaps://)
Available options:
• Pre-Shared Keys (COAP_MBEDTLS_PSK)
• PKI Certificates (COAP_MBEDTLS_PKI)
CONFIG_COAP_MBEDTLS_DEBUG
Enable CoAP debugging
Found in: Component config > CoAP Configuration
Enable CoAP debugging functions at compile time for the example code.
If this option is enabled, call coap_set_log_level() at runtime in order to enable CoAP debug output via
the ESP log mechanism.
Default value:
• No (disabled)
CONFIG_COAP_MBEDTLS_DEBUG_LEVEL
Set CoAP debugging level
Found in: Component config > CoAP Configuration > CONFIG_COAP_MBEDTLS_DEBUG
Set CoAP debugging level
Available options:
• Emergency (COAP_LOG_EMERG)
• Alert (COAP_LOG_ALERT)
• Critical (COAP_LOG_CRIT)
• Error (COAP_LOG_ERROR)
• Warning (COAP_LOG_WARNING)
• Notice (COAP_LOG_NOTICE)
• Info (COAP_LOG_INFO)
• Debug (COAP_LOG_DEBUG)
• mbedTLS (COAP_LOG_MBEDTLS)
Driver configurations Contains:
• ADC configuration
• GDMA Configuration
• MCPWM configuration
• SPI configuration
• TWAI configuration
Espressif Systems 1090
Submit Document Feedback
Release v4.4