ENH: networking: update bambu_networking.hpp from master

JIRA: 0000(no jira), solving the compiling issue
Change-Id: I0c7a62ebb4bcbc137906996d314f5520c61621e6
This commit is contained in:
lane.wei 2023-08-23 21:39:17 +08:00 committed by Lane.Wei
parent 90b906584d
commit 2e6a3ea8b7

View file

@ -27,6 +27,11 @@ namespace BBL {
#define BAMBU_NETWORK_ERR_CANCELED -18
#define BAMBU_NETWORK_ERR_INVALID_RESULT -19
#define BAMBU_NETWORK_ERR_FTP_UPLOAD_FAILED -20
#define BAMBU_NETWORK_ERR_GET_RATING_ID_FAILED -21
#define BAMBU_NETWORK_ERR_OPEN_FILE_FAILED -22
#define BAMBU_NETWORK_ERR_PARSE_CONFIG_FAILED -23
#define BAMBU_NETWORK_ERR_NO_CORRESPONDING_BUCKET -24
#define BAMBU_NETWORK_ERR_GET_INSTANCE_ID_FAILED -25
//bind error
#define BAMBU_NETWORK_ERR_BIND_CREATE_SOCKET_FAILED -1010 //failed to create socket
@ -84,7 +89,7 @@ namespace BBL {
#define BAMBU_NETWORK_LIBRARY "bambu_networking"
#define BAMBU_NETWORK_AGENT_NAME "bambu_network_agent"
#define BAMBU_NETWORK_AGENT_VERSION "01.07.01.01"
#define BAMBU_NETWORK_AGENT_VERSION "01.07.05.01"
//iot preset type strings
#define IOT_PRINTER_TYPE_STRING "printer"