You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# Changelog
2
-
3
2
All notable changes to this project will be documented in this file.
4
-
## [Unreleased]
3
+
4
+
## [2.0.0] 2024-12-14
5
5
6
6
## **Breaking changes**
7
7
- All connection oriented callbacks now receive a reference to `NimBLEConnInfo`, the `ble_gap_conn_desc` has also been replace with `NimBLEConnInfo` in the functions that received it.
Need help? Have questions or suggestions? Join the [](https://gitter.im/NimBLE-Arduino/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
5
-
<br/>
4
+
> [!IMPORTANT]
5
+
> Version 2 is now released!
6
+
> Check out the [1.x to 2.x Migration Guide](docs/1.x_to2.x_migration_guide.md) and [Release Notes](https://github.com/h2zero/esp-nimble-cpp/releases/latest/)
6
7
7
8
# esp-nimble-cpp
8
9
9
-
NimBLE CPP library for use with ESP32 that attempts to maintain compatibility with the [nkolban cpp_uitls BLE API](https://github.com/nkolban/esp32-snippets/tree/master/cpp_utils).
10
+
NimBLE CPP library for use with ESP32 that attempts to maintain compatibility with the [nkolban cpp_utils BLE API](https://github.com/nkolban/esp32-snippets/tree/master/cpp_utils).
10
11
11
12
**An Arduino version of this library, including NimBLE, can be [found here.](https://github.com/h2zero/NimBLE-Arduino)**
12
13
13
14
This library **significantly** reduces resource usage and improves performance for ESP32 BLE applications as compared
14
15
with the bluedroid based library. The goal is to maintain, as much as reasonable, compatibility with the original
15
-
library but refactored to use the NimBLE stack. In addition, this library will be more actively developed and maintained
16
-
to provide improved capabilites and stability over the original.
16
+
library but using the NimBLE stack. In addition, this library will be more actively developed and maintained
17
+
to provide improved capabilities and stability over the original.
17
18
18
19
**Testing shows a nearly 50% reduction in flash use and approx. 100kB less ram consumed vs the original!**
19
20
*Your results may vary*
@@ -35,16 +36,6 @@ Configure settings in `NimBLE Options`.
35
36
Call `NimBLEDevice::init("");` in `app_main`.
36
37
<br/>
37
38
38
-
### ESP-IDF v3.2 & v3.3
39
-
The NimBLE component does not come with these versions of IDF (now included in 3.3.2 and above).
40
-
A backport that works in these versions has been created and is [available here](https://github.com/h2zero/esp-nimble-component).
41
-
Download or clone that repo into your project/components folder and run menuconfig.
42
-
Configure settings in `main menu -> NimBLE Options`.
43
-
44
-
`#include "NimBLEDevice.h"` in main.cpp.
45
-
Call `NimBLEDevice::init("");` in `app_main`.
46
-
<br/>
47
-
48
39
# Using
49
40
This library is intended to be compatible with the original ESP32 BLE functions and types with minor changes.
50
41
@@ -62,6 +53,14 @@ When using this library along with Arduino and compiling with *CMake* you must a
62
53
in your project/CMakeLists.txt after the line `include($ENV{IDF_PATH}/tools/cmake/project.cmake)` to prevent Arduino from releasing BLE memory.
63
54
<br>
64
55
56
+
# Sponsors
57
+
Thank you to all the sponsors who support this project!
58
+
59
+
<!-- sponsors --><!-- sponsors -->
60
+
61
+
If you use this library for a commercial product please consider [sponsoring the development](https://github.com/sponsors/h2zero) to ensure the continued updates and maintenance.
62
+
<br/>
63
+
65
64
# Acknowledgments
66
65
*[nkolban](https://github.com/nkolban) and [chegewara](https://github.com/chegewara) for the [original esp32 BLE library](https://github.com/nkolban/esp32-snippets/tree/master/cpp_utils) this project was derived from.
67
66
*[beegee-tokyo](https://github.com/beegee-tokyo) for contributing your time to test/debug and contributing the beacon examples.
Copy file name to clipboardExpand all lines: docs/index.md
+4-14Lines changed: 4 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,4 @@
1
1
# Overview
2
-
3
2
This is a C++ BLE library for the ESP32 that uses the NimBLE host stack instead of bluedroid.
4
3
The aim is to maintain, as much as reasonable, the original bluedroid C++ & Arduino BLE API by while adding new features
5
4
and making improvements in performance, resource use, and stability.
@@ -23,16 +22,6 @@ Configure settings in `NimBLE Options`.
23
22
Call `NimBLEDevice::init` in `app_main`.
24
23
<br/>
25
24
26
-
### v3.2 & v3.3
27
-
The NimBLE component does not come with these versions of IDF (now included in 3.3.2 and above).
28
-
A backport that works in these versions has been created and is [available here](https://github.com/h2zero/esp-nimble-component).
29
-
Download or clone that repo into your project/components folder and run menuconfig.
30
-
Configure settings in `main menu -> NimBLE Options`.
31
-
32
-
`#include "NimBLEDevice.h"` in main.cpp.
33
-
Call `NimBLEDevice::init` in `app_main`.
34
-
<br/>
35
-
36
25
# Using
37
26
This library is intended to be compatible with the original ESP32 BLE functions and types with minor changes.
38
27
@@ -43,12 +32,13 @@ If you are familiar with the original library, see: [The migration guide](Migrat
43
32
For more advanced usage see [Usage tips](Usage_tips.md) for more performance and optimization.
44
33
<br/>
45
34
46
-
# Need help? Have a question or suggestion?
47
-
Come chat on [gitter](https://gitter.im/NimBLE-Arduino/community?utm_source=share-link&utm_medium=link&utm_campaign=share-link) or open an issue at [NimBLE-Arduino](https://github.com/h2zero/NimBLE-Arduino/issues) or [esp-nimble-cpp](https://github.com/h2zero/esp-nimble-cpp/issues)
35
+
# Sponsors
36
+
Thank you to all the sponsors who support this project!
37
+
38
+
If you use this library for a commercial product please consider [sponsoring the development](https://github.com/sponsors/h2zero) to ensure the continued updates and maintenance.
48
39
<br/>
49
40
50
41
# Acknowledgments
51
-
52
42
*[nkolban](https://github.com/nkolban) and [chegewara](https://github.com/chegewara) for the [original esp32 BLE library](https://github.com/nkolban/esp32-snippets/tree/master/cpp_utils) this project was derived from.
53
43
*[beegee-tokyo](https://github.com/beegee-tokyo) for contributing your time to test/debug and contributing the beacon examples.
54
44
*[Jeroen88](https://github.com/Jeroen88) for the amazing help debugging and improving the client code.
0 commit comments