This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Performing a FOTA V2 update from the nRF Cloud to Thingy91 using NCS v1.5.0

Hi Dev team,

I am currently using the NCS v1.5.0 and have a Thingy91 v1.4.0 with me. I want to test the FOTA v2 update from the nRF Cloud to the Thingy91.

I tried using the aws_fota sample for that. I know that by default it is used to connect to the AWS IoT for updates.

I want to make it work to get the FOTA update from the nRF Cloud.

To do that, I changed the KConfig file and set the Use NRF Cloud to y:

config USE_NRF_CLOUD
bool "Use nRF Cloud"
default y

I also uploaded the (app_update.bin) file of the program I want to update in the Upload Bundles section in the NRF Cloud. 

I compiled and ran the program and the NRF Cloud gets connected through MQTT, but it does not download the file that I have uploaded in the NRF Cloud.

I wanted to know the correct way to upload the app_update.bin in the NRF Cloud so that it could be downloaded by the Thingy91 ?

Regards,

Adeel.

Parents Reply
  • Hello Adeel, 

    I needed confer with our developers, and this is their answer:

    that shouldn't be an issue - you just need to have two separate mqtt_client structure instances and handle them separately (i. e. separate init, connect etc.). There's no fixed configuration like client port in the MQTT library, all the data is kept within the mqtt_client context so you can maintain as many MQTT connections as you want (in the boundaries of the available memory of course)
    Kind regards,
    Øyvind
Children
Related