From 204e773f4ba4f0c8e8e124d0a846df41390deffe Mon Sep 17 00:00:00 2001 From: cxh Date: Mon, 8 Sep 2025 15:11:52 +0800 Subject: [PATCH] first commit --- include/app_config.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/app_config.hpp b/include/app_config.hpp index 679f0a7..9cdbcf2 100644 --- a/include/app_config.hpp +++ b/include/app_config.hpp @@ -57,6 +57,10 @@ struct MQTTConfig std::string username; std::string password; int keep_alive; + + int qos = 1; // 默认 QoS 级别 + bool clean_session = true; // 默认 clean session + VehicleMQTTTopics topics; };