 |
ESP3D
3.0
Firmware for ESP boards connected to 3D Printer
|
Go to the documentation of this file.
20 #include "../../include/esp3d_config.h"
21 #if defined (FILESYSTEM_FEATURE) && defined(ESP_GCODE_HOST_FEATURE)
22 #include "../commands.h"
23 #include "../esp3doutput.h"
24 #include "../settings_esp3d.h"
25 #include "../../modules/authentication/authentication_service.h"
26 #include "../../modules/filesystem/esp_filesystem.h"
27 #include "../../modules/gcode_host/gcode_host.h"
35 #ifdef AUTHENTICATION_FEATURE
37 output->
printERROR(
"Wrong authentication!", 401);
42 #endif //AUTHENTICATION_FEATURE
50 #endif //FILESYSTEM_FEATURE && ESP_GCODE_HOST_FEATURE
const char * get_param(const char *cmd_params, const char *label)
bool processFile(const char *filename, level_authenticate_type auth_type, ESP3DOutput *output)
GcodeHost esp3d_gcode_host
size_t printMSG(const char *s, bool withNL=true)
size_t printERROR(const char *s, int code_error=200)
bool ESP700(const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)