Need to send Asset Tracker data to a different AWS site, CloudMQTT. I have located the CONFIG_NRF_CLOUD_HOST_NAME and CONFIG_NRF_PORT in the autoconf.h file. I can easily change these to postman.cloudmqtt.com and 25245 respectively. The CloudMQTT site also requires a username and password. Unfortunately your autoconf.h file does not have fields for these. I do find them in a separate file ncs/nrf/subsys/net/lib/nrf.cloud/src/nrf_cloud_transport.c line 438. I change these to username kejopksv and password 9MHHL2E6FAUV. I build and download to the DK fine but get an error 111 in the terminal output. What am I missing? The parameters above work just fine with MQTT.fx so I know the postman.cloudmqtt.com broker is working fine.
A secondary question is the autoconf.h file gets re-written with default values every time I exit Segger and get back in even though I save it. Where is the default host name and port coming from?