Is there any guides or easy way to make the Azure IoT Sample work with the Thingy91 or e.g. Icarus IoT v2?
Is there any guides or easy way to make the Azure IoT Sample work with the Thingy91 or e.g. Icarus IoT v2?
Hello,
you can just follow the documentation here. The thingy91 is not in the supported list, but it should still work I believe.
No, it fails when building for the Thingy91 and Icarus IoT V2. Builds and work fine on nRF9161DK.
I am also unable to paste code/ build output in this editor, or just past the text in the editor. Uploading files also fails.
If trying to paste into code the "ok" button doesn't respond. (responds if writing simple short text), or I get "An error occurred. Please try again or contact your administrator." on "reply" I've tried Chrome and Edge. This also happens using other computer. Can't find any administrator contact on page.
Neso said:I am also unable to paste code/ build output in this editor, or just past the text in the editor. Uploading files also fails.
If trying to paste into code the "ok" button doesn't respond. (responds if writing simple short text), or I get "An error occurred. Please try again or contact your administrator." on "reply" I've tried Chrome and Edge. This also happens using other computer. Can't find any administrator contact on page.
Thanks for reporting! I have forwarded to the admin but most likely not solution until after Christmas break.
Neso said:it fails when building for the Thingy91 and Icarus IoT V2. Builds and work fine on nRF9161DK
Do you have a cloud solution where e.g. google drive where you can store the text file with the error output, and that you can share with us using the shares link?
Kind regards,
Øyvind
Could you try to add the .txt file to a .zip file? This should work
-Øyvind
Could you try to add the .txt file to a .zip file? This should work
-Øyvind
Still unable to upload files or text.
Hello, and thanks for providing. Not sure why you are not able to upload files etc. but I did get the file through Google Drive.
Looking at the documentation of Azure IoT hub, the sample does not support Thingy:91.
Looking at the log provided it does state:
The closest I have to any kind of documentation for getting this to work is through e.g. https://purple.telstra.com/blog/device-authentication-with-nordic-thingy-91-and-azure-iot-hub
Kind regards,
Øyvind
Thanks for looking into this. Yes, I saw it was't supported in the sample, but I need to get it working with other nrf boards for it to be something we can use. What's the main reason it's so hard to get working on other boards?
Have inquired internally, no feedback yet. Hope to have an answer by end of this week.
Hello,
Øyvind said:Looking at the log provided it does state:
C:/Users/neshe/nRF/azure_iot_hub/src/main.c:202: undefined reference to `boot_write_img_confirmed', and I'm able to reproduce. Will need to discuss internally.
In order for boot_write_img_confirmed() to be compiled in, you need to enable CONFIG_MCUBOOT_IMG_MANAGER=y
Since the Thingy:91 is not officially supported in this sample, that needs to be done manually.
In general, you need to ensure that required options are enabled when adding support for a new board to an application. In this case, the following are needed from nrf9151dk_nrf9151_ns, i.e:
CONFIG_BOOTLOADER_MCUBOOT=y CONFIG_AZURE_FOTA=y CONFIG_FOTA_DOWNLOAD=y CONFIG_DFU_TARGET=y CONFIG_MCUBOOT_IMG_MANAGER=y CONFIG_IMG_MANAGER=y CONFIG_STREAM_FLASH=y CONFIG_FLASH_MAP=y CONFIG_FLASH=y CONFIG_IMG_ERASE_PROGRESSIVELY=y CONFIG_DOWNLOAD_CLIENT=y CONFIG_DOWNLOAD_CLIENT_STACK_SIZE=4096