From ddda60d47982d09d4b4d97a1e5e6db52a295a712 Mon Sep 17 00:00:00 2001 From: gerrit Date: Tue, 29 Aug 2023 10:45:41 +0800 Subject: [PATCH] ci: update network module based on commit 83a385c Change-Id: I1c5fd418646d8387dc6437157f9c609cf3019eb2 (cherry picked from commit 95442e564b2c1b238a56230322463e3213eb43d4) --- src/slic3r/Utils/bambu_networking.hpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/slic3r/Utils/bambu_networking.hpp b/src/slic3r/Utils/bambu_networking.hpp index 518868d98..572b26484 100644 --- a/src/slic3r/Utils/bambu_networking.hpp +++ b/src/slic3r/Utils/bambu_networking.hpp @@ -73,6 +73,7 @@ namespace BBL { #define BAMBU_NETWORK_ERR_PRINT_SP_UPLOAD_3MF_TO_OSS_FAILED -3100 //failed to upload 3mf to oss #define BAMBU_NETWORK_ERR_PRINT_SP_PATCH_PROJECT_FAILED -3110 //failed to patch project #define BAMBU_NETWORK_ERR_PRINT_SP_POST_TASK_FAILED -3120 //failed to post task +#define BAMBU_NETWORK_ERR_PRINT_SP_WAIT_PRINTER_FAILED -3130 //failed to wait the ack from printer //start_local_print error #define BAMBU_NETWORK_ERR_PRINT_LP_FILE_OVER_SIZE -4010 //the size of the uploaded file cannot exceed 1 GB @@ -89,7 +90,7 @@ namespace BBL { #define BAMBU_NETWORK_LIBRARY "bambu_networking" #define BAMBU_NETWORK_AGENT_NAME "bambu_network_agent" -#define BAMBU_NETWORK_AGENT_VERSION "01.07.05.01" +#define BAMBU_NETWORK_AGENT_VERSION "01.07.06.01" //iot preset type strings #define IOT_PRINTER_TYPE_STRING "printer" @@ -119,6 +120,7 @@ typedef std::function GetCountryCodeFn; // print callbacks typedef std::function OnUpdateStatusFn; typedef std::function WasCancelledFn; +typedef std::function OnWaitFn; // local callbacks typedef std::function OnMsgArrivedFn; // queue call to main thread @@ -136,8 +138,9 @@ enum SendingPrintJobStage { PrintingStageWaiting = 2, PrintingStageSending = 3, PrintingStageRecord = 4, - PrintingStageFinished = 5, - PrintingStageERROR = 6, + PrintingStageWaitPrinter = 5, + PrintingStageFinished = 6, + PrintingStageERROR = 7, }; enum PublishingStage {