mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-23 08:45:48 +08:00
Added Authentication for MQTT
This commit is contained in:
8
Conf.h
8
Conf.h
@@ -57,6 +57,10 @@ public:
|
||||
unsigned short getMQTTPort() const;
|
||||
unsigned int getMQTTKeepalive() const;
|
||||
std::string getMQTTName() const;
|
||||
bool getMQTTAuthEnabled() const;
|
||||
std::string getMQTTUser() const;
|
||||
std::string getMQTTPass() const;
|
||||
|
||||
|
||||
// The CW ID section
|
||||
bool getCWIdEnabled() const;
|
||||
@@ -408,6 +412,10 @@ private:
|
||||
unsigned short m_mqttPort;
|
||||
unsigned int m_mqttKeepalive;
|
||||
std::string m_mqttName;
|
||||
bool m_mqttAuthEnabled;
|
||||
std::string m_mqttUser;
|
||||
std::string m_mqttPass;
|
||||
|
||||
|
||||
bool m_cwIdEnabled;
|
||||
unsigned int m_cwIdTime;
|
||||
|
||||
Reference in New Issue
Block a user