h2zero fc1022a46d Add new getServer() method.
Previously we used createServer() to get a reference to the server instance.
This was problematic when using advertising only as it would create a server
when starting advertising. This prevents that and provides better semantics.
2020-05-14 12:59:35 -06:00
2020-05-14 12:59:35 -06:00
2020-03-31 20:16:27 -06:00
2020-03-31 20:16:27 -06:00
2020-03-29 19:13:59 -06:00
2020-03-29 17:44:20 -06:00
2020-05-07 19:51:15 -06:00

*** UPDATE ***

Client long read/write characteristics/descriptors now working. We are now nearing 100% replacement of the original cpp_utils BLE library 😄

esp-nimble-cpp

NimBLE CPP library for use with ESP32 that attempts to maintain compatibility with the @nkolban cpp_uitls API.

Why? Because the Bluedroid library is too bulky.

Initial client code testing has resulted in code size reduction of ~115k and reduced ram consumption of ~37k.

Installation:

Download as .zip and extract to components folder in your esp-idf project.

Run menuconfig, go to Component config->Bluetooth-> enable Bluetooth and select NimBLE host.

#include "NimBLEDevice.h" in main.cpp.

Usage:

This library is intended to be compatible with the original ESP32 BLE functions and types with minor changes.

Check API_DIFFERENCES for details.

Acknowledgments:

  • @nkolban and @chegewara for the original esp32 BLE library this project was derived from.
  • @beegee-tokyo for contributing your time to test/debug and contributing the beacon examples.

Todo:

  1. Code cleanup.
  2. Create documentation.
  3. Expose more NimBLE features.
  4. Add BLE Mesh code.
Description
C++ library for the esp32 NimBLE stack based on and mostly compatible with @nkolban cpp_utils BLE library.
Readme Apache-2.0 8.2 MiB
Languages
C++ 95.3%
C 4.4%
CMake 0.3%