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,4 @@
#ifndef USE_NEW_ESP32_BLUETOOTH
#include "BluetoothSoftwareUpdate.h"
// NRF52 wants these constants as byte arrays
@@ -68,3 +69,5 @@ const struct ble_gatt_svc_def gatt_update_svcs[] = {
0, /* No more services. */
},
};
#endif //#ifndef USE_NEW_ESP32_BLUETOOTH