ci: update network module based on commit 6e6f806

Change-Id: I0c194fff966ba3f8674eedff66bc39d96ed479ac
This commit is contained in:
gerrit 2023-10-24 16:43:11 +08:00 committed by Lane.Wei
parent d864c0decf
commit aed55f967a
1 changed files with 23 additions and 5 deletions

View File

@ -3,6 +3,10 @@
#include <string> #include <string>
#include <functional> #include <functional>
#include <map>
extern std::string g_log_folder;
extern std::string g_log_start_time;
namespace BBL { namespace BBL {
@ -90,7 +94,7 @@ namespace BBL {
#define BAMBU_NETWORK_LIBRARY "bambu_networking" #define BAMBU_NETWORK_LIBRARY "bambu_networking"
#define BAMBU_NETWORK_AGENT_NAME "bambu_network_agent" #define BAMBU_NETWORK_AGENT_NAME "bambu_network_agent"
#define BAMBU_NETWORK_AGENT_VERSION "01.07.08.02" #define BAMBU_NETWORK_AGENT_VERSION "01.07.09.01"
//iot preset type strings //iot preset type strings
#define IOT_PRINTER_TYPE_STRING "printer" #define IOT_PRINTER_TYPE_STRING "printer"
@ -106,6 +110,20 @@ namespace BBL {
#define IOT_JSON_KEY_FILAMENT_ID "filament_id" #define IOT_JSON_KEY_FILAMENT_ID "filament_id"
#define IOT_JSON_KEY_USER_ID "user_id" #define IOT_JSON_KEY_USER_ID "user_id"
#define IOT_JSON_KEY_SIGN_DATE "sign_date"
#define IOT_JSON_KEY_CERT_START_DATE "cert_start_date"
#define IOT_JSON_KEY_CERT_END_DATE "cert_end_date"
#define IOT_JSON_KEY_CERT_ISSUE_NAME "issue_name"
#define IOT_JSON_KEY_CERT_SUBJECT_NAME "subject_name"
#define IOT_JSON_KEY_CERT_SERIAL_NUMBER "serial_number"
#define IOT_JSON_KEY_CERT_HASH_VALUE "hash_value"
#define IOT_JSON_KEY_CERT_VERIFY_RESULT "verify_result"
#define isser_name "GlobalSign GCC R45 EV CodeSigning CA 2020"
#define subject_name "Shenzhen Tuozhu Technology Co., Ltd."
#define serial_number "0b209295a54b188466ad7478"
#define hash_number "9690647085f910ffe2098129bc1229956a51e250"
// user callbacks // user callbacks
typedef std::function<void(int online_login, bool login)> OnUserLoginFn; typedef std::function<void(int online_login, bool login)> OnUserLoginFn;