Need to understand the asset tracking sample code how its collects data and sends via LTE to the cloud. How data passes from board to cloud.

Hi,
     I'm using nRF9160DK board working on cellular IOT exercises. Here I completed the exercises and i can receive the expected data's as mentioned in the exercises. Now I'm looking into the sample code of the asset tracker v2 application code https://github.com/nrfconnect/sdk-nrf here I seen the code but need to understand the asset tracking sample code how its collects data from LTE and sending it to the cloud. How data passes from board to cloud. In code which part are responsible of collecting data, how its connecting to nrf cloud, in which step the code is triggering to connect to nRF cloud. Here in this git code, I could have seen a cloud folder there are aws_iot_code.c,azure iot hub code.c,nrf cloud code.c I have few confusions does nrf cloud internally using aws cloud or nrf cloud is separate cloud?

So, I'm new to this nrf semiconductors it is somewhat difficult to understand the code . If you could help me how the sample code is connecting  board and nrf cloud means I could create an own application for my project. 

  • Hi,

    Which version of the SDK do you use?

    I'm using nRF9160DK board working on cellular IOT exercises.

    Which exercises?

    need to understand the asset tracking sample code

    The Asset Tracker v2 sample has very good documentation. I recommend having a look at this.

    I have few confusions does nrf cloud internally using aws cloud or nrf cloud is separate cloud?

    Why do you ask?

    Regards,
    Sigurd Hellesvik

  • Why do you ask?

    I am reaching out to seek clarification on the integration between nRF Cloud and AWS Cloud.

    In reviewing the sample code provided, I noticed the presence of AWS-related files and code segments within the assert tracking code. This has led to some confusion on my end regarding the relationship between nRF Cloud and AWS Cloud.

    Specifically, I would like to understand if nRF Cloud utilizes AWS Cloud internally, or if nRF Cloud operates as a separate entity altogether. Additionally, I am curious about the distinction between nRF Cloud, AWS Cloud, and Azure IoT. Are these platforms entirely separate, or do they interact in some capacity?

    Clarifying this relationship would greatly assist me in comprehending how our board connects to nRF Cloud. As we are planning to utilize AWS Cloud for our project so we can develop our own application, gaining insights into this integration would be immensely beneficial.

    I appreciate any information or resources you can provide to help clarify this matter.

    Thank you for your attention to this inquiry.

    Regards,
    Purushothaman

  • https://docs.nrfcloud.com/:

    "
    The platform is built on Amazon Web Services (AWS) as a collection of integrated microservices. You and your devices can interact with nRF Cloud services through a web portal and REST, MQTT, and CoAP APIs. You can also combine these depending on your use case.
    "

    purushothaman said:
    Clarifying this relationship would greatly assist me in comprehending how our board connects to nRF Cloud. As we are planning to utilize AWS Cloud for our project so we can develop our own application, gaining insights into this integration would be immensely beneficial.

    Even if we have built nRF Cloud on AWS, you can not use AWS to directly use nRF Cloud.

    However, as you can see from https://www.nordicsemi.com/Products/Cloud-services, you can use our Rest API to Cloud-to-Cloud, which may be what you need.

    Does this answer your questions?

Related