ESP3D  3.0
Firmware for ESP boards connected to 3D Printer
Commands Class Reference

#include <commands.h>

Public Member Functions

 Commands ()
 
 ~Commands ()
 
void process (uint8_t *sbuf, size_t len, ESP3DOutput *output, level_authenticate_type auth=LEVEL_GUEST, ESP3DOutput *outputonly=nullptr)
 
bool is_esp_command (uint8_t *sbuf, size_t len)
 
bool execute_internal_command (int cmd, const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
int get_space_pos (const char *string, uint from=0)
 
const char * get_param (const char *cmd_params, const char *label)
 
const char * get_label (const char *cmd_params, const char *labelseparator, uint8_t startindex=0)
 
bool hastag (const char *cmd_params, const char *tag)
 
bool ESP100 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP101 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP102 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP103 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP105 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP106 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP107 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP108 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP110 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP111 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP112 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP115 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP120 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP121 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP130 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP131 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP150 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP160 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP161 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP180 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP181 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP200 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP201 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP290 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP400 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP401 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP410 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP420 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP444 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP600 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP610 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP700 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP710 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP720 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP730 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP715 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP750 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP740 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP780 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP790 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP800 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 
bool ESP900 (const char *cmd_params, level_authenticate_type auth_level, ESP3DOutput *output)
 

Detailed Description

Definition at line 27 of file commands.h.

Constructor & Destructor Documentation

◆ Commands()

Commands::Commands ( )

Definition at line 28 of file commands.cpp.

◆ ~Commands()

Commands::~Commands ( )

Definition at line 31 of file commands.cpp.

Member Function Documentation

◆ ESP100()

bool Commands::ESP100 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 29 of file ESP100.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP101()

bool Commands::ESP101 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 29 of file ESP101.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP102()

bool Commands::ESP102 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 35 of file ESP102.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP103()

bool Commands::ESP103 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 35 of file ESP103.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP105()

bool Commands::ESP105 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 29 of file ESP105.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP106()

bool Commands::ESP106 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 29 of file ESP106.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP107()

bool Commands::ESP107 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 30 of file ESP107.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP108()

bool Commands::ESP108 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 29 of file ESP108.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP110()

bool Commands::ESP110 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 29 of file ESP110.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP111()

bool Commands::ESP111 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 29 of file ESP111.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP112()

bool Commands::ESP112 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 29 of file ESP112.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP115()

bool Commands::ESP115 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 29 of file ESP115.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP120()

bool Commands::ESP120 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 28 of file ESP120.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP121()

bool Commands::ESP121 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 28 of file ESP121.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP130()

bool Commands::ESP130 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 29 of file ESP130.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP131()

bool Commands::ESP131 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 28 of file ESP131.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP150()

bool Commands::ESP150 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 27 of file ESP150.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP160()

bool Commands::ESP160 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 29 of file ESP160.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP161()

bool Commands::ESP161 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 28 of file ESP161.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP180()

bool Commands::ESP180 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 29 of file ESP180.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP181()

bool Commands::ESP181 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 28 of file ESP181.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP200()

bool Commands::ESP200 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 29 of file ESP200.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP201()

bool Commands::ESP201 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 30 of file ESP201.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP290()

bool Commands::ESP290 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 26 of file ESP290.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP400()

bool Commands::ESP400 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 28 of file ESP400.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP401()

bool Commands::ESP401 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 45 of file ESP401.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP410()

bool Commands::ESP410 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 30 of file ESP410.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP420()

bool Commands::ESP420 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 75 of file ESP420.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP444()

bool Commands::ESP444 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 28 of file ESP444.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP600()

bool Commands::ESP600 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 29 of file ESP600.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP610()

bool Commands::ESP610 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 30 of file ESP610.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP700()

bool Commands::ESP700 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 30 of file ESP700.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP710()

bool Commands::ESP710 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 29 of file ESP710.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP715()

bool Commands::ESP715 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 29 of file ESP715.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP720()

bool Commands::ESP720 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 29 of file ESP720.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP730()

bool Commands::ESP730 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 30 of file ESP730.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP740()

bool Commands::ESP740 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 32 of file ESP740.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP750()

bool Commands::ESP750 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 30 of file ESP750.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP780()

bool Commands::ESP780 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 32 of file ESP780.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP790()

bool Commands::ESP790 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 30 of file ESP790.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP800()

bool Commands::ESP800 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 48 of file ESP800.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ESP900()

bool Commands::ESP900 ( const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 28 of file ESP900.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ execute_internal_command()

bool Commands::execute_internal_command ( int  cmd,
const char *  cmd_params,
level_authenticate_type  auth_level,
ESP3DOutput output 
)

Definition at line 240 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_label()

const char * Commands::get_label ( const char *  cmd_params,
const char *  labelseparator,
uint8_t  startindex = 0 
)

Definition at line 117 of file commands.cpp.

◆ get_param()

const char * Commands::get_param ( const char *  cmd_params,
const char *  label 
)

Definition at line 162 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_space_pos()

int Commands::get_space_pos ( const char *  string,
uint  from = 0 
)

Definition at line 95 of file commands.cpp.

Here is the caller graph for this function:

◆ hastag()

bool Commands::hastag ( const char *  cmd_params,
const char *  tag 
)

Definition at line 221 of file commands.cpp.

Here is the caller graph for this function:

◆ is_esp_command()

bool Commands::is_esp_command ( uint8_t *  sbuf,
size_t  len 
)

Definition at line 73 of file commands.cpp.

Here is the caller graph for this function:

◆ process()

void Commands::process ( uint8_t *  sbuf,
size_t  len,
ESP3DOutput output,
level_authenticate_type  auth = LEVEL_GUEST,
ESP3DOutput outputonly = nullptr 
)

Definition at line 36 of file commands.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: