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

@@ -1,3 +1,5 @@
#ifndef USE_NEW_ESP32_BLUETOOTH
#include <Arduino.h>
#include "../concurrency/LockGuard.h"
@@ -154,3 +156,5 @@ void reinitUpdateService()
res = ble_gatts_add_svcs(gatt_update_svcs);
assert(res == 0);
}
#endif //#ifndef USE_NEW_ESP32_BLUETOOTH