ESP3D  3.0
Firmware for ESP boards connected to 3D Printer
gcode_host.h File Reference
#include <Arduino.h>
#include "../authentication/authentication_service.h"
Include dependency graph for gcode_host.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GcodeHost
 

Macros

#define DEFAULT_TIMOUT   2000
 
#define MAX_TRY_2_SEND   5
 
#define ERROR_NO_ERROR   0
 
#define ERROR_TIME_OUT   1
 
#define ERROR_CANNOT_SEND_DATA   2
 
#define ERROR_LINE_NUMBER   3
 
#define ERROR_ACK_NUMBER   4
 
#define ERROR_MEMORY_PROBLEM   5
 
#define ERROR_RESEND   6
 
#define ERROR_NUMBER_MISMATCH   7
 
#define ERROR_LINE_IGNORED   8
 

Variables

GcodeHost esp3d_gcode_host
 

Macro Definition Documentation

◆ DEFAULT_TIMOUT

#define DEFAULT_TIMOUT   2000

Definition at line 30 of file gcode_host.h.

◆ ERROR_ACK_NUMBER

#define ERROR_ACK_NUMBER   4

Definition at line 36 of file gcode_host.h.

◆ ERROR_CANNOT_SEND_DATA

#define ERROR_CANNOT_SEND_DATA   2

Definition at line 34 of file gcode_host.h.

◆ ERROR_LINE_IGNORED

#define ERROR_LINE_IGNORED   8

Definition at line 40 of file gcode_host.h.

◆ ERROR_LINE_NUMBER

#define ERROR_LINE_NUMBER   3

Definition at line 35 of file gcode_host.h.

◆ ERROR_MEMORY_PROBLEM

#define ERROR_MEMORY_PROBLEM   5

Definition at line 37 of file gcode_host.h.

◆ ERROR_NO_ERROR

#define ERROR_NO_ERROR   0

Definition at line 32 of file gcode_host.h.

◆ ERROR_NUMBER_MISMATCH

#define ERROR_NUMBER_MISMATCH   7

Definition at line 39 of file gcode_host.h.

◆ ERROR_RESEND

#define ERROR_RESEND   6

Definition at line 38 of file gcode_host.h.

◆ ERROR_TIME_OUT

#define ERROR_TIME_OUT   1

Definition at line 33 of file gcode_host.h.

◆ MAX_TRY_2_SEND

#define MAX_TRY_2_SEND   5

Definition at line 31 of file gcode_host.h.

Variable Documentation

◆ esp3d_gcode_host

GcodeHost esp3d_gcode_host

Definition at line 30 of file gcode_host.cpp.