first commit
This commit is contained in:
parent
7c095fe3b2
commit
204e773f4b
@ -57,6 +57,10 @@ struct MQTTConfig
|
|||||||
std::string username;
|
std::string username;
|
||||||
std::string password;
|
std::string password;
|
||||||
int keep_alive;
|
int keep_alive;
|
||||||
|
|
||||||
|
int qos = 1; // 默认 QoS 级别
|
||||||
|
bool clean_session = true; // 默认 clean session
|
||||||
|
|
||||||
VehicleMQTTTopics topics;
|
VehicleMQTTTopics topics;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user