Closed favarinbarracano closed 4 years ago
Hi, in case of MQTT protected broker with user and password I edited the sketch:
if (client.connect(charBuf, mqttUser, mqttPassword, topicStatus, 0, true, "offline")) {
The sketch now is able to connect to MQTT protected broker. Any suggestion?
Manuel, Thanks
Thanks for the suggestion. When I work on it again, I'll look at making the username / password for MQTT configurable.
Hi, in case of MQTT protected broker with user and password I edited the sketch:
define mqttUser "XXXXXX"
define mqttPassword "XXXXXX"
if (client.connect(charBuf, mqttUser, mqttPassword, topicStatus, 0, true, "offline")) {
The sketch now is able to connect to MQTT protected broker. Any suggestion?
Manuel, Thanks