Closed antonvh closed 6 months ago
Solved. Found out how to use nimBLE with
imo this is still a bug and needs to be fixed (just first experienced this under IDE 2.3.0/ fresh isntall and update of everything),
also for a workaround (for everyone), change line 116 in BLEMIDI_ESP32.h from:
std::string rxValue = characteristic->getValue();
to
String rxValue = characteristic->getValue();
thx to a similar problem over here that explained the root cause https://forum.arduino.cc/t/compilation-error-on-code-that-was-compiling-before-conversion-from-string-to-non-scalar-type/1265323 // https://github.com/espressif/arduino-esp32/pull/8724
@lathoub maybe you can implement the change directly in a future update
@wiemax1093 thx for signaling. If you make a PR, I'm happy to accept
My code used to work, but sadly, I hit the update button. :/
Now compiling my sketch with BLE-MIDI returns this:
I tried the other branches of this repo too.
I'm compiling for esp32