mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-06 15:04:18 +00:00
Clean up the MQTT connection authentication configuration.
This commit is contained in:
parent
dcee575722
commit
f9a5a169cb
6 changed files with 29 additions and 30 deletions
|
|
@ -368,7 +368,7 @@ int CMMDVMHost::run()
|
|||
subscriptions.push_back(std::make_pair("ax25-in", CMMDVMHost::onAX25));
|
||||
#endif
|
||||
|
||||
m_mqtt = new CMQTTConnection(m_conf.getMQTTHost(), m_conf.getMQTTPort(), m_conf.getMQTTName(), m_conf.getMQTTAuthEnabled(), m_conf.getMQTTUser(), m_conf.getMQTTPass(), subscriptions, m_conf.getMQTTKeepalive());
|
||||
m_mqtt = new CMQTTConnection(m_conf.getMQTTHost(), m_conf.getMQTTPort(), m_conf.getMQTTName(), m_conf.getMQTTAuthEnabled(), m_conf.getMQTTUsername(), m_conf.getMQTTPassword(), subscriptions, m_conf.getMQTTKeepalive());
|
||||
ret = m_mqtt->open();
|
||||
if (!ret) {
|
||||
::fprintf(stderr, "MMDVMHost: unable to start the MQTT Publisher\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue