How to add username and password to MQTT_Publisher


Brenton Chetty <brent7984@...>
 

Hi, I am trying to get "mqtt_publisher" working with Eclipse Kapua using "qemu_x86".
I managed to get mqtt_publisher working with a simple mosquitto client, however I cannot connect to Kapua because I need to add a username and password.

How do I add username/password to the publisher?
I already tried directly inputting the values in "client_init" (client->password = "kapua-password";)
Using wireshark, it shows that the username and password flag has not been set.

With thanks
Brenton

Join devel@lists.zephyrproject.org to automatically receive all group messages.