Hi.
Using the library, is it possible to connect to an MQTT server (Mosquitto) thas requires authentication based on username and password?
Actually I'm using mqttClient.connect(broker, port), but I don't know how to provide MQTT server's username and password.
Any idea?
Hi.
Using the library, is it possible to connect to an MQTT server (Mosquitto) thas requires authentication based on username and password?
Actually I'm using
mqttClient.connect(broker, port), but I don't know how to provide MQTT server's username and password.Any idea?