AWS MQTT Connection Issue on nrf7002 kit

Hi,

I am not able to connect to AWS MQTT (using sample code for AWS ) . I am getting Error code -11 every time . CA cart and keys added in code. 

Same keys are working fine in MQTTX windows app.

MQTT i.e without keys normal TLS level is working ok .

Parents Reply
  • Hi,

     

    Thank you for clarifying.

    Q1: Could you share which board you are configuring for? Is it nrf7002dk/nrf5340/cpuapp/ns ? 

    Q2: Could you run the firmware with mbedtls in a debug mode and share the verbose output?

    CONFIG_LOG=y
    CONFIG_MBEDTLS_DEBUG=y
    CONFIG_MBEDTLS_SSL_DEBUG_ALL=y
    CONFIG_MBEDTLS_LOG_LEVEL_DBG=y
    CONFIG_MBEDTLS_DEBUG_C=y
    CONFIG_MBEDTLS_DEBUG_LEVEL=4
    # Handle the large influx of prints
    CONFIG_LOG_BUFFER_SIZE=16384

     

    Kind regards,

    Håkon

Children
No Data
Related