forked from h2zero/esp-nimble-cpp
v1.3.2
This commit is contained in:
+22
-22
@@ -3,9 +3,9 @@
|
||||
<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.0"/>
|
||||
<meta name="generator" content="Doxygen 1.9.1"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>esp-nimble-cpp / NimBLE-Arduino: Overview</title>
|
||||
<title>esp-nimble-cpp: Overview</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>
|
||||
@@ -25,8 +25,8 @@
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">esp-nimble-cpp / NimBLE-Arduino
|
||||
 <span id="projectnumber">1.3.1</span>
|
||||
<div id="projectname">esp-nimble-cpp
|
||||
 <span id="projectnumber">1.3.2</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -34,7 +34,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.0 -->
|
||||
<!-- 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');
|
||||
@@ -86,7 +86,7 @@ $(document).ready(function(){initNavTree('index.html',''); initResizable(); });
|
||||
<div class="title">Overview </div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><p><a class="anchor" id="md_docs_index"></a> This is a C++ BLE library for the ESP32 that uses the NimBLE host stack instead of bluedroid. <br />
|
||||
<div class="textblock"><p><a class="anchor" id="md_index"></a> This is a C++ BLE library for the ESP32 that uses the NimBLE host stack instead of bluedroid. <br />
|
||||
The aim is to maintain, as much as reasonable, the original bluedroid C++ & Arduino BLE API by while adding new features <br />
|
||||
and making improvements in performance, resource use, and stability. <br />
|
||||
</p>
|
||||
@@ -94,13 +94,13 @@ $(document).ready(function(){initNavTree('index.html',''); initResizable(); });
|
||||
<em>Your results may vary</em> <br />
|
||||
<br />
|
||||
</p>
|
||||
<h1><a class="anchor" id="autotoc_md29"></a>
|
||||
<h1><a class="anchor" id="autotoc_md33"></a>
|
||||
What is NimBLE?</h1>
|
||||
<p>NimBLE is a completely open source Bluetooth Low Energy stack produced by <a href="https://github.com/apache/mynewt-nimble">Apache</a>. <br />
|
||||
It is more suited to resource constrained devices than bluedroid and has now been ported to the ESP32 by Espressif. <br />
|
||||
<br />
|
||||
</p>
|
||||
<h1><a class="anchor" id="autotoc_md30"></a>
|
||||
<h1><a class="anchor" id="autotoc_md34"></a>
|
||||
Arduino Installation</h1>
|
||||
<p><b>Arduino Library manager:</b> Go to <code>sketch</code> -> <code>Include Library</code> -> <code>Manage Libraries</code> and search for NimBLE and install. <br />
|
||||
</p>
|
||||
@@ -113,9 +113,9 @@ Arduino Installation</h1>
|
||||
<br />
|
||||
<br />
|
||||
</p>
|
||||
<h1><a class="anchor" id="autotoc_md31"></a>
|
||||
<h1><a class="anchor" id="autotoc_md35"></a>
|
||||
ESP-IDF Installation</h1>
|
||||
<h3><a class="anchor" id="autotoc_md32"></a>
|
||||
<h3><a class="anchor" id="autotoc_md36"></a>
|
||||
v4.0+</h3>
|
||||
<p>Download as .zip and extract or clone into the components folder in your esp-idf project.</p>
|
||||
<p>Run menuconfig, go to <code>Component config->Bluetooth</code> enable Bluetooth and in <code>Bluetooth host</code> NimBLE. <br />
|
||||
@@ -124,7 +124,7 @@ v4.0+</h3>
|
||||
Call <code><a class="el" href="class_nim_b_l_e_device.html#a674d2e68d4ba0e3f84d7993f9da7d15b" title="Initialize the BLE environment.">NimBLEDevice::init</a></code> in <code>app_main</code>. <br />
|
||||
<br />
|
||||
</p>
|
||||
<h3><a class="anchor" id="autotoc_md33"></a>
|
||||
<h3><a class="anchor" id="autotoc_md37"></a>
|
||||
v3.2 & v3.3</h3>
|
||||
<p>The NimBLE component does not come with these versions of IDF (now included in 3.3.2 and above). <br />
|
||||
A backport that works in these versions has been created and is <a href="https://github.com/h2zero/esp-nimble-component">available here</a>. <br />
|
||||
@@ -135,19 +135,19 @@ v3.2 & v3.3</h3>
|
||||
<br />
|
||||
<br />
|
||||
</p>
|
||||
<h1><a class="anchor" id="autotoc_md34"></a>
|
||||
<h1><a class="anchor" id="autotoc_md38"></a>
|
||||
Using</h1>
|
||||
<p>This library is intended to be compatible with the original ESP32 BLE functions and types with minor changes. <br />
|
||||
</p>
|
||||
<p>If you have not used the original Bluedroid library please refer to the <a class="el" href="md_docs__new_user_guide.html">New user guide</a>.</p>
|
||||
<p>If you are familiar with the original library, see: <a class="el" href="md_docs__migration_guide.html">The migration guide</a> for details. <br />
|
||||
<p>If you have not used the original Bluedroid library please refer to the <a class="el" href="md__new_user_guide.html">New user guide</a>.</p>
|
||||
<p>If you are familiar with the original library, see: <a class="el" href="md__migration_guide.html">The migration guide</a> for details. <br />
|
||||
</p>
|
||||
<p>Also see <a class="el" href="md_docs__improvements_and_updates.html">Improvements and updates</a> for information about non-breaking changes. <br />
|
||||
<p>Also see <a class="el" href="md__improvements_and_updates.html">Improvements and updates</a> for information about non-breaking changes. <br />
|
||||
</p>
|
||||
<p>For more advanced usage see <a class="el" href="md_docs__usage_tips.html">Usage tips</a> for more performance and optimization. <br />
|
||||
<p>For more advanced usage see <a class="el" href="md__usage_tips.html">Usage tips</a> for more performance and optimization. <br />
|
||||
<br />
|
||||
</p>
|
||||
<h3><a class="anchor" id="autotoc_md35"></a>
|
||||
<h3><a class="anchor" id="autotoc_md39"></a>
|
||||
Arduino specific</h3>
|
||||
<p>See the Refactored_original_examples in the examples folder for highlights of the differences with the original library. <br />
|
||||
</p>
|
||||
@@ -158,19 +158,19 @@ Arduino specific</h3>
|
||||
<p>Change the settings in the <a class="el" href="nimconfig_8h.html">nimconfig.h</a> file to customize NimBLE to your project, such as increasing max connections (default is 3). <br />
|
||||
<br />
|
||||
</p>
|
||||
<h3><a class="anchor" id="autotoc_md36"></a>
|
||||
<h3><a class="anchor" id="autotoc_md40"></a>
|
||||
Arduino command line and platformio</h3>
|
||||
<p>As an alternative to changing the configuration in <a class="el" href="nimconfig_8h.html">nimconfig.h</a>, Arduino command line and platformio.ini options are available. <br />
|
||||
See the command line configuration options available in <a class="el" href="md_docs__command_line_config.html">Command line config</a>. <br />
|
||||
See the command line configuration options available in <a class="el" href="md__command_line_config.html">Command line config</a>. <br />
|
||||
<br />
|
||||
<br />
|
||||
</p>
|
||||
<h1><a class="anchor" id="autotoc_md37"></a>
|
||||
<h1><a class="anchor" id="autotoc_md41"></a>
|
||||
Need help? Have a question or suggestion?</h1>
|
||||
<p>Come chat on <a href="https://gitter.im/NimBLE-Arduino/community?utm_source=share-link&utm_medium=link&utm_campaign=share-link">gitter</a> or open an issue at <a href="https://github.com/h2zero/NimBLE-Arduino/issues">NimBLE-Arduino</a> or <a href="https://github.com/h2zero/esp-nimble-cpp/issues">esp-nimble-cpp</a> <br />
|
||||
<br />
|
||||
</p>
|
||||
<h1><a class="anchor" id="autotoc_md38"></a>
|
||||
<h1><a class="anchor" id="autotoc_md42"></a>
|
||||
Acknowledgments</h1>
|
||||
<ul>
|
||||
<li><a href="https://github.com/nkolban">nkolban</a> and <a href="https://github.com/chegewara">chegewara</a> for the <a href="https://github.com/nkolban/esp32-snippets/tree/master/cpp_utils">original esp32 BLE library</a> this project was derived from.</li>
|
||||
@@ -185,7 +185,7 @@ Acknowledgments</h1>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<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.0 </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>
|
||||
|
||||
Reference in New Issue
Block a user