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

Hostname in nrfConnect settings is not set when running code

I have set the host name to my aws thing endpoint name per the instructions on the following link

developer.nordicsemi.com/.../README.html

but the hostname ends up blank as you can see in the watch window at the breakpoint

and the settings are show below

and a search on the name in files finds it set in the zephyr.elf and other generated files

Why is the hostname blank?

Parents Reply
  • Hello. I just tested the aws_fota example, and initially (without any modifications) I saw the same behavior as you did. What project settings is the screenshot in your original post from? Menuconfig, mcuboot_menuconfig or spm_menuconfig?

    I tried to set Menuconfig -> ticked of Optimize debugging experience -> pressed Configure:

    And then I can see the hostname pointer:

    Are you sure you selected menuconfig? And that you have not saved the project settings? Please check whether that option is still set.

Children
Related