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

nrf9160 mqtt username/pass

Hi, 

So this may seem like a stupid question but here goes. I've been trying to learn how to implement an IoT solution. 

While trying to learn more about MQTT protocol I created a test broker at cloudmqtt.com and was able to use my phone as a client

Now I'm attempting to get the MQTT_SIMPLE project to connect to the broker but am not sure how to get it to pass username and password

I know I should change some of the config files and the possibly the code, but am not sure which ones or how. 

This is a view of my test broker

And here are the changes I've made to my kconfig, proj_config, and qemu_config files

and finally here is what I get on the terminal w/ the changes I've made

As you can see, it find the AWS IP address but fails to connect w/ mqtt

I have not made any changes to the code.

Any and all help is appreciated, thanks

Related