fix: regression bug, connecting to bambu needs bblp username

This commit is contained in:
Ian Chua
2026-09-17 18:44:54 +08:00
parent 4d85b6627e
commit d8299c388e
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -583,7 +583,7 @@ namespace Slic3r
<< " printer_agent_id=" << it->second->printer_agent_id
<< " connection_type=" << it->second->connection_type()
<< " dev_connection_type=" << it->second->dev_connection_type;
} else {
} else if (!dev_id.empty()) {
BOOST_LOG_TRIVIAL(warning) << "Orca diagnostic: target machine was not found in the current agent's machine list";
return false;
}
+1
View File
@@ -28,6 +28,7 @@ public:
// Communication
int send_message(std::string dev_id, std::string json_str, int qos, int flag) override;
std::string default_lan_username() const override { return "bblp"; }
int connect_printer(std::string dev_id, std::string dev_ip, std::string username, std::string password, bool use_ssl) override;
int disconnect_printer() override;
int send_message_to_printer(std::string dev_id, std::string json_str, int qos, int flag) override;