mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-04-22 05:39:57 +08:00
282 lines
36 KiB
HTML
282 lines
36 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/devices/devices_services.cpp 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
|
|
 <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&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&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&dn=gpl-2.0.txt GPL-v2 */
|
|
$(document).ready(function(){initNavTree('devices__services_8cpp_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">devices_services.cpp</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="devices__services_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div>
|
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> devices_services.cpp - devices services functions class</span></div>
|
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"></span> </div>
|
|
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <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> <span class="comment"></span> </div>
|
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <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> <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> <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> <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> <span class="comment"></span> </div>
|
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <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> <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> <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> <span class="comment"> Lesser General Public License for more details.</span></div>
|
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"></span> </div>
|
|
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <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> <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> <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> <span class="comment">*/</span></div>
|
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  </div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include "../../include/esp3d_config.h"</span></div>
|
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#ifdef CONNECTED_DEVICES_FEATURE</span></div>
|
|
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include "<a class="code" href="devices__services_8h.html">devices_services.h</a>"</span></div>
|
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include "../../core/settings_esp3d.h"</span></div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "../../core/esp3doutput.h"</span></div>
|
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  </div>
|
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#ifdef DISPLAY_DEVICE</span></div>
|
|
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include "../display/display.h"</span></div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#endif //DISPLAY_DEVICE</span></div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#ifdef DHT_DEVICE</span></div>
|
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include "../dht/dht.h"</span></div>
|
|
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#endif //DHT_DEVICE</span></div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#ifdef BUZZER_DEVICE</span></div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#include "../buzzer/buzzer.h"</span></div>
|
|
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#endif //BUZZER_DEVICE</span></div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#ifdef RECOVERY_FEATURE</span></div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#include "../recovery/recovery_service.h"</span></div>
|
|
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor">#endif //RECOVERY_FEATURE</span></div>
|
|
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#ifdef CAMERA_DEVICE</span></div>
|
|
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor">#include "../camera/camera.h"</span></div>
|
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor">#endif //CAMERA_DEVICE</span></div>
|
|
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="preprocessor">#ifdef SD_DEVICE</span></div>
|
|
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor">#include "../filesystem/esp_sd.h"</span></div>
|
|
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="preprocessor">#endif //SD_DEVICE</span></div>
|
|
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  </div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="keywordtype">bool</span> DevicesServices::_started = <span class="keyword">false</span>;</div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  </div>
|
|
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="class_devices_services.html#ad2887d873e133eb5c008886d1e3fdbb4"> 48</a></span> <a class="code" href="class_devices_services.html#ad2887d873e133eb5c008886d1e3fdbb4">DevicesServices::DevicesServices</a>()</div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> {</div>
|
|
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> }</div>
|
|
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="class_devices_services.html#aa6893c37baf234dc5fdbee425a3a42f0"> 51</a></span> <a class="code" href="class_devices_services.html#aa6893c37baf234dc5fdbee425a3a42f0">DevicesServices::~DevicesServices</a>()</div>
|
|
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> {</div>
|
|
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <a class="code" href="class_devices_services.html#af1c171e7e907c769c63d0630649b39c6">end</a>();</div>
|
|
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> }</div>
|
|
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  </div>
|
|
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="class_devices_services.html#a1abf618bfe2e2d89ae48860d8ec72a38"> 56</a></span> <span class="keywordtype">bool</span> <a class="code" href="class_devices_services.html#a1abf618bfe2e2d89ae48860d8ec72a38">DevicesServices::begin</a>()</div>
|
|
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> {</div>
|
|
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keywordtype">bool</span> res = <span class="keyword">true</span>;</div>
|
|
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  _started = <span class="keyword">false</span>;</div>
|
|
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="preprocessor">#ifdef SD_DEVICE</span></div>
|
|
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordflow">if</span> (!<a class="code" href="class_e_s_p___s_d.html#a45c13f86caa58bbec7d4e13dbdfd4af6">ESP_SD::begin</a>()) {</div>
|
|
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <a class="code" href="debug__esp3d_8h.html#ad66db7b10b9ca4acd38f124bd406a54c">log_esp3d</a>(<span class="stringliteral">"Error sd intialization failed"</span>);</div>
|
|
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  res = <span class="keyword">false</span>;</div>
|
|
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  }</div>
|
|
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="preprocessor">#endif //SD_DEVICE</span></div>
|
|
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="preprocessor">#ifdef DISPLAY_DEVICE</span></div>
|
|
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keywordflow">if</span> (!<a class="code" href="advanceddisplay_8h.html#a730cb1a14dc92462425e66fd269cc92f">esp3d_display</a>.<a class="code" href="class_display.html#a51b6e65da67b90321935e1c0be45184d">begin</a>()) {</div>
|
|
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <a class="code" href="debug__esp3d_8h.html#ad66db7b10b9ca4acd38f124bd406a54c">log_esp3d</a>(<span class="stringliteral">"Error starting display device"</span>);</div>
|
|
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  res = <span class="keyword">false</span>;</div>
|
|
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  }</div>
|
|
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="preprocessor">#endif //DISPLAY_DEVICE</span></div>
|
|
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="preprocessor">#ifdef DHT_DEVICE</span></div>
|
|
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keywordflow">if</span> (!<a class="code" href="dht_8h.html#a65942a2b41cf2a08699e185fac352515">esp3d_DHT</a>.<a class="code" href="class_d_h_t.html#affeec3f3752eeac17c684c781d9a962c">begin</a>()) {</div>
|
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <a class="code" href="debug__esp3d_8h.html#ad66db7b10b9ca4acd38f124bd406a54c">log_esp3d</a>(<span class="stringliteral">"Error starting DHT device"</span>);</div>
|
|
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  res = <span class="keyword">false</span>;</div>
|
|
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  }</div>
|
|
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="preprocessor">#endif //DHT_DEVICE</span></div>
|
|
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="preprocessor">#ifdef BUZZER_DEVICE</span></div>
|
|
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keywordflow">if</span> (!<a class="code" href="buzzer_8h.html#a347399418a94f80399402f92e9f42839">esp3d_buzzer</a>.<a class="code" href="class_buzzer_device.html#aeb73fb085b2cdc29243a0bed1f140b24">begin</a>()) {</div>
|
|
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <a class="code" href="debug__esp3d_8h.html#ad66db7b10b9ca4acd38f124bd406a54c">log_esp3d</a>(<span class="stringliteral">"Error starting buzzer device"</span>);</div>
|
|
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  res = <span class="keyword">false</span>;</div>
|
|
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  }</div>
|
|
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="preprocessor">#endif //BUZZER_DEVICE</span></div>
|
|
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="preprocessor">#ifdef RECOVERY_FEATURE</span></div>
|
|
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordflow">if</span> (!<a class="code" href="recovery__service_8h.html#ac84b3cd1f31397ca6125f61149da2bf1">recovery_service</a>.<a class="code" href="class_recovery_service.html#a2b77f61ede021dd229d29308b44e2af8">begin</a>()) {</div>
|
|
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <a class="code" href="debug__esp3d_8h.html#ad66db7b10b9ca4acd38f124bd406a54c">log_esp3d</a>(<span class="stringliteral">"Error starting recovery service"</span>);</div>
|
|
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  res = <span class="keyword">false</span>;</div>
|
|
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  }</div>
|
|
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="preprocessor">#endif //RECOVERY_FEATURE</span></div>
|
|
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="preprocessor">#ifdef CAMERA_DEVICE</span></div>
|
|
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordflow">if</span> (!<a class="code" href="camera_8h.html#ab0fe2409b5d8b140dd35551a61c2e58d">esp3d_camera</a>.<a class="code" href="class_camera.html#a7cc3d8ac70a16598a84596999df96cf4">initHardware</a>()) {</div>
|
|
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <a class="code" href="debug__esp3d_8h.html#ad66db7b10b9ca4acd38f124bd406a54c">log_esp3d</a>(<span class="stringliteral">"Error camera intialization failed"</span>);</div>
|
|
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  res = <span class="keyword">false</span>;</div>
|
|
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  }</div>
|
|
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <span class="preprocessor">#endif //CAMERA_DEVICE</span></div>
|
|
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keywordflow">if</span> (!res) {</div>
|
|
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <a class="code" href="class_devices_services.html#af1c171e7e907c769c63d0630649b39c6">end</a>();</div>
|
|
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  }</div>
|
|
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  _started = res;</div>
|
|
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keywordflow">return</span> _started;</div>
|
|
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> }</div>
|
|
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="class_devices_services.html#af1c171e7e907c769c63d0630649b39c6"> 102</a></span> <span class="keywordtype">void</span> <a class="code" href="class_devices_services.html#af1c171e7e907c769c63d0630649b39c6">DevicesServices::end</a>()</div>
|
|
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> {</div>
|
|
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keywordflow">if</span>(!_started) {</div>
|
|
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keywordflow">return</span>;</div>
|
|
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  }</div>
|
|
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  _started = <span class="keyword">false</span>;</div>
|
|
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <span class="preprocessor">#ifdef SD_DEVICE</span></div>
|
|
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <a class="code" href="class_e_s_p___s_d.html#a89c600dba04b9a645fa317d471f8bc9b">ESP_SD::end</a>();</div>
|
|
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> <span class="preprocessor">#endif //SD_DEVICE</span></div>
|
|
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> <span class="preprocessor">#ifdef CAMERA_DEVICE</span></div>
|
|
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <a class="code" href="camera_8h.html#ab0fe2409b5d8b140dd35551a61c2e58d">esp3d_camera</a>.<a class="code" href="class_camera.html#a112590d3cf9a4a126cef11ca6176d6e9">stopHardware</a>();</div>
|
|
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="preprocessor">#endif //CAMERA_DEVICE</span></div>
|
|
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> <span class="preprocessor">#ifdef RECOVERY_FEATURE</span></div>
|
|
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <a class="code" href="recovery__service_8h.html#ac84b3cd1f31397ca6125f61149da2bf1">recovery_service</a>.<a class="code" href="class_recovery_service.html#a7c53d453a30e4d33a8dc292612030908">end</a>();</div>
|
|
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="preprocessor">#endif //RECOVERY_FEATURE</span></div>
|
|
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="preprocessor">#ifdef BUZZER_DEVICE</span></div>
|
|
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <a class="code" href="buzzer_8h.html#a347399418a94f80399402f92e9f42839">esp3d_buzzer</a>.<a class="code" href="class_buzzer_device.html#aacdbe3fcdd3f285c261e0e8b816fc65a">end</a>();</div>
|
|
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> <span class="preprocessor">#endif //BUZZER_DEVICE</span></div>
|
|
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <span class="preprocessor">#ifdef DISPLAY_DEVICE</span></div>
|
|
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <a class="code" href="advanceddisplay_8h.html#a730cb1a14dc92462425e66fd269cc92f">esp3d_display</a>.<a class="code" href="class_display.html#ab12631a5e8de8acd36904b7109352465">end</a>();</div>
|
|
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> <span class="preprocessor">#endif //DISPLAY_DEVICE</span></div>
|
|
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> <span class="preprocessor">#ifdef DHT_DEVICE</span></div>
|
|
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <a class="code" href="dht_8h.html#a65942a2b41cf2a08699e185fac352515">esp3d_DHT</a>.<a class="code" href="class_d_h_t.html#a39d833ae18a85d54f42ea71510e36a85">end</a>();</div>
|
|
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> <span class="preprocessor">#endif //DHT_DDEVICE</span></div>
|
|
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> }</div>
|
|
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  </div>
|
|
<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="class_devices_services.html#ace69dbb400f09165712c5157eb21cd83"> 128</a></span> <span class="keywordtype">void</span> <a class="code" href="class_devices_services.html#ace69dbb400f09165712c5157eb21cd83">DevicesServices::handle</a>()</div>
|
|
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> {</div>
|
|
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="keywordflow">if</span> (_started) {</div>
|
|
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> <span class="preprocessor">#ifdef DISPLAY_DEVICE</span></div>
|
|
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <a class="code" href="advanceddisplay_8h.html#a730cb1a14dc92462425e66fd269cc92f">esp3d_display</a>.<a class="code" href="class_display.html#ab5a292440ed2be6a2d8e184b1c685676">handle</a>();</div>
|
|
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> <span class="preprocessor">#endif //DISPLAY_DEVICE</span></div>
|
|
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <span class="preprocessor">#ifdef DHT_DEVICE</span></div>
|
|
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <a class="code" href="dht_8h.html#a65942a2b41cf2a08699e185fac352515">esp3d_DHT</a>.<a class="code" href="class_d_h_t.html#abd5c9d81622db606c48fc0fd59d0c36a">handle</a>();</div>
|
|
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> <span class="preprocessor">#endif //DHT_DEVICE</span></div>
|
|
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span> <span class="preprocessor">#ifdef BUZZER_DEVICE</span></div>
|
|
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <a class="code" href="buzzer_8h.html#a347399418a94f80399402f92e9f42839">esp3d_buzzer</a>.<a class="code" href="class_buzzer_device.html#a64b53652e0ae808d8552bd03e645384a">handle</a>();</div>
|
|
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span> <span class="preprocessor">#endif //BUZZER_DEVICE</span></div>
|
|
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> <span class="preprocessor">#ifdef RECOVERY_FEATURE</span></div>
|
|
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <a class="code" href="recovery__service_8h.html#ac84b3cd1f31397ca6125f61149da2bf1">recovery_service</a>.<a class="code" href="class_recovery_service.html#acae059e4302051f2cc7ca74b771ece06">handle</a>();</div>
|
|
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> <span class="preprocessor">#endif //RECOVERY_FEATURE</span></div>
|
|
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> <span class="preprocessor">#ifdef SD_DEVICE</span></div>
|
|
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <a class="code" href="class_e_s_p___s_d.html#a3da60c9529faaf0d586b504aaca7bfd5">ESP_SD::handle</a>();</div>
|
|
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> <span class="preprocessor">#endif //SD_DEVICE</span></div>
|
|
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  }</div>
|
|
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> }</div>
|
|
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  </div>
|
|
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> <span class="preprocessor">#endif //#CONNECTED_DEVICES_FEATURE</span></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
<div class="ttc" id="aclass_d_h_t_html_abd5c9d81622db606c48fc0fd59d0c36a"><div class="ttname"><a href="class_d_h_t.html#abd5c9d81622db606c48fc0fd59d0c36a">DHT::handle</a></div><div class="ttdeci">void handle()</div></div>
|
|
<div class="ttc" id="aclass_recovery_service_html_acae059e4302051f2cc7ca74b771ece06"><div class="ttname"><a href="class_recovery_service.html#acae059e4302051f2cc7ca74b771ece06">RecoveryService::handle</a></div><div class="ttdeci">void handle()</div></div>
|
|
<div class="ttc" id="aclass_recovery_service_html_a2b77f61ede021dd229d29308b44e2af8"><div class="ttname"><a href="class_recovery_service.html#a2b77f61ede021dd229d29308b44e2af8">RecoveryService::begin</a></div><div class="ttdeci">bool begin()</div></div>
|
|
<div class="ttc" id="aclass_camera_html_a112590d3cf9a4a126cef11ca6176d6e9"><div class="ttname"><a href="class_camera.html#a112590d3cf9a4a126cef11ca6176d6e9">Camera::stopHardware</a></div><div class="ttdeci">bool stopHardware()</div></div>
|
|
<div class="ttc" id="aclass_display_html_ab12631a5e8de8acd36904b7109352465"><div class="ttname"><a href="class_display.html#ab12631a5e8de8acd36904b7109352465">Display::end</a></div><div class="ttdeci">void end()</div></div>
|
|
<div class="ttc" id="aclass_devices_services_html_af1c171e7e907c769c63d0630649b39c6"><div class="ttname"><a href="class_devices_services.html#af1c171e7e907c769c63d0630649b39c6">DevicesServices::end</a></div><div class="ttdeci">static void end()</div><div class="ttdef"><b>Definition:</b> <a href="devices__services_8cpp_source.html#l00102">devices_services.cpp:102</a></div></div>
|
|
<div class="ttc" id="aclass_d_h_t_html_a39d833ae18a85d54f42ea71510e36a85"><div class="ttname"><a href="class_d_h_t.html#a39d833ae18a85d54f42ea71510e36a85">DHT::end</a></div><div class="ttdeci">void end()</div></div>
|
|
<div class="ttc" id="aclass_display_html_a51b6e65da67b90321935e1c0be45184d"><div class="ttname"><a href="class_display.html#a51b6e65da67b90321935e1c0be45184d">Display::begin</a></div><div class="ttdeci">bool begin()</div></div>
|
|
<div class="ttc" id="aclass_buzzer_device_html_a64b53652e0ae808d8552bd03e645384a"><div class="ttname"><a href="class_buzzer_device.html#a64b53652e0ae808d8552bd03e645384a">BuzzerDevice::handle</a></div><div class="ttdeci">void handle()</div></div>
|
|
<div class="ttc" id="adht_8h_html_a65942a2b41cf2a08699e185fac352515"><div class="ttname"><a href="dht_8h.html#a65942a2b41cf2a08699e185fac352515">esp3d_DHT</a></div><div class="ttdeci">DHT esp3d_DHT</div></div>
|
|
<div class="ttc" id="aclass_e_s_p___s_d_html_a45c13f86caa58bbec7d4e13dbdfd4af6"><div class="ttname"><a href="class_e_s_p___s_d.html#a45c13f86caa58bbec7d4e13dbdfd4af6">ESP_SD::begin</a></div><div class="ttdeci">static bool begin()</div></div>
|
|
<div class="ttc" id="aclass_e_s_p___s_d_html_a3da60c9529faaf0d586b504aaca7bfd5"><div class="ttname"><a href="class_e_s_p___s_d.html#a3da60c9529faaf0d586b504aaca7bfd5">ESP_SD::handle</a></div><div class="ttdeci">static void handle()</div><div class="ttdef"><b>Definition:</b> <a href="esp__sd_8cpp_source.html#l00062">esp_sd.cpp:62</a></div></div>
|
|
<div class="ttc" id="aclass_d_h_t_html_affeec3f3752eeac17c684c781d9a962c"><div class="ttname"><a href="class_d_h_t.html#affeec3f3752eeac17c684c781d9a962c">DHT::begin</a></div><div class="ttdeci">bool begin()</div></div>
|
|
<div class="ttc" id="adevices__services_8h_html"><div class="ttname"><a href="devices__services_8h.html">devices_services.h</a></div></div>
|
|
<div class="ttc" id="aclass_devices_services_html_a1abf618bfe2e2d89ae48860d8ec72a38"><div class="ttname"><a href="class_devices_services.html#a1abf618bfe2e2d89ae48860d8ec72a38">DevicesServices::begin</a></div><div class="ttdeci">static bool begin()</div><div class="ttdef"><b>Definition:</b> <a href="devices__services_8cpp_source.html#l00056">devices_services.cpp:56</a></div></div>
|
|
<div class="ttc" id="aclass_buzzer_device_html_aacdbe3fcdd3f285c261e0e8b816fc65a"><div class="ttname"><a href="class_buzzer_device.html#aacdbe3fcdd3f285c261e0e8b816fc65a">BuzzerDevice::end</a></div><div class="ttdeci">void end()</div></div>
|
|
<div class="ttc" id="aclass_devices_services_html_ad2887d873e133eb5c008886d1e3fdbb4"><div class="ttname"><a href="class_devices_services.html#ad2887d873e133eb5c008886d1e3fdbb4">DevicesServices::DevicesServices</a></div><div class="ttdeci">DevicesServices()</div><div class="ttdef"><b>Definition:</b> <a href="devices__services_8cpp_source.html#l00048">devices_services.cpp:48</a></div></div>
|
|
<div class="ttc" id="adebug__esp3d_8h_html_ad66db7b10b9ca4acd38f124bd406a54c"><div class="ttname"><a href="debug__esp3d_8h.html#ad66db7b10b9ca4acd38f124bd406a54c">log_esp3d</a></div><div class="ttdeci">#define log_esp3d(format,...)</div><div class="ttdef"><b>Definition:</b> <a href="debug__esp3d_8h_source.html#l00029">debug_esp3d.h:29</a></div></div>
|
|
<div class="ttc" id="aclass_buzzer_device_html_aeb73fb085b2cdc29243a0bed1f140b24"><div class="ttname"><a href="class_buzzer_device.html#aeb73fb085b2cdc29243a0bed1f140b24">BuzzerDevice::begin</a></div><div class="ttdeci">bool begin()</div></div>
|
|
<div class="ttc" id="aclass_devices_services_html_aa6893c37baf234dc5fdbee425a3a42f0"><div class="ttname"><a href="class_devices_services.html#aa6893c37baf234dc5fdbee425a3a42f0">DevicesServices::~DevicesServices</a></div><div class="ttdeci">~DevicesServices()</div><div class="ttdef"><b>Definition:</b> <a href="devices__services_8cpp_source.html#l00051">devices_services.cpp:51</a></div></div>
|
|
<div class="ttc" id="arecovery__service_8h_html_ac84b3cd1f31397ca6125f61149da2bf1"><div class="ttname"><a href="recovery__service_8h.html#ac84b3cd1f31397ca6125f61149da2bf1">recovery_service</a></div><div class="ttdeci">RecoveryService recovery_service</div></div>
|
|
<div class="ttc" id="aadvanceddisplay_8h_html_a730cb1a14dc92462425e66fd269cc92f"><div class="ttname"><a href="advanceddisplay_8h.html#a730cb1a14dc92462425e66fd269cc92f">esp3d_display</a></div><div class="ttdeci">Display esp3d_display</div></div>
|
|
<div class="ttc" id="aclass_display_html_ab5a292440ed2be6a2d8e184b1c685676"><div class="ttname"><a href="class_display.html#ab5a292440ed2be6a2d8e184b1c685676">Display::handle</a></div><div class="ttdeci">void handle()</div></div>
|
|
<div class="ttc" id="acamera_8h_html_ab0fe2409b5d8b140dd35551a61c2e58d"><div class="ttname"><a href="camera_8h.html#ab0fe2409b5d8b140dd35551a61c2e58d">esp3d_camera</a></div><div class="ttdeci">Camera esp3d_camera</div></div>
|
|
<div class="ttc" id="aclass_camera_html_a7cc3d8ac70a16598a84596999df96cf4"><div class="ttname"><a href="class_camera.html#a7cc3d8ac70a16598a84596999df96cf4">Camera::initHardware</a></div><div class="ttdeci">bool initHardware(bool forceinit=false)</div></div>
|
|
<div class="ttc" id="aclass_recovery_service_html_a7c53d453a30e4d33a8dc292612030908"><div class="ttname"><a href="class_recovery_service.html#a7c53d453a30e4d33a8dc292612030908">RecoveryService::end</a></div><div class="ttdeci">void end()</div></div>
|
|
<div class="ttc" id="aclass_devices_services_html_ace69dbb400f09165712c5157eb21cd83"><div class="ttname"><a href="class_devices_services.html#ace69dbb400f09165712c5157eb21cd83">DevicesServices::handle</a></div><div class="ttdeci">static void handle()</div><div class="ttdef"><b>Definition:</b> <a href="devices__services_8cpp_source.html#l00128">devices_services.cpp:128</a></div></div>
|
|
<div class="ttc" id="abuzzer_8h_html_a347399418a94f80399402f92e9f42839"><div class="ttname"><a href="buzzer_8h.html#a347399418a94f80399402f92e9f42839">esp3d_buzzer</a></div><div class="ttdeci">BuzzerDevice esp3d_buzzer</div></div>
|
|
<div class="ttc" id="aclass_e_s_p___s_d_html_a89c600dba04b9a645fa317d471f8bc9b"><div class="ttname"><a href="class_e_s_p___s_d.html#a89c600dba04b9a645fa317d471f8bc9b">ESP_SD::end</a></div><div class="ttdeci">static void end()</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_20c672832b1aebf99416c18337d040e7.html">devices</a></li><li class="navelem"><a class="el" href="devices__services_8cpp.html">devices_services.cpp</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>
|