mirror of
https://github.com/h2zero/esp-nimble-cpp.git
synced 2024-11-23 13:40:55 +01:00
165 lines
14 KiB
HTML
165 lines
14 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.9.1"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>esp-nimble-cpp: K:/Users/Ryan/Desktop/thermo-git/components/esp-nimble-cpp/src/nimconfig.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="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">esp-nimble-cpp
|
|
 <span id="projectnumber">1.3.2</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.1 -->
|
|
<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','.html');
|
|
/* @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('nimconfig_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">nimconfig.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="nimconfig_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>  </div>
|
|
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#pragma once</span></div>
|
|
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  </div>
|
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#include "sdkconfig.h"</span></div>
|
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include "nimconfig_rename.h"</span></div>
|
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  </div>
|
|
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#if defined(CONFIG_BT_ENABLED)</span></div>
|
|
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  </div>
|
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">// Allows cpp wrapper to select the correct include paths when using esp-idf</span></div>
|
|
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#define CONFIG_NIMBLE_CPP_IDF</span></div>
|
|
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  </div>
|
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">/* Cannot use client without scan */</span></div>
|
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL) && !defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)</span></div>
|
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#define CONFIG_BT_NIMBLE_ROLE_OBSERVER</span></div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  </div>
|
|
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment">/* Cannot use server without advertise */</span></div>
|
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#if defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL) && !defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER)</span></div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#define CONFIG_BT_NIMBLE_ROLE_BROADCASTER</span></div>
|
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  </div>
|
|
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#endif </span><span class="comment">/* CONFIG_BT_ENABLED */</span><span class="preprocessor"></span></div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  </div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#ifdef _DOXYGEN_</span></div>
|
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  </div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a2ea633774bbf41ac57b314875f16d5f9"> 33</a></span> <span class="preprocessor">#define CONFIG_BT_NIMBLE_MAX_CONNECTIONS 3</span></div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  </div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a8fa28ebea6e979630359a2acde3ae578"> 36</a></span> <span class="preprocessor">#define CONFIG_BT_NIMBLE_ATT_PREFERRED_MTU 255</span></div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  </div>
|
|
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a7b98160e6904e45e99e28a7fcc6b2a3a"> 39</a></span> <span class="preprocessor">#define CONFIG_BT_NIMBLE_SVC_GAP_DEVICE_NAME "nimble"</span></div>
|
|
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  </div>
|
|
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a1cfe4f7cfbce0d842fad09e4b668d3df"> 45</a></span> <span class="preprocessor">#define CONFIG_BT_NIMBLE_LOG_LEVEL 5</span></div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  </div>
|
|
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a3966debed5a599b8cabff3c50b9fae4f"> 51</a></span> <span class="preprocessor">#define CONFIG_NIMBLE_CPP_LOG_LEVEL 0</span></div>
|
|
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  </div>
|
|
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a136a5d626ac04aa780c6ec07ee88d242"> 56</a></span> <span class="preprocessor">#define CONFIG_NIMBLE_CPP_ENABLE_RETURN_CODE_TEXT</span></div>
|
|
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  </div>
|
|
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a97b51f4248845f6225806eadbab3bcdb"> 61</a></span> <span class="preprocessor">#define CONFIG_NIMBLE_CPP_ENABLE_GAP_EVENT_CODE_TEXT</span></div>
|
|
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  </div>
|
|
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a07c0fd3908c3466e9f4835f85d913880"> 66</a></span> <span class="preprocessor">#define CONFIG_NIMBLE_CPP_ENABLE_ADVERTISMENT_TYPE_TEXT</span></div>
|
|
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  </div>
|
|
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a300d3f8ff48d217a1a2b6608454dfadb"> 69</a></span> <span class="preprocessor">#define CONFIG_BT_NIMBLE_SVC_GAP_APPEARANCE 0x0</span></div>
|
|
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  </div>
|
|
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a6ebb331a6664a3863fb2a57b91a6cd2d"> 74</a></span> <span class="preprocessor">#define CONFIG_BT_NIMBLE_ROLE_CENTRAL_DISABLED</span></div>
|
|
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  </div>
|
|
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#ab91646223e52e5c24f1004a0ed21b829"> 79</a></span> <span class="preprocessor">#define CONFIG_BT_NIMBLE_ROLE_OBSERVER_DISABLED</span></div>
|
|
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  </div>
|
|
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a677d7e75eef5bc96e8d0b4c659db90b0"> 84</a></span> <span class="preprocessor">#define CONFIG_BT_NIMBLE_ROLE_PERIPHERAL_DISABLED</span></div>
|
|
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  </div>
|
|
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a2a6b4f35f8975778ac2aac5ff169cbda"> 89</a></span> <span class="preprocessor">#define CONFIG_BT_NIMBLE_ROLE_BROADCASTER_DISABLED</span></div>
|
|
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  </div>
|
|
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a11ebe4c94e55f9e710be03169b91f964"> 92</a></span> <span class="preprocessor">#define CONFIG_BT_NIMBLE_MAX_BONDS 3</span></div>
|
|
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  </div>
|
|
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#abdc3219ca772a22427beed33477ea252"> 95</a></span> <span class="preprocessor">#define CONFIG_BT_NIMBLE_MAX_CCCDS 8</span></div>
|
|
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  </div>
|
|
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a9d22f9f555a2180787ccec86aa10dc24"> 98</a></span> <span class="preprocessor">#define CONFIG_BT_NIMBLE_RPA_TIMEOUT 900</span></div>
|
|
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  </div>
|
|
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a2f0eb3c3124a34b191a70908dc5af441"> 106</a></span> <span class="preprocessor">#define CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT 12</span></div>
|
|
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  </div>
|
|
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a1f39f56a0fe8a36ef7823a7c3e1c6e3b"> 109</a></span> <span class="preprocessor">#define CONFIG_BT_NIMBLE_MEM_ALLOC_MODE_EXTERNAL 1</span></div>
|
|
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  </div>
|
|
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#ab86912bde65d198f2f7aa7f83ef11ee8"> 112</a></span> <span class="preprocessor">#define CONFIG_BT_NIMBLE_PINNED_TO_CORE 0</span></div>
|
|
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  </div>
|
|
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a227a536958a284235daf409b2b3d1766"> 115</a></span> <span class="preprocessor">#define CONFIG_BT_NIMBLE_TASK_STACK_SIZE 4096</span></div>
|
|
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  </div>
|
|
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="preprocessor">#endif </span><span class="comment">// _DOXYGEN_</span></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
<!-- start footer part -->
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="nimconfig_8h.html">nimconfig.h</a></li>
|
|
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|