Procedure for connecting to AWS IoT using nRF7002

Hello, 

I am configuring nRF7002 board to connect to AWS IoT based on the 'aws_iot' sample code (https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/net/aws_iot/README.html)

Using nRF SDK 2.4.99-dev2, we can see that nrf7002dk is now supported in boards/.

Certificates are also generated from AWS and is in certs/ path

However, this has an issue on build similar to the nordic-q-a :AWS IoT WiFi MQTT with nRF7002DK 

Also tried the reply from the nordic-q-a, and this is the log:

prj.conf: /cfs-file/__key/communityserver-discussions-components-files/4/3125.prj.conf

Please advise on what to configure to nRF7002 to connect to AWS IoT or if there are other sample code

Thank you very much.

Parents Reply
  • Hi,

    alink said:

    I am unsure on the tagged version, but is it nRF Connect SDK v2.4.2 in Toolchain Manager?

    Yes, 2.4.2 would be a tagged version, and more stable. The ones called rc (release candidate), dev (development) and .99 (main branch) are works in progress. So they might feature some new feature that you might want to test if you are particularly interested, though they can also be less stable. We do not recommend using these versions for production, for instance.

    So if something does not work on 2.4.99-dev2, I would recommend trying 2.4.2.

    alink said:

    I also tried the 'aws_iot' sample project on v2.4.2 but the boards/nrf7002dk_nrf5340_cpuapp.conf does not exist. Tried to build it as well and have same build error.

    Yeah, I see here that the sample does not support nRF7002 DK in NCS 2.4.2.I guess you would have to try the main branch (like you did), or wait for NCS 2.5 if you want to try this. or try what was suggested in the nordic Q/A ticket you found. Are you running into the same issue that Eric is describing there?

    Could you show me the error log you are getting?

    Regards,

    Elfving

Children
Related