ENH: support mqtt control

jira: [STUDIO-12442]
Change-Id: I51e43692c692c910e94d4e67349a70377b057d1c
(cherry picked from commit 5c4c3c7f953a980aebfaed5120a65e81ba79b56f)
This commit is contained in:
xin.zhang
2025-06-18 15:44:10 +08:00
committed by Noisyfox
parent fb2ecdc6d9
commit 2d23db7890
2 changed files with 25 additions and 0 deletions

View File

@@ -1205,7 +1205,9 @@ public:
int command_stop_buzzer();
/* temp*/
bool m_support_mqtt_bet_ctrl = false;
int command_set_bed(int temp);
int command_set_nozzle(int temp);
int command_set_nozzle_new(int nozzle_id, int temp);
int command_set_chamber(int temp);
@@ -1245,6 +1247,7 @@ public:
int command_nozzle_blob_detect(bool nozzle_blob_detect);
// axis string is X, Y, Z, E
bool m_support_mqtt_axis_control = false;
int command_axis_control(std::string axis, double unit = 1.0f, double input_val = 1.0f, int speed = 3000);
int command_extruder_control(int nozzle_id, double val);