esp-nimble-cpp/nimconfig_8h_source.html

177 lines
16 KiB
HTML
Raw Normal View History

<!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"/>
2022-01-15 23:23:57 +01:00
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>esp-nimble-cpp: /github/workspace/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;">
2022-01-15 23:23:57 +01:00
<div id="projectname">esp-nimble-cpp
&#160;<span id="projectnumber">1.4.1</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
2022-01-15 23:23:57 +01:00
<!-- Generated by Doxygen 1.9.1 -->
<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','.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&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('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>&#160; </div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160; </div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#include &quot;sdkconfig.h&quot;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="preprocessor">#include &quot;nimconfig_rename.h&quot;</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160; </div>
2022-01-15 23:23:57 +01:00
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="preprocessor">#if defined(CONFIG_BT_ENABLED)</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160; </div>
2022-01-15 23:23:57 +01:00
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<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>&#160;<span class="preprocessor">#define CONFIG_NIMBLE_CPP_IDF</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160; </div>
2022-01-15 23:23:57 +01:00
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment">/* Cannot use client without scan */</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL) &amp;&amp; !defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#define CONFIG_BT_NIMBLE_ROLE_OBSERVER</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#endif</span></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="comment">/* Cannot use server without advertise */</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#if defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL) &amp;&amp; !defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER)</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#define CONFIG_BT_NIMBLE_ROLE_BROADCASTER</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; </div>
2022-07-31 19:38:16 +02:00
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="comment">/* Enables the use of Arduino String class for attribute values */</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#if defined __has_include</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor"># if __has_include (&lt;Arduino.h&gt;)</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor"># define NIMBLE_CPP_ARDUINO_STRING_AVAILABLE</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor"># endif</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="preprocessor">#endif</span></div>
2022-01-15 23:23:57 +01:00
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; </div>
2022-07-31 19:38:16 +02:00
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* CONFIG_BT_ENABLED */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="preprocessor">#ifdef _DOXYGEN_</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; </div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a2ea633774bbf41ac57b314875f16d5f9"> 40</a></span>&#160;<span class="preprocessor">#define CONFIG_BT_NIMBLE_MAX_CONNECTIONS 3</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; </div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#abe2e5c7dbca929d3ed6cf70a73aced23"> 48</a></span>&#160;<span class="preprocessor">#define CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED 0</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; </div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a4d4ea715325f75455b43c7dbaa69d7a0"> 56</a></span>&#160;<span class="preprocessor">#define CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH 20</span></div>
2022-01-15 23:23:57 +01:00
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; </div>
2022-07-31 19:38:16 +02:00
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a8fa28ebea6e979630359a2acde3ae578"> 59</a></span>&#160;<span class="preprocessor">#define CONFIG_BT_NIMBLE_ATT_PREFERRED_MTU 255</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; </div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a7b98160e6904e45e99e28a7fcc6b2a3a"> 62</a></span>&#160;<span class="preprocessor">#define CONFIG_BT_NIMBLE_SVC_GAP_DEVICE_NAME &quot;nimble&quot;</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; </div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a1cfe4f7cfbce0d842fad09e4b668d3df"> 68</a></span>&#160;<span class="preprocessor">#define CONFIG_BT_NIMBLE_LOG_LEVEL 5</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; </div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a3966debed5a599b8cabff3c50b9fae4f"> 74</a></span>&#160;<span class="preprocessor">#define CONFIG_NIMBLE_CPP_LOG_LEVEL 0</span></div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; </div>
2022-07-31 19:38:16 +02:00
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a136a5d626ac04aa780c6ec07ee88d242"> 79</a></span>&#160;<span class="preprocessor">#define CONFIG_NIMBLE_CPP_ENABLE_RETURN_CODE_TEXT</span></div>
2022-01-15 23:23:57 +01:00
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; </div>
2022-07-31 19:38:16 +02:00
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a97b51f4248845f6225806eadbab3bcdb"> 84</a></span>&#160;<span class="preprocessor">#define CONFIG_NIMBLE_CPP_ENABLE_GAP_EVENT_CODE_TEXT</span></div>
2022-01-15 23:23:57 +01:00
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; </div>
2022-07-31 19:38:16 +02:00
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a07c0fd3908c3466e9f4835f85d913880"> 89</a></span>&#160;<span class="preprocessor">#define CONFIG_NIMBLE_CPP_ENABLE_ADVERTISMENT_TYPE_TEXT</span></div>
2022-01-15 23:23:57 +01:00
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; </div>
2022-07-31 19:38:16 +02:00
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a300d3f8ff48d217a1a2b6608454dfadb"> 92</a></span>&#160;<span class="preprocessor">#define CONFIG_BT_NIMBLE_SVC_GAP_APPEARANCE 0x0</span></div>
2022-01-15 23:23:57 +01:00
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; </div>
2022-07-31 19:38:16 +02:00
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a6ebb331a6664a3863fb2a57b91a6cd2d"> 97</a></span>&#160;<span class="preprocessor">#define CONFIG_BT_NIMBLE_ROLE_CENTRAL_DISABLED</span></div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; </div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#ab91646223e52e5c24f1004a0ed21b829"> 102</a></span>&#160;<span class="preprocessor">#define CONFIG_BT_NIMBLE_ROLE_OBSERVER_DISABLED</span></div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; </div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a677d7e75eef5bc96e8d0b4c659db90b0"> 107</a></span>&#160;<span class="preprocessor">#define CONFIG_BT_NIMBLE_ROLE_PERIPHERAL_DISABLED</span></div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; </div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a2a6b4f35f8975778ac2aac5ff169cbda"> 112</a></span>&#160;<span class="preprocessor">#define CONFIG_BT_NIMBLE_ROLE_BROADCASTER_DISABLED</span></div>
2022-01-15 23:23:57 +01:00
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; </div>
2022-07-31 19:38:16 +02:00
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a11ebe4c94e55f9e710be03169b91f964"> 115</a></span>&#160;<span class="preprocessor">#define CONFIG_BT_NIMBLE_MAX_BONDS 3</span></div>
2022-01-15 23:23:57 +01:00
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; </div>
2022-07-31 19:38:16 +02:00
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#abdc3219ca772a22427beed33477ea252"> 118</a></span>&#160;<span class="preprocessor">#define CONFIG_BT_NIMBLE_MAX_CCCDS 8</span></div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; </div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a9d22f9f555a2180787ccec86aa10dc24"> 121</a></span>&#160;<span class="preprocessor">#define CONFIG_BT_NIMBLE_RPA_TIMEOUT 900</span></div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; </div>
<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a2f0eb3c3124a34b191a70908dc5af441"> 129</a></span>&#160;<span class="preprocessor">#define CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT 12</span></div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; </div>
<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a1f39f56a0fe8a36ef7823a7c3e1c6e3b"> 132</a></span>&#160;<span class="preprocessor">#define CONFIG_BT_NIMBLE_MEM_ALLOC_MODE_EXTERNAL 1</span></div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; </div>
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#ab86912bde65d198f2f7aa7f83ef11ee8"> 135</a></span>&#160;<span class="preprocessor">#define CONFIG_BT_NIMBLE_PINNED_TO_CORE 0</span></div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; </div>
<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="nimconfig_8h.html#a227a536958a284235daf409b2b3d1766"> 138</a></span>&#160;<span class="preprocessor">#define CONFIG_BT_NIMBLE_TASK_STACK_SIZE 4096</span></div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; </div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160;<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>
2022-01-15 23:23:57 +01:00
<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>