diff --git a/esp3d/src/core/esp3doutput.h b/esp3d/src/core/esp3doutput.h index 8dc9e3c1..a40ab6db 100644 --- a/esp3d/src/core/esp3doutput.h +++ b/esp3d/src/core/esp3doutput.h @@ -82,7 +82,7 @@ public: } size_t dispatch (uint8_t * sbuf, size_t len); size_t printMSG(const char * s, bool withNL = true); - size_t printERROR(const char * s, int code_error = 200); + size_t printERROR(const char * s, int code_error = 500); size_t printLN(const char * s); void flush(); int availableforwrite(); diff --git a/esp3d/src/core/espcmd/ESP401.cpp b/esp3d/src/core/espcmd/ESP401.cpp index 350a264b..69fea6d5 100644 --- a/esp3d/src/core/espcmd/ESP401.cpp +++ b/esp3d/src/core/espcmd/ESP401.cpp @@ -166,9 +166,12 @@ bool Commands::ESP401(const char* cmd_params, level_authenticate_type auth_type, #endif //WIFI_FEATURE } if (!response) { - output->printERROR ("Incorrect command!"); + String tmp = "error " + spos; + output->printERROR (tmp); + } else { - output->printMSG("ok"); + String tmp = "ok " + spos; + output->printMSG(tmp) } return response; diff --git a/esp3d/src/core/espcmd/ESP420.cpp b/esp3d/src/core/espcmd/ESP420.cpp index 28a2ff39..99c83cfa 100644 --- a/esp3d/src/core/espcmd/ESP420.cpp +++ b/esp3d/src/core/espcmd/ESP420.cpp @@ -708,7 +708,7 @@ bool Commands::ESP420(const char* cmd_params, level_authenticate_type auth_type, output->print ("/"); output->print (WiFi.softAPmacAddress().c_str()); } else { - output->print ("???"); + output->print ("unknown"); } if (!plain) { output->print ("\"}"); diff --git a/esp3d/src/include/version.h b/esp3d/src/include/version.h index 8039c3ef..c1181931 100644 --- a/esp3d/src/include/version.h +++ b/esp3d/src/include/version.h @@ -22,7 +22,7 @@ #define _VERSION_ESP3D_H //version and sources location -#define FW_VERSION "3.0.0.a29" +#define FW_VERSION "3.0.0.a30" #define REPOSITORY "https://github.com/luc-github/ESP3D" #endif //_VERSION_ESP3D_H