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
I suspect that there was a migration of the h2zero/NimBLE-Arduino library, causing the code to break.
In file included from src/main.cpp:4:
.pio/libdeps/esp32doit-devkit-v1/BLE-MIDI/src/hardware/BLEMIDI_ESP32_NimBLE.h: In member function 'bool bleMidi::BLEMIDI_ESP32_NimBLE::begin(const char*, bleMidi::BLEMIDI_Transport<bleMidi::BLEMIDI_ESP32_NimBLE>*)':
.pio/libdeps/esp32doit-devkit-v1/BLE-MIDI/src/hardware/BLEMIDI_ESP32_NimBLE.h:144:26: error: expected type-specifier before 'NimBLESecurity'
144 | auto _security = new NimBLESecurity();
| ^~~~~~~~~~~~~~
.pio/libdeps/esp32doit-devkit-v1/BLE-MIDI/src/hardware/BLEMIDI_ESP32_NimBLE.h:145:38: error: 'ESP_LE_AUTH_BOND' was not declared in this scope
145 | _security->setAuthenticationMode(ESP_LE_AUTH_BOND);
| ^~~~~~~~~~~~~~~~
*** [.pio\build\esp32doit-devkit-v1\src\main.cpp.o] Error 1
The text was updated successfully, but these errors were encountered:
Attempted to compile a previously working piece of code which now produces the following compilation error.
The error is in line 144 and 145 of Arduino-BLE-MIDI/src/hardware/BLEMIDI_ESP32_NimBLE.h.
I suspect that there was a migration of the h2zero/NimBLE-Arduino library, causing the code to break.
The text was updated successfully, but these errors were encountered: