Hi Joël,
May I ask your help.
I want to connect to an MQTT broker that needs a username and password.
Where in the "mqtt.begin();" function do I put the user name and password?
My first guess was the following:
mqtt.begin("MQTT-broker-server", "port", "wificlient", "mqtt-broker-username", "mqtt-user-password" );
However it does not seem to be working.
Could you perhaps point me in the correct direction?
Your help would be much appreciated.
Hi Joël, May I ask your help. I want to connect to an MQTT broker that needs a username and password. Where in the "mqtt.begin();" function do I put the user name and password? My first guess was the following: mqtt.begin("MQTT-broker-server", "port", "wificlient", "mqtt-broker-username", "mqtt-user-password" ); However it does not seem to be working. Could you perhaps point me in the correct direction? Your help would be much appreciated.