How to set password and port at MQTT sample program?

Hi,

I am using the MQTT example program from SDKv2.4.2 as base. How do I set password and port number? There is no option. There is only an option to set the username. I am trying to connect to CloudMQTT broker.

https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/net/mqtt/README.html

Regards,

Markel

Related