esp-nimble-cpp/nimconfig_8h.html

218 lines
18 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"/>
2022-01-15 23:23:57 +01:00
<title>esp-nimble-cpp: K:/Users/Ryan/Desktop/thermo-git/components/esp-nimble-cpp/src/nimconfig.h File Reference</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.3.2</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.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="summary">
<a href="#define-members">Macros</a> </div>
<div class="headertitle">
<div class="title">nimconfig.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><a href="nimconfig_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a2ea633774bbf41ac57b314875f16d5f9"><td class="memItemLeft" align="right" valign="top"><a id="a2ea633774bbf41ac57b314875f16d5f9"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nimconfig_8h.html#a2ea633774bbf41ac57b314875f16d5f9">CONFIG_BT_NIMBLE_MAX_CONNECTIONS</a>&#160;&#160;&#160;3</td></tr>
<tr class="memdesc:a2ea633774bbf41ac57b314875f16d5f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Un-comment to change the number of simultaneous connections (esp controller max is 9) <br /></td></tr>
<tr class="separator:a2ea633774bbf41ac57b314875f16d5f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8fa28ebea6e979630359a2acde3ae578"><td class="memItemLeft" align="right" valign="top"><a id="a8fa28ebea6e979630359a2acde3ae578"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nimconfig_8h.html#a8fa28ebea6e979630359a2acde3ae578">CONFIG_BT_NIMBLE_ATT_PREFERRED_MTU</a>&#160;&#160;&#160;255</td></tr>
<tr class="memdesc:a8fa28ebea6e979630359a2acde3ae578"><td class="mdescLeft">&#160;</td><td class="mdescRight">Un-comment to change the default MTU size. <br /></td></tr>
<tr class="separator:a8fa28ebea6e979630359a2acde3ae578"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b98160e6904e45e99e28a7fcc6b2a3a"><td class="memItemLeft" align="right" valign="top"><a id="a7b98160e6904e45e99e28a7fcc6b2a3a"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nimconfig_8h.html#a7b98160e6904e45e99e28a7fcc6b2a3a">CONFIG_BT_NIMBLE_SVC_GAP_DEVICE_NAME</a>&#160;&#160;&#160;&quot;nimble&quot;</td></tr>
<tr class="memdesc:a7b98160e6904e45e99e28a7fcc6b2a3a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Un-comment to change default device name. <br /></td></tr>
<tr class="separator:a7b98160e6904e45e99e28a7fcc6b2a3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-01-15 23:23:57 +01:00
<tr class="memitem:a1cfe4f7cfbce0d842fad09e4b668d3df"><td class="memItemLeft" align="right" valign="top"><a id="a1cfe4f7cfbce0d842fad09e4b668d3df"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nimconfig_8h.html#a1cfe4f7cfbce0d842fad09e4b668d3df">CONFIG_BT_NIMBLE_LOG_LEVEL</a>&#160;&#160;&#160;5</td></tr>
<tr class="memdesc:a1cfe4f7cfbce0d842fad09e4b668d3df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Un-comment to set the debug log messages level from the NimBLE host stack.<br />
Values: 0 = DEBUG, 1 = INFO, 2 = WARNING, 3 = ERROR, 4 = CRITICAL, 5+ = NONE<br />
Uses approx. 32kB of flash memory. <br /></td></tr>
<tr class="separator:a1cfe4f7cfbce0d842fad09e4b668d3df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3966debed5a599b8cabff3c50b9fae4f"><td class="memItemLeft" align="right" valign="top"><a id="a3966debed5a599b8cabff3c50b9fae4f"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nimconfig_8h.html#a3966debed5a599b8cabff3c50b9fae4f">CONFIG_NIMBLE_CPP_LOG_LEVEL</a>&#160;&#160;&#160;0</td></tr>
<tr class="memdesc:a3966debed5a599b8cabff3c50b9fae4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Un-comment to set the debug log messages level from the NimBLE CPP Wrapper.<br />
Values: 0 = NONE, 1 = ERROR, 2 = WARNING, 3 = INFO, 4+ = DEBUG<br />
Uses approx. 32kB of flash memory. <br /></td></tr>
<tr class="separator:a3966debed5a599b8cabff3c50b9fae4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a136a5d626ac04aa780c6ec07ee88d242"><td class="memItemLeft" align="right" valign="top"><a id="a136a5d626ac04aa780c6ec07ee88d242"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nimconfig_8h.html#a136a5d626ac04aa780c6ec07ee88d242">CONFIG_NIMBLE_CPP_ENABLE_RETURN_CODE_TEXT</a></td></tr>
<tr class="memdesc:a136a5d626ac04aa780c6ec07ee88d242"><td class="mdescLeft">&#160;</td><td class="mdescRight">Un-comment to see NimBLE host return codes as text debug log messages. Uses approx. 7kB of flash memory. <br /></td></tr>
<tr class="separator:a136a5d626ac04aa780c6ec07ee88d242"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97b51f4248845f6225806eadbab3bcdb"><td class="memItemLeft" align="right" valign="top"><a id="a97b51f4248845f6225806eadbab3bcdb"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nimconfig_8h.html#a97b51f4248845f6225806eadbab3bcdb">CONFIG_NIMBLE_CPP_ENABLE_GAP_EVENT_CODE_TEXT</a></td></tr>
<tr class="memdesc:a97b51f4248845f6225806eadbab3bcdb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Un-comment to see GAP event codes as text in debug log messages. Uses approx. 1kB of flash memory. <br /></td></tr>
<tr class="separator:a97b51f4248845f6225806eadbab3bcdb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07c0fd3908c3466e9f4835f85d913880"><td class="memItemLeft" align="right" valign="top"><a id="a07c0fd3908c3466e9f4835f85d913880"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nimconfig_8h.html#a07c0fd3908c3466e9f4835f85d913880">CONFIG_NIMBLE_CPP_ENABLE_ADVERTISMENT_TYPE_TEXT</a></td></tr>
<tr class="memdesc:a07c0fd3908c3466e9f4835f85d913880"><td class="mdescLeft">&#160;</td><td class="mdescRight">Un-comment to see advertisment types as text while scanning in debug log messages. Uses approx. 250 bytes of flash memory. <br /></td></tr>
<tr class="separator:a07c0fd3908c3466e9f4835f85d913880"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a300d3f8ff48d217a1a2b6608454dfadb"><td class="memItemLeft" align="right" valign="top"><a id="a300d3f8ff48d217a1a2b6608454dfadb"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nimconfig_8h.html#a300d3f8ff48d217a1a2b6608454dfadb">CONFIG_BT_NIMBLE_SVC_GAP_APPEARANCE</a>&#160;&#160;&#160;0x0</td></tr>
<tr class="memdesc:a300d3f8ff48d217a1a2b6608454dfadb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Un-comment to change the default GAP appearance. <br /></td></tr>
<tr class="separator:a300d3f8ff48d217a1a2b6608454dfadb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ebb331a6664a3863fb2a57b91a6cd2d"><td class="memItemLeft" align="right" valign="top"><a id="a6ebb331a6664a3863fb2a57b91a6cd2d"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nimconfig_8h.html#a6ebb331a6664a3863fb2a57b91a6cd2d">CONFIG_BT_NIMBLE_ROLE_CENTRAL_DISABLED</a></td></tr>
<tr class="memdesc:a6ebb331a6664a3863fb2a57b91a6cd2d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Un-comment if not using NimBLE Client functions <br />
Reduces flash size by approx. 7kB. <br /></td></tr>
<tr class="separator:a6ebb331a6664a3863fb2a57b91a6cd2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab91646223e52e5c24f1004a0ed21b829"><td class="memItemLeft" align="right" valign="top"><a id="ab91646223e52e5c24f1004a0ed21b829"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nimconfig_8h.html#ab91646223e52e5c24f1004a0ed21b829">CONFIG_BT_NIMBLE_ROLE_OBSERVER_DISABLED</a></td></tr>
<tr class="memdesc:ab91646223e52e5c24f1004a0ed21b829"><td class="mdescLeft">&#160;</td><td class="mdescRight">Un-comment if not using NimBLE Scan functions <br />
Reduces flash size by approx. 26kB. <br /></td></tr>
<tr class="separator:ab91646223e52e5c24f1004a0ed21b829"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a677d7e75eef5bc96e8d0b4c659db90b0"><td class="memItemLeft" align="right" valign="top"><a id="a677d7e75eef5bc96e8d0b4c659db90b0"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nimconfig_8h.html#a677d7e75eef5bc96e8d0b4c659db90b0">CONFIG_BT_NIMBLE_ROLE_PERIPHERAL_DISABLED</a></td></tr>
<tr class="memdesc:a677d7e75eef5bc96e8d0b4c659db90b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Un-comment if not using NimBLE Server functions <br />
Reduces flash size by approx. 16kB. <br /></td></tr>
<tr class="separator:a677d7e75eef5bc96e8d0b4c659db90b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a6b4f35f8975778ac2aac5ff169cbda"><td class="memItemLeft" align="right" valign="top"><a id="a2a6b4f35f8975778ac2aac5ff169cbda"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nimconfig_8h.html#a2a6b4f35f8975778ac2aac5ff169cbda">CONFIG_BT_NIMBLE_ROLE_BROADCASTER_DISABLED</a></td></tr>
<tr class="memdesc:a2a6b4f35f8975778ac2aac5ff169cbda"><td class="mdescLeft">&#160;</td><td class="mdescRight">Un-comment if not using NimBLE Advertising functions <br />
Reduces flash size by approx. 5kB. <br /></td></tr>
<tr class="separator:a2a6b4f35f8975778ac2aac5ff169cbda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11ebe4c94e55f9e710be03169b91f964"><td class="memItemLeft" align="right" valign="top"><a id="a11ebe4c94e55f9e710be03169b91f964"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nimconfig_8h.html#a11ebe4c94e55f9e710be03169b91f964">CONFIG_BT_NIMBLE_MAX_BONDS</a>&#160;&#160;&#160;3</td></tr>
<tr class="memdesc:a11ebe4c94e55f9e710be03169b91f964"><td class="mdescLeft">&#160;</td><td class="mdescRight">Un-comment to change the number of devices allowed to store/bond with. <br /></td></tr>
<tr class="separator:a11ebe4c94e55f9e710be03169b91f964"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdc3219ca772a22427beed33477ea252"><td class="memItemLeft" align="right" valign="top"><a id="abdc3219ca772a22427beed33477ea252"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nimconfig_8h.html#abdc3219ca772a22427beed33477ea252">CONFIG_BT_NIMBLE_MAX_CCCDS</a>&#160;&#160;&#160;8</td></tr>
<tr class="memdesc:abdc3219ca772a22427beed33477ea252"><td class="mdescLeft">&#160;</td><td class="mdescRight">Un-comment to change the maximum number of CCCD subscriptions to store. <br /></td></tr>
<tr class="separator:abdc3219ca772a22427beed33477ea252"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d22f9f555a2180787ccec86aa10dc24"><td class="memItemLeft" align="right" valign="top"><a id="a9d22f9f555a2180787ccec86aa10dc24"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nimconfig_8h.html#a9d22f9f555a2180787ccec86aa10dc24">CONFIG_BT_NIMBLE_RPA_TIMEOUT</a>&#160;&#160;&#160;900</td></tr>
<tr class="memdesc:a9d22f9f555a2180787ccec86aa10dc24"><td class="mdescLeft">&#160;</td><td class="mdescRight">Un-comment to change the random address refresh time (in seconds) <br /></td></tr>
<tr class="separator:a9d22f9f555a2180787ccec86aa10dc24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f0eb3c3124a34b191a70908dc5af441"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nimconfig_8h.html#a2f0eb3c3124a34b191a70908dc5af441">CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT</a>&#160;&#160;&#160;12</td></tr>
<tr class="memdesc:a2f0eb3c3124a34b191a70908dc5af441"><td class="mdescLeft">&#160;</td><td class="mdescRight">Un-comment to change the number of MSYS buffers available. <a href="nimconfig_8h.html#a2f0eb3c3124a34b191a70908dc5af441">More...</a><br /></td></tr>
<tr class="separator:a2f0eb3c3124a34b191a70908dc5af441"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f39f56a0fe8a36ef7823a7c3e1c6e3b"><td class="memItemLeft" align="right" valign="top"><a id="a1f39f56a0fe8a36ef7823a7c3e1c6e3b"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nimconfig_8h.html#a1f39f56a0fe8a36ef7823a7c3e1c6e3b">CONFIG_BT_NIMBLE_MEM_ALLOC_MODE_EXTERNAL</a>&#160;&#160;&#160;1</td></tr>
<tr class="memdesc:a1f39f56a0fe8a36ef7823a7c3e1c6e3b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Un-comment to use external PSRAM for the NimBLE host. <br /></td></tr>
<tr class="separator:a1f39f56a0fe8a36ef7823a7c3e1c6e3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab86912bde65d198f2f7aa7f83ef11ee8"><td class="memItemLeft" align="right" valign="top"><a id="ab86912bde65d198f2f7aa7f83ef11ee8"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nimconfig_8h.html#ab86912bde65d198f2f7aa7f83ef11ee8">CONFIG_BT_NIMBLE_PINNED_TO_CORE</a>&#160;&#160;&#160;0</td></tr>
<tr class="memdesc:ab86912bde65d198f2f7aa7f83ef11ee8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Un-comment to change the core NimBLE host runs on. <br /></td></tr>
<tr class="separator:ab86912bde65d198f2f7aa7f83ef11ee8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a227a536958a284235daf409b2b3d1766"><td class="memItemLeft" align="right" valign="top"><a id="a227a536958a284235daf409b2b3d1766"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nimconfig_8h.html#a227a536958a284235daf409b2b3d1766">CONFIG_BT_NIMBLE_TASK_STACK_SIZE</a>&#160;&#160;&#160;4096</td></tr>
<tr class="memdesc:a227a536958a284235daf409b2b3d1766"><td class="mdescLeft">&#160;</td><td class="mdescRight">Un-comment to change the stack size for the NimBLE host task. <br /></td></tr>
<tr class="separator:a227a536958a284235daf409b2b3d1766"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>IGNORE THIS FILE IF USING ESP-IDF, USE MENUCONFIG TO SET NIMBLE OPTIONS.</p>
<p>The config options here are for doxygen documentation only. </p>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a2f0eb3c3124a34b191a70908dc5af441"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f0eb3c3124a34b191a70908dc5af441">&#9670;&nbsp;</a></span>CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT&#160;&#160;&#160;12</td>
</tr>
</table>
</div><div class="memdoc">
<p>Un-comment to change the number of MSYS buffers available. </p>
<p>MSYS is a system level mbuf registry. For prepare write &amp; prepare <br />
responses MBUFs are allocated out of msys_1 pool. This may need to be increased if<br />
you are sending large blocks of data with a low MTU. E.g: 512 bytes with 23 MTU will fail. </p>
</div>
</div>
</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>