Asset Tracker V2 and AWS Cloud

Hello, I am working with the asset tracker v2 application and I want to connect it with Aws Cloud. 
I follow the steps corresponding to the tutorial and I am not successful.

If I use the example of Aws Iot I can upload data successfully.
I think the "prj.config" and "overlay-debug.conf" files are not configured correctly


---------------------In prj.conf------------------------
## AWS IoT
## Mandatory application specific configurations for AWS_IOT.
CONFIG_AWS_IOT=y
CONFIG_AWS_IOT_APP_SUBSCRIPTION_LIST_COUNT=2
CONFIG_AWS_IOT_LAST_WILL=y
CONFIG_AWS_IOT_AUTO_DEVICE_SHADOW_REQUEST=y
CONFIG_AWS_IOT_CLIENT_ID_APP=y
CONFIG_AWS_IOT_MQTT_PAYLOAD_BUFFER_LEN=2048
CONFIG_AWS_IOT_MQTT_RX_TX_BUFFER_LEN=2048
CONFIG_AWS_IOT_TOPIC_GET_ACCEPTED_SUBSCRIBE=y
CONFIG_AWS_IOT_TOPIC_GET_REJECTED_SUBSCRIBE=y
CONFIG_AWS_IOT_TOPIC_UPDATE_DELTA_SUBSCRIBE=y
CONFIG_AWS_FOTA=y
CONFIG_FOTA_DOWNLOAD=y
CONFIG_DFU_TARGET=y


## AWS IoT options that must be configured.
CONFIG_AWS_IOT_SEC_TAG=42
CONFIG_AWS_IOT_BROKER_HOST_NAME="xxxxxxxxxxxxx-ats.iot.xx-xxxx-x.amazonaws.com"
CONFIG_AWS_IOT_CLIENT_ID_STATIC=" < imei iot >"

# nRF Nube# CONFIG_NRF_CLOUD=y#  CONFIG_NRF_CLOUD_MQTT=y 
#5 CONFIG_NRF_CLOUD_CONNECTION_POLL_THREAD=y
#7 CONFIG_NRF_CLOUD_SEND_TIMEOUT=y
# GPS
#8 CONFIG_GPS_MODULE_NMEA=y
## A-GPS and P-GPS
# Set nRF Cloud as source for handling incoming A-GPS and P-GPS data.
# This enables the application to use nRF Cloud specific APIs to process
# incoming A-GPS and P-GPS data that has indirectly been fetched from nRF Cloud
# on the cloud side also when nRF Cloud is not used as the cloud backend.
#1 CONFIG_AGPS=y
#2 CONFIG_AGPS_SRC_NRF_CLOUD=y
#3 CONFIG_NRF_CLOUD=y
#4 CONFIG_NRF_CLOUD_AGPS=y
# Be aware that P-GPS received a lot of data over the network when it's used.
#6 CONFIG_NRF_CLOUD_PGPS=y
# CONFIG_NRF_CLOUD_PGPS_REQUEST_ALL_UPON_INIT=n %MCEPASTEBINA%

------------In overlay-debug.conf---------------

# nRF Cloud
# CONFIG_NRF_CLOUD_FOTA_LOG_LEVEL_DBG=y
# CONFIG_NRF_CLOUD_LOG_LEVEL_DBG=y
# CONFIG_NRF_CLOUD_GPS_LOG_LEVEL_DBG=y
# AWS CLOUD ##
CONFIG_AWS_FOTA_LOG_LEVEL_DBG=y
CONFIG_AWS_IOT_LOG_LEVEL_DBG=y
CONFIG_AWS_JOBS_LOG_LEVEL_DBG=y%MCEPASTEBINA%

Parents Reply Children
No Data
Related