Use NimBLE API for ESP32 bluetooth

This commit is contained in:
Joshua Pirihi
2022-02-15 06:52:00 +13:00
parent 1808e9b3d8
commit 6c17626132
13 changed files with 328 additions and 7 deletions

View File

@@ -28,8 +28,14 @@
#include "mesh/http/WiFiAPClient.h"
#ifndef NO_ESP32
#include "mesh/http/WebServer.h"
#include "nimble/BluetoothUtil.h"
#include "mesh/http/WebServer.h"
#ifdef USE_NEW_ESP32_BLUETOOTH
#include "esp32/ESP32Bluetooth.h"
#else
#include "nimble/BluetoothUtil.h"
#endif
#endif
#if defined(HAS_WIFI) || defined(PORTDUINO)