-
-
Notifications
You must be signed in to change notification settings - Fork 646
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* mqtt_client: fix bug where program flow gets stuck when calling mosquitto_connect_bind_v5. The connection procedure starts with a fresh mosquitto instance each time. The instance will be destroyed on disconnect. All mosquitto return codes are now checked during client configuration. * mqtt_client: add debug messages and improve QMessageBox messages. * mqtt_client: add mosquitto thread, fix #1006. Threaded mode of libmosquitto may not be supported on windows (libmosquitto < 2.1). At some point libmosquitto has removed threaded support (mosquitto_loop_start doesn't work and returns MOSQ_ERR_NOT_SUPPORTED). Threaded support will be added again in the future, see eclipse-mosquitto/mosquitto#2707. This commit introduces a thread dedicated to mosquitto to solve the problem. * mqtt_client: fix typo. --------- Co-authored-by: Valentin Platzgummer <[email protected]>
- Loading branch information
Showing
2 changed files
with
147 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters