#include <gcode_host.h>
|
| GcodeHost () |
|
| ~GcodeHost () |
|
bool | begin (bool waitwhenidle=false) |
|
void | end () |
|
void | handle () |
|
bool | sendCommand (const char *command, bool checksum=false, bool wait4ack=true, const char *ack=nullptr) |
|
uint32_t | currentCommandNumber () |
|
void | setCommandNumber (uint32_t n) |
|
bool | resetCommandNumbering () |
|
uint8_t | Checksum (const char *command, uint32_t commandSize) |
|
String | CheckSumCommand (const char *command, uint32_t commandnb) |
|
size_t | wait_for_data (uint32_t timeout=DEFAULT_TIMOUT) |
|
bool | wait_for_ack (uint32_t timeout=DEFAULT_TIMOUT, bool checksum=false, const char *ack=nullptr) |
|
bool | purge (uint32_t timeout=DEFAULT_TIMOUT) |
|
uint32_t | Get_commandNumber (String &response) |
|
bool | waitWhenIdle () |
|
uint8_t | getErrorNum () |
|
bool | processFile (const char *filename, level_authenticate_type auth_type, ESP3DOutput *output) |
|
bool | processFSFile (const char *filename, level_authenticate_type auth_type, ESP3DOutput *output) |
|
bool | processLine (const char *line, level_authenticate_type auth_type, ESP3DOutput *output) |
|
bool | processscript (const char *line) |
|
Definition at line 42 of file gcode_host.h.
◆ GcodeHost()
◆ ~GcodeHost()
GcodeHost::~GcodeHost |
( |
| ) |
|
◆ begin()
bool GcodeHost::begin |
( |
bool |
waitwhenidle = false | ) |
|
◆ Checksum()
uint8_t GcodeHost::Checksum |
( |
const char * |
command, |
|
|
uint32_t |
commandSize |
|
) |
| |
◆ CheckSumCommand()
String GcodeHost::CheckSumCommand |
( |
const char * |
command, |
|
|
uint32_t |
commandnb |
|
) |
| |
◆ currentCommandNumber()
uint32_t GcodeHost::currentCommandNumber |
( |
| ) |
|
|
inline |
◆ end()
◆ Get_commandNumber()
uint32_t GcodeHost::Get_commandNumber |
( |
String & |
response | ) |
|
◆ getErrorNum()
uint8_t GcodeHost::getErrorNum |
( |
| ) |
|
|
inline |
◆ handle()
void GcodeHost::handle |
( |
| ) |
|
◆ processFile()
◆ processFSFile()
◆ processLine()
◆ processscript()
bool GcodeHost::processscript |
( |
const char * |
line | ) |
|
◆ purge()
◆ resetCommandNumbering()
bool GcodeHost::resetCommandNumbering |
( |
| ) |
|
◆ sendCommand()
bool GcodeHost::sendCommand |
( |
const char * |
command, |
|
|
bool |
checksum = false , |
|
|
bool |
wait4ack = true , |
|
|
const char * |
ack = nullptr |
|
) |
| |
◆ setCommandNumber()
void GcodeHost::setCommandNumber |
( |
uint32_t |
n | ) |
|
|
inline |
◆ wait_for_ack()
bool GcodeHost::wait_for_ack |
( |
uint32_t |
timeout = DEFAULT_TIMOUT , |
|
|
bool |
checksum = false , |
|
|
const char * |
ack = nullptr |
|
) |
| |
◆ wait_for_data()
◆ waitWhenIdle()
bool GcodeHost::waitWhenIdle |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following files: