 |
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 (WIFI_FEATURE)
22 #include "../commands.h"
23 #include "../esp3doutput.h"
24 #include "../settings_esp3d.h"
25 #include "../../modules/wifi/wificonfig.h"
26 #include "../../modules/authentication/authentication_service.h"
33 #ifdef AUTHENTICATION_FEATURE
35 output->
printERROR(
"Wrong authentication!", 401);
40 #endif //AUTHENTICATION_FEATURE
43 if (parameter.length() == 0) {
46 #ifdef AUTHENTICATION_FEATURE
48 output->
printERROR(
"Wrong authentication!", 401);
51 #endif //AUTHENTICATION_FEATURE
const char * get_param(const char *cmd_params, const char *label)
static const char * read_string(int pos, bool *haserror=NULL)
bool ESP100(const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
static bool isSSIDValid(const char *ssid)
size_t printMSG(const char *s, bool withNL=true)
size_t printERROR(const char *s, int code_error=200)
static bool write_string(int pos, const char *byte_buffer)