<divclass="textblock"><p><aclass="anchor"id="md_index"></a> This is a C++ BLE library for the ESP32 that uses the NimBLE host stack instead of bluedroid. <br/>
<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/>
Configure settings in <code>NimBLE Options</code>. <br/>
<code>#include "NimBLEDevice.h"</code> in main.cpp. <br/>
Call <code><aclass="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/>
<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 <ahref="https://github.com/h2zero/esp-nimble-component">available here</a>. <br/>
Download or clone that repo into your project/components folder and run menuconfig. Configure settings in <code>main menu -> NimBLE Options</code>. <br/>
</p>
<p><code>#include "NimBLEDevice.h"</code> in main.cpp. <br/>
Call <code><aclass="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/>
<p>Come chat on <ahref="https://gitter.im/NimBLE-Arduino/community?utm_source=share-link&utm_medium=link&utm_campaign=share-link">gitter</a> or open an issue at <ahref="https://github.com/h2zero/NimBLE-Arduino/issues">NimBLE-Arduino</a> or <ahref="https://github.com/h2zero/esp-nimble-cpp/issues">esp-nimble-cpp</a><br/>
<li><ahref="https://github.com/nkolban">nkolban</a> and <ahref="https://github.com/chegewara">chegewara</a> for the <ahref="https://github.com/nkolban/esp32-snippets/tree/master/cpp_utils">original esp32 BLE library</a> this project was derived from.</li>
<li><ahref="https://github.com/beegee-tokyo">beegee-tokyo</a> for contributing your time to test/debug and contributing the beacon examples.</li>
<li><ahref="https://github.com/Jeroen88">Jeroen88</a> for the amazing help debugging and improving the client code. <br/>
<br/>
</li>
</ul>
</div></div><!-- PageDoc -->
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<divid="nav-path"class="navpath"><!-- id is needed for treeview function! -->
<liclass="footer">Generated by <ahref="https://www.doxygen.org/index.html"><imgclass="footer"src="doxygen.svg"width="104"height="31"alt="doxygen"/></a> 1.9.1 </li>