ci: update network module based on commit ec16b83

Change-Id: I306b66e265ef32fa83d2363797228752bb06f838
(cherry picked from commit 28061562c23a6f72a1414b26aeed062ecd454d62)
This commit is contained in:
gerrit 2023-05-22 14:06:53 +08:00 committed by Lane.Wei
parent c731a1aceb
commit 1cde1ebaed

View file

@ -79,7 +79,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.06.05.01" #define BAMBU_NETWORK_AGENT_VERSION "01.06.07.01"
//iot preset type strings //iot preset type strings
#define IOT_PRINTER_TYPE_STRING "printer" #define IOT_PRINTER_TYPE_STRING "printer"
@ -101,7 +101,7 @@ typedef std::function<void(int online_login, bool login)> OnUserLoginFn;
// printer callbacks // printer callbacks
typedef std::function<void(std::string topic_str)> OnPrinterConnectedFn; typedef std::function<void(std::string topic_str)> OnPrinterConnectedFn;
typedef std::function<void(int status, std::string dev_id, std::string msg)> OnLocalConnectedFn; typedef std::function<void(int status, std::string dev_id, std::string msg)> OnLocalConnectedFn;
typedef std::function<void()> OnServerConnectedFn; typedef std::function<void(int return_code, int reason_code)> OnServerConnectedFn;
typedef std::function<void(std::string dev_id, std::string msg)> OnMessageFn; typedef std::function<void(std::string dev_id, std::string msg)> OnMessageFn;
// http callbacks // http callbacks
typedef std::function<void(unsigned http_code, std::string http_body)> OnHttpErrorFn; typedef std::function<void(unsigned http_code, std::string http_body)> OnHttpErrorFn;