ESP3D/docs/html/gcode__host_8h_source.html
2020-01-06 14:46:56 +01:00

218 lines
30 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ESP3D: esp3d/src/modules/gcode_host/gcode_host.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="ESP3D_social_mini.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ESP3D
&#160;<span id="projectnumber">3.0</span>
</div>
<div id="projectbrief">Firmware for ESP boards connected to 3D Printer</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('gcode__host_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="headertitle">
<div class="title">gcode_host.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="gcode__host_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> gcode_host.h - gcode host functions class</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> Copyright (c) 2014 Luc Lebosse. All rights reserved.</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> This library is free software; you can redistribute it and/or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> modify it under the terms of the GNU Lesser General Public</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> License as published by the Free Software Foundation; either</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> version 2.1 of the License, or (at your option) any later version.</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> This library is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> Lesser General Public License for more details.</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> You should have received a copy of the GNU Lesser General Public</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"> License along with this library; if not, write to the Free Software</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment"> Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment">*/</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; </div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; </div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; </div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#ifndef _GCODE_HOST_H</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#define _GCODE_HOST_H</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;Arduino.h&gt;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &quot;../authentication/authentication_service.h&quot;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="keyword">class </span><a class="code" href="class_e_s_p3_d_output.html">ESP3DOutput</a>;</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; </div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="gcode__host_8h.html#ae3c7c46d5d9c8dca3f68e5a8e2b176cc"> 30</a></span>&#160;<span class="preprocessor">#define DEFAULT_TIMOUT 2000</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="gcode__host_8h.html#aa709086303f7b4f9c4e6b43225e3a167"> 31</a></span>&#160;<span class="preprocessor">#define MAX_TRY_2_SEND 5</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="gcode__host_8h.html#ace434a3a200d2d2a53f3e0d438e6abd7"> 32</a></span>&#160;<span class="preprocessor">#define ERROR_NO_ERROR 0</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="gcode__host_8h.html#a7d524649099a14b88d5b8d1b79ce1ea1"> 33</a></span>&#160;<span class="preprocessor">#define ERROR_TIME_OUT 1</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="gcode__host_8h.html#adcb34971c86c95daa9fc497344956a1b"> 34</a></span>&#160;<span class="preprocessor">#define ERROR_CANNOT_SEND_DATA 2</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="gcode__host_8h.html#a65c4cc9aa47ee11cb7175528c623a000"> 35</a></span>&#160;<span class="preprocessor">#define ERROR_LINE_NUMBER 3</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="gcode__host_8h.html#ad2bf7e6ce2f181454c69512ea079769c"> 36</a></span>&#160;<span class="preprocessor">#define ERROR_ACK_NUMBER 4</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="gcode__host_8h.html#ae65ca500d49b185fb691d5c51543ca70"> 37</a></span>&#160;<span class="preprocessor">#define ERROR_MEMORY_PROBLEM 5</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="gcode__host_8h.html#a456dcc3f8fae0377a8471fdafb1c056d"> 38</a></span>&#160;<span class="preprocessor">#define ERROR_RESEND 6</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="gcode__host_8h.html#a5def3e63258f3ee80f7bfb95a417df2f"> 39</a></span>&#160;<span class="preprocessor">#define ERROR_NUMBER_MISMATCH 7</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="gcode__host_8h.html#a4fc16c0111812c761ca9193aa2388876"> 40</a></span>&#160;<span class="preprocessor">#define ERROR_LINE_IGNORED 8</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; </div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="class_gcode_host.html"> 42</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_gcode_host.html">GcodeHost</a></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;{</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <a class="code" href="class_gcode_host.html#a6e4117a7f58b0680d9f3bc2d8133ef9b">GcodeHost</a>();</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <a class="code" href="class_gcode_host.html#a360a42df394bce6f36d2e6976b21e596">~GcodeHost</a>();</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_gcode_host.html#a1376d13cb64b751b22d918baa34c3b71">begin</a>(<span class="keywordtype">bool</span> waitwhenidle = <span class="keyword">false</span>);</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_gcode_host.html#ac8e69419ec67cef16dd785ba1c8f423f">end</a>();</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_gcode_host.html#afd1228e9308b20c67dcc8869e34193e4">handle</a>();</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_gcode_host.html#af51397ea2e659480ec271000e6c55496">sendCommand</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* command, <span class="keywordtype">bool</span> checksum = <span class="keyword">false</span>, <span class="keywordtype">bool</span> wait4ack = <span class="keyword">true</span>, <span class="keyword">const</span> <span class="keywordtype">char</span> * ack=<span class="keyword">nullptr</span>);</div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="class_gcode_host.html#a38a7d62167fbefdfb3fec09c61f7c2e0"> 51</a></span>&#160; uint32_t <a class="code" href="class_gcode_host.html#a38a7d62167fbefdfb3fec09c61f7c2e0">currentCommandNumber</a>()</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; {</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <span class="keywordflow">return</span> _commandnumber;</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; }</div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="class_gcode_host.html#aa88643ac86a17eeac24db0571194a9e8"> 55</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_gcode_host.html#aa88643ac86a17eeac24db0571194a9e8">setCommandNumber</a>(uint32_t n)</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; {</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; _commandnumber = n;</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; }</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_gcode_host.html#aa9e069303f6886f9c5134823057f949d">resetCommandNumbering</a>();</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; uint8_t <a class="code" href="class_gcode_host.html#a455fe432983811d4b0b983db8d33e8a1">Checksum</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * command, uint32_t commandSize);</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; String <a class="code" href="class_gcode_host.html#a1324c755a3c5526d283837e34ffb19e7">CheckSumCommand</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* command, uint32_t commandnb);</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <span class="keywordtype">size_t</span> <a class="code" href="class_gcode_host.html#a8c84c617f37311be1ef1978d29728180">wait_for_data</a>(uint32_t timeout = <a class="code" href="gcode__host_8h.html#ae3c7c46d5d9c8dca3f68e5a8e2b176cc">DEFAULT_TIMOUT</a>);</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_gcode_host.html#ac536b90c1c1ecbf12a4c69c55e6f1b5f">wait_for_ack</a>(uint32_t timeout = <a class="code" href="gcode__host_8h.html#ae3c7c46d5d9c8dca3f68e5a8e2b176cc">DEFAULT_TIMOUT</a>, <span class="keywordtype">bool</span> checksum=<span class="keyword">false</span>, <span class="keyword">const</span> <span class="keywordtype">char</span> * ack=<span class="keyword">nullptr</span>);</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_gcode_host.html#af1c3af0eab1d933d798bc7b291053d0d">purge</a>(uint32_t timeout = <a class="code" href="gcode__host_8h.html#ae3c7c46d5d9c8dca3f68e5a8e2b176cc">DEFAULT_TIMOUT</a>);</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; uint32_t <a class="code" href="class_gcode_host.html#af616a0a654fdd21694a5bf2037d40ed8">Get_commandNumber</a>(String &amp; response);</div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="class_gcode_host.html#aad4a191f51e0ae40ded66ca887533c81"> 66</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_gcode_host.html#aad4a191f51e0ae40ded66ca887533c81">waitWhenIdle</a>()</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; {</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <span class="keywordflow">return</span> _waitwhenidle;</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; }</div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="class_gcode_host.html#a8dba542c4218d99675cddb7ae9bb3c7a"> 70</a></span>&#160; uint8_t <a class="code" href="class_gcode_host.html#a8dba542c4218d99675cddb7ae9bb3c7a">getErrorNum</a>()</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; {</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; <span class="keywordflow">return</span> _error;</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; }</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_gcode_host.html#a1c624777512a678e5d5b662fc6c28f02">processFile</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * filename, <a class="code" href="authentication__service_8h.html#a3095411b68dbc51b5b535151b5bf0ae6">level_authenticate_type</a> auth_type, <a class="code" href="class_e_s_p3_d_output.html">ESP3DOutput</a> * output);</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_gcode_host.html#ae3c261bf836a76d3441724eae30555b5">processFSFile</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * filename, <a class="code" href="authentication__service_8h.html#a3095411b68dbc51b5b535151b5bf0ae6">level_authenticate_type</a> auth_type, <a class="code" href="class_e_s_p3_d_output.html">ESP3DOutput</a> * output);</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_gcode_host.html#af17ebce982e939ebc8205ea587b88bee">processLine</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * line, <a class="code" href="authentication__service_8h.html#a3095411b68dbc51b5b535151b5bf0ae6">level_authenticate_type</a> auth_type, <a class="code" href="class_e_s_p3_d_output.html">ESP3DOutput</a> * output);</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_gcode_host.html#ade23e0a1b4602dfdab7080505b26ff42">processscript</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * line);</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; uint32_t _commandnumber;</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; uint32_t _needcommandnumber;</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="keywordtype">bool</span> _waitwhenidle;</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; uint8_t _error;</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;};</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; </div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;<span class="keyword">extern</span> <a class="code" href="class_gcode_host.html">GcodeHost</a> <a class="code" href="gcode__host_8h.html#aee8daa3255a9e6ed0c9f461938e293ed">esp3d_gcode_host</a>;</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; </div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;<span class="preprocessor">#endif //_GCODE_HOST_H</span></div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; </div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aclass_gcode_host_html_af1c3af0eab1d933d798bc7b291053d0d"><div class="ttname"><a href="class_gcode_host.html#af1c3af0eab1d933d798bc7b291053d0d">GcodeHost::purge</a></div><div class="ttdeci">bool purge(uint32_t timeout=DEFAULT_TIMOUT)</div><div class="ttdef"><b>Definition:</b> <a href="gcode__host_8cpp_source.html#l00235">gcode_host.cpp:235</a></div></div>
<div class="ttc" id="aclass_gcode_host_html_af616a0a654fdd21694a5bf2037d40ed8"><div class="ttname"><a href="class_gcode_host.html#af616a0a654fdd21694a5bf2037d40ed8">GcodeHost::Get_commandNumber</a></div><div class="ttdeci">uint32_t Get_commandNumber(String &amp;response)</div><div class="ttdef"><b>Definition:</b> <a href="gcode__host_8cpp_source.html#l00264">gcode_host.cpp:264</a></div></div>
<div class="ttc" id="agcode__host_8h_html_aee8daa3255a9e6ed0c9f461938e293ed"><div class="ttname"><a href="gcode__host_8h.html#aee8daa3255a9e6ed0c9f461938e293ed">esp3d_gcode_host</a></div><div class="ttdeci">GcodeHost esp3d_gcode_host</div><div class="ttdef"><b>Definition:</b> <a href="gcode__host_8cpp_source.html#l00030">gcode_host.cpp:30</a></div></div>
<div class="ttc" id="aclass_gcode_host_html_a1c624777512a678e5d5b662fc6c28f02"><div class="ttname"><a href="class_gcode_host.html#a1c624777512a678e5d5b662fc6c28f02">GcodeHost::processFile</a></div><div class="ttdeci">bool processFile(const char *filename, level_authenticate_type auth_type, ESP3DOutput *output)</div><div class="ttdef"><b>Definition:</b> <a href="gcode__host_8cpp_source.html#l00389">gcode_host.cpp:389</a></div></div>
<div class="ttc" id="aclass_gcode_host_html_ac8e69419ec67cef16dd785ba1c8f423f"><div class="ttname"><a href="class_gcode_host.html#ac8e69419ec67cef16dd785ba1c8f423f">GcodeHost::end</a></div><div class="ttdeci">void end()</div><div class="ttdef"><b>Definition:</b> <a href="gcode__host_8cpp_source.html#l00051">gcode_host.cpp:51</a></div></div>
<div class="ttc" id="aclass_gcode_host_html_ae3c261bf836a76d3441724eae30555b5"><div class="ttname"><a href="class_gcode_host.html#ae3c261bf836a76d3441724eae30555b5">GcodeHost::processFSFile</a></div><div class="ttdeci">bool processFSFile(const char *filename, level_authenticate_type auth_type, ESP3DOutput *output)</div><div class="ttdef"><b>Definition:</b> <a href="gcode__host_8cpp_source.html#l00286">gcode_host.cpp:286</a></div></div>
<div class="ttc" id="aclass_gcode_host_html_a8c84c617f37311be1ef1978d29728180"><div class="ttname"><a href="class_gcode_host.html#a8c84c617f37311be1ef1978d29728180">GcodeHost::wait_for_data</a></div><div class="ttdeci">size_t wait_for_data(uint32_t timeout=DEFAULT_TIMOUT)</div><div class="ttdef"><b>Definition:</b> <a href="gcode__host_8cpp_source.html#l00080">gcode_host.cpp:80</a></div></div>
<div class="ttc" id="aclass_gcode_host_html_a360a42df394bce6f36d2e6976b21e596"><div class="ttname"><a href="class_gcode_host.html#a360a42df394bce6f36d2e6976b21e596">GcodeHost::~GcodeHost</a></div><div class="ttdeci">~GcodeHost()</div><div class="ttdef"><b>Definition:</b> <a href="gcode__host_8cpp_source.html#l00039">gcode_host.cpp:39</a></div></div>
<div class="ttc" id="aclass_gcode_host_html_aa88643ac86a17eeac24db0571194a9e8"><div class="ttname"><a href="class_gcode_host.html#aa88643ac86a17eeac24db0571194a9e8">GcodeHost::setCommandNumber</a></div><div class="ttdeci">void setCommandNumber(uint32_t n)</div><div class="ttdef"><b>Definition:</b> <a href="gcode__host_8h_source.html#l00055">gcode_host.h:55</a></div></div>
<div class="ttc" id="aclass_gcode_host_html_a8dba542c4218d99675cddb7ae9bb3c7a"><div class="ttname"><a href="class_gcode_host.html#a8dba542c4218d99675cddb7ae9bb3c7a">GcodeHost::getErrorNum</a></div><div class="ttdeci">uint8_t getErrorNum()</div><div class="ttdef"><b>Definition:</b> <a href="gcode__host_8h_source.html#l00070">gcode_host.h:70</a></div></div>
<div class="ttc" id="aclass_gcode_host_html_af17ebce982e939ebc8205ea587b88bee"><div class="ttname"><a href="class_gcode_host.html#af17ebce982e939ebc8205ea587b88bee">GcodeHost::processLine</a></div><div class="ttdeci">bool processLine(const char *line, level_authenticate_type auth_type, ESP3DOutput *output)</div><div class="ttdef"><b>Definition:</b> <a href="gcode__host_8cpp_source.html#l00355">gcode_host.cpp:355</a></div></div>
<div class="ttc" id="aclass_gcode_host_html_a1324c755a3c5526d283837e34ffb19e7"><div class="ttname"><a href="class_gcode_host.html#a1324c755a3c5526d283837e34ffb19e7">GcodeHost::CheckSumCommand</a></div><div class="ttdeci">String CheckSumCommand(const char *command, uint32_t commandnb)</div><div class="ttdef"><b>Definition:</b> <a href="gcode__host_8cpp_source.html#l00072">gcode_host.cpp:72</a></div></div>
<div class="ttc" id="aauthentication__service_8h_html_a3095411b68dbc51b5b535151b5bf0ae6"><div class="ttname"><a href="authentication__service_8h.html#a3095411b68dbc51b5b535151b5bf0ae6">level_authenticate_type</a></div><div class="ttdeci">level_authenticate_type</div><div class="ttdef"><b>Definition:</b> <a href="authentication__service_8h_source.html#l00025">authentication_service.h:25</a></div></div>
<div class="ttc" id="aclass_gcode_host_html_ac536b90c1c1ecbf12a4c69c55e6f1b5f"><div class="ttname"><a href="class_gcode_host.html#ac536b90c1c1ecbf12a4c69c55e6f1b5f">GcodeHost::wait_for_ack</a></div><div class="ttdeci">bool wait_for_ack(uint32_t timeout=DEFAULT_TIMOUT, bool checksum=false, const char *ack=nullptr)</div><div class="ttdef"><b>Definition:</b> <a href="gcode__host_8cpp_source.html#l00106">gcode_host.cpp:106</a></div></div>
<div class="ttc" id="aclass_gcode_host_html_a455fe432983811d4b0b983db8d33e8a1"><div class="ttname"><a href="class_gcode_host.html#a455fe432983811d4b0b983db8d33e8a1">GcodeHost::Checksum</a></div><div class="ttdeci">uint8_t Checksum(const char *command, uint32_t commandSize)</div><div class="ttdef"><b>Definition:</b> <a href="gcode__host_8cpp_source.html#l00060">gcode_host.cpp:60</a></div></div>
<div class="ttc" id="aclass_gcode_host_html"><div class="ttname"><a href="class_gcode_host.html">GcodeHost</a></div><div class="ttdef"><b>Definition:</b> <a href="gcode__host_8h_source.html#l00042">gcode_host.h:42</a></div></div>
<div class="ttc" id="aclass_gcode_host_html_ade23e0a1b4602dfdab7080505b26ff42"><div class="ttname"><a href="class_gcode_host.html#ade23e0a1b4602dfdab7080505b26ff42">GcodeHost::processscript</a></div><div class="ttdeci">bool processscript(const char *line)</div><div class="ttdef"><b>Definition:</b> <a href="gcode__host_8cpp_source.html#l00340">gcode_host.cpp:340</a></div></div>
<div class="ttc" id="aclass_gcode_host_html_a38a7d62167fbefdfb3fec09c61f7c2e0"><div class="ttname"><a href="class_gcode_host.html#a38a7d62167fbefdfb3fec09c61f7c2e0">GcodeHost::currentCommandNumber</a></div><div class="ttdeci">uint32_t currentCommandNumber()</div><div class="ttdef"><b>Definition:</b> <a href="gcode__host_8h_source.html#l00051">gcode_host.h:51</a></div></div>
<div class="ttc" id="aclass_gcode_host_html_a6e4117a7f58b0680d9f3bc2d8133ef9b"><div class="ttname"><a href="class_gcode_host.html#a6e4117a7f58b0680d9f3bc2d8133ef9b">GcodeHost::GcodeHost</a></div><div class="ttdeci">GcodeHost()</div><div class="ttdef"><b>Definition:</b> <a href="gcode__host_8cpp_source.html#l00032">gcode_host.cpp:32</a></div></div>
<div class="ttc" id="aclass_gcode_host_html_aa9e069303f6886f9c5134823057f949d"><div class="ttname"><a href="class_gcode_host.html#aa9e069303f6886f9c5134823057f949d">GcodeHost::resetCommandNumbering</a></div><div class="ttdeci">bool resetCommandNumbering()</div><div class="ttdef"><b>Definition:</b> <a href="gcode__host_8cpp_source.html#l00089">gcode_host.cpp:89</a></div></div>
<div class="ttc" id="aclass_gcode_host_html_af51397ea2e659480ec271000e6c55496"><div class="ttname"><a href="class_gcode_host.html#af51397ea2e659480ec271000e6c55496">GcodeHost::sendCommand</a></div><div class="ttdeci">bool sendCommand(const char *command, bool checksum=false, bool wait4ack=true, const char *ack=nullptr)</div><div class="ttdef"><b>Definition:</b> <a href="gcode__host_8cpp_source.html#l00174">gcode_host.cpp:174</a></div></div>
<div class="ttc" id="aclass_gcode_host_html_aad4a191f51e0ae40ded66ca887533c81"><div class="ttname"><a href="class_gcode_host.html#aad4a191f51e0ae40ded66ca887533c81">GcodeHost::waitWhenIdle</a></div><div class="ttdeci">bool waitWhenIdle()</div><div class="ttdef"><b>Definition:</b> <a href="gcode__host_8h_source.html#l00066">gcode_host.h:66</a></div></div>
<div class="ttc" id="agcode__host_8h_html_ae3c7c46d5d9c8dca3f68e5a8e2b176cc"><div class="ttname"><a href="gcode__host_8h.html#ae3c7c46d5d9c8dca3f68e5a8e2b176cc">DEFAULT_TIMOUT</a></div><div class="ttdeci">#define DEFAULT_TIMOUT</div><div class="ttdef"><b>Definition:</b> <a href="gcode__host_8h_source.html#l00030">gcode_host.h:30</a></div></div>
<div class="ttc" id="aclass_e_s_p3_d_output_html"><div class="ttname"><a href="class_e_s_p3_d_output.html">ESP3DOutput</a></div><div class="ttdef"><b>Definition:</b> <a href="esp3doutput_8h_source.html#l00048">esp3doutput.h:48</a></div></div>
<div class="ttc" id="aclass_gcode_host_html_afd1228e9308b20c67dcc8869e34193e4"><div class="ttname"><a href="class_gcode_host.html#afd1228e9308b20c67dcc8869e34193e4">GcodeHost::handle</a></div><div class="ttdeci">void handle()</div><div class="ttdef"><b>Definition:</b> <a href="gcode__host_8cpp_source.html#l00056">gcode_host.cpp:56</a></div></div>
<div class="ttc" id="aclass_gcode_host_html_a1376d13cb64b751b22d918baa34c3b71"><div class="ttname"><a href="class_gcode_host.html#a1376d13cb64b751b22d918baa34c3b71">GcodeHost::begin</a></div><div class="ttdeci">bool begin(bool waitwhenidle=false)</div><div class="ttdef"><b>Definition:</b> <a href="gcode__host_8cpp_source.html#l00044">gcode_host.cpp:44</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_26e324fd2d3b807b96644664d24a0768.html">esp3d</a></li><li class="navelem"><a class="el" href="dir_8d0579f238dc492a9f9393e76adf8153.html">src</a></li><li class="navelem"><a class="el" href="dir_2c1830491e0576ae3395f8c2f91c7d85.html">modules</a></li><li class="navelem"><a class="el" href="dir_8538a029712cab3b31105b68f2b48084.html">gcode_host</a></li><li class="navelem"><a class="el" href="gcode__host_8h.html">gcode_host.h</a></li>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
</ul>
</div>
</body>
</html>