The Arduino IDE provides an excellent library package manager where versions of libraries can be downloaded and installed. This project provides the repository for the ESP32 BLE support for Arduino.
3
3
4
-
The original source of the project, **which is not maintained anymore**, can be found here: https://.com/nkolban/esp32-snippets
4
+
The original source of the Bluedroid project, **which is not maintained anymore**, can be found here: https://.com/nkolban/esp32-snippets
5
5
6
-
Issues and questions should be raised here: https://.com/espressif/arduino-esp32/issues <br> (please don't use https://.com/nkolban/esp32-snippets/issues!)
6
+
Some parts of the NimBLE implementation are based on the work of h2zero, which can be found here: https://.com/h2zero/NimBLE-Arduino
7
+
8
+
Issues and questions should be raised here: https://.com/espressif/arduino-esp32/issues <br> (please don't use https://.com/nkolban/esp32-snippets/issues or https://.com/h2zero/NimBLE-Arduino/issues!)
7
9
8
10
Documentation for using the library can be found here: https://.com/nkolban/esp32-snippets/tree/master/Documentation
11
+
12
+
For a more customizable and feature-rich implementation of the NimBLE stack, you can use the [NimBLE-Arduino](https://.com/h2zero/NimBLE-Arduino) library.
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,10 @@
7
7
8
8
author: chegewara
9
9
*/
10
-
#ifndef SOC_BLE_50_SUPPORTED
11
-
#warning "This SoC does not support BLE5. Try using ESP32-C3, or ESP32-S3"
10
+
#ifndef CONFIG_BLUEDROID_ENABLED
11
+
#error "NimBLE does not support extended scan yet. Try using Bluedroid."
12
+
#elif !defined(SOC_BLE_50_SUPPORTED)
13
+
#error "This SoC does not support BLE5. Try using ESP32-C3, or ESP32-S3"
12
14
#else
13
15
14
16
#include<BLEDevice.h>
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
{
2
2
"fqbn_append": "PartitionScheme=huge_app",
3
3
"requires": [
4
-
"CONFIG_SOC_BLE_50_SUPPORTED=y"
4
+
"CONFIG_SOC_BLE_50_SUPPORTED=y",
5
+
"CONFIG_BLUEDROID_ENABLED=y"
5
6
]
6
7
}
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,9 @@
6
6
author: chegewara
7
7
*/
8
8
9
-
#ifndef CONFIG_BT_BLE_50_FEATURES_SUPPORTED
9
+
#ifndef CONFIG_BLUEDROID_ENABLED
10
+
#error "NimBLE does not support multi advertising yet. Try using Bluedroid."
0 commit comments