We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There's a bug upon connecting to an MQTT server with a username/password.
bool connectResult; if (Config.get().mqtt.auth) { connectResult = this->_shared_interface->mqtt->connect(client_id, Config.get().mqtt.username, Config.get().mqtt.password, topic, 2, true, "false"); } else { connectResult = this->_shared_interface->mqtt->connect(client_id, topic, 2, true, "false"); } Is the correct way
bool connectResult; if (Config.get().mqtt.auth) { connectResult = this->_shared_interface->mqtt->connect(client_id, Config.get().mqtt.username, Config.get().mqtt.password, topic, 2, true, "false"); } else { connectResult = this->_shared_interface->mqtt->connect(client_id, topic, 2, true, "false"); }
The text was updated successfully, but these errors were encountered:
Oops, I'll fix!
Sorry, something went wrong.
de3bdfe
No branches or pull requests
There's a bug upon connecting to an MQTT server with a username/password.
bool connectResult; if (Config.get().mqtt.auth) { connectResult = this->_shared_interface->mqtt->connect(client_id, Config.get().mqtt.username, Config.get().mqtt.password, topic, 2, true, "false"); } else { connectResult = this->_shared_interface->mqtt->connect(client_id, topic, 2, true, "false"); }
Is the correct way
The text was updated successfully, but these errors were encountered: