update slic3r

This commit is contained in:
QIDI TECH
2025-02-26 20:14:36 +08:00
parent d32f03deb8
commit ffb5d3da8a
60 changed files with 1724 additions and 475 deletions

View File

@@ -36,6 +36,7 @@ namespace QDT {
#define QIDI_NETWORK_ERR_PARSE_CONFIG_FAILED -23
#define QIDI_NETWORK_ERR_NO_CORRESPONDING_BUCKET -24
#define QIDI_NETWORK_ERR_GET_INSTANCE_ID_FAILED -25
#define QIDI_NETWORK_SIGNED_ERROR -26
//bind error
#define QIDI_NETWORK_ERR_BIND_CREATE_SOCKET_FAILED -1010 //failed to create socket
@@ -78,6 +79,7 @@ namespace QDT {
#define QIDI_NETWORK_ERR_PRINT_SP_PATCH_PROJECT_FAILED -3110 //failed to patch project
#define QIDI_NETWORK_ERR_PRINT_SP_POST_TASK_FAILED -3120 //failed to post task
#define QIDI_NETWORK_ERR_PRINT_SP_WAIT_PRINTER_FAILED -3130 //failed to wait the ack from printer
#define QIDI_NETOWRK_ERR_PRINT_SP_ENC_FLAG_NOT_READY -3140 //enc parse not ready
//start_local_print error
#define QIDI_NETWORK_ERR_PRINT_LP_FILE_OVER_SIZE -4010 //the size of the uploaded file cannot exceed 1 GB
@@ -95,7 +97,7 @@ namespace QDT {
#define QIDI_NETWORK_LIBRARY "qidi_networking"
#define QIDI_NETWORK_AGENT_NAME "qidi_network_agent"
#define QIDI_NETWORK_AGENT_VERSION "01.10.01.01"
#define QIDI_NETWORK_AGENT_VERSION "01.10.02.28"
//iot preset type strings
#define IOT_PRINTER_TYPE_STRING "printer"
@@ -253,6 +255,13 @@ struct CertificateInformation {
std::string serial_number;
};
enum class MessageFlag : int
{
MSG_FLAG_NONE = 0,
MSG_SIGN = 1 << 0,
MSG_ENCRYPT = 1 << 1,
};
}
#endif