Issue with AWS Connection on nRF9160DK Board

Hi Team,

I hope this email finds you well. I am reaching out regarding an issue I am encountering with AWS cloud connection on the nRF9160DK board.

I have been working on establishing a connection to AWS using the nRF9160DK board with SDK version v2.6.0 and MFW 1.3.6. Following the documentation provided for nRF9160 SDK v2.6.0, I have successfully created an AWS certificate and nRF key on the device, and attached the necessary policy.

In the project configuration, I have added the endpoint, client ID, and set the security tag as follows:

CONFIG_AWS_IOT_CLIENT_ID_STATIC="THING_DK"
CONFIG_AWS_IOT_BROKER_HOST_NAME="xxxxxx0-ats.iot.us-east-2.amazonaws.com"

After flashing the code, however, I only receive the following output:



CONFIG_LTE_LINK_CONTROL_LOG_LEVEL_DBG=y  I added this line to address network issue but after that also I got same result. 

Upon further investigation, I noticed that even when using a new sample AWS_IOT code without any modifications to the project configuration, I still encounter the same output.

In attempting to debug the issue in main.c, I found myself stuck in the following if condition:

//if (IS_ENABLED(CONFIG_BOARD_QEMU_X86) || IS_ENABLED(CONFIG_BOARD_NATIVE_SIM)) {
conn_mgr_mon_resend_status();
//}


Commenting out this section resulted in two errors: "network connectivity lost."

I am puzzled by why I am encountering this issue specifically with AWS cloud connection while other sample cloud connection codes, such as nRF multi-service, successfully establish network connectivity and connect to the nRF cloud.

Could you kindly provide insight into what might be causing this issue and how I could potentially resolve it?

Your assistance would be greatly appreciated.

Thank you for your attention to this matter.

Best regards,

Muthu

Related