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
  • I found the LOG_ entries. However, for some reason I am getting the following error

    LTE Link Connected!

    IPv4 Address 3.130.92.97
    client_id: nrf-352656100047698
    ERROR: mqtt_connect -45

    And last night the device connected several times right before I stopped working. So I have a different problem I need to fix before I can test your suggestions.

    Thank you for seeing the missing "," in the json file. Simple beginner mistake

Children
Related