FIX: fix some issue in sending files to external storage through cloud

JIRA: STUDIO-9372 STUDIO-9374 STUDIO-9368
If the printer version does not support uploading, the original protocol
will be used

Change-Id: I3d47ac2567c2c6709a5b983ff1ad552d9a8606d4
(cherry picked from commit b8dde8ae7f4f5883fc163c57bb607a08ecdabf2b)
This commit is contained in:
Kunlong Ma
2025-04-01 14:40:07 +08:00
committed by Noisyfox
parent c59255a605
commit 70c0b116fc
2 changed files with 2 additions and 0 deletions

View File

@@ -5562,6 +5562,7 @@ void MachineObject::parse_new_info(json print)
is_support_nozzle_blob_detection = get_flag_bits(fun, 13);
is_support_upgrade_kit = get_flag_bits(cfg, 14);
is_support_command_homing = get_flag_bits(fun, 32);
is_support_brtc = get_flag_bits(fun, 31);
}
/*aux*/

View File

@@ -870,6 +870,7 @@ public:
bool is_support_agora{false};
bool is_support_upgrade_kit{false};
bool is_support_command_homing { false };// fun[32]
bool is_support_brtc { false }; // fun[31], support tcp and upload protocol
bool installed_upgrade_kit{false};
int nozzle_max_temperature = -1;