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
My code used to work, but sadly, I hit the update button. :/
Now compiling my sketch with BLE-MIDI returns this:
In file included from /Users/anton/Documents/Arduino/blemidi2/blemidi2.ino:2:
/Users/anton/Documents/Arduino/libraries/Arduino-BLE-MIDI/src/hardware/BLEMIDI_ESP32.h: In member function 'virtual void bleMidi::MyCharacteristicCallbacks::onWrite(BLECharacteristic*)':
/Users/anton/Documents/Arduino/libraries/Arduino-BLE-MIDI/src/hardware/BLEMIDI_ESP32.h:116:55: error: conversion from 'String' to non-scalar type 'std::string' {aka 'std::__cxx11::basic_string<char>'} requested
116 | std::string rxValue = characteristic->getValue();
| ~~~~~~~~~~~~~~~~~~~~~~~~^~
exit status 1
Compilation error: exit status 1
I tried the other branches of this repo too.
I'm compiling for esp32
The text was updated successfully, but these errors were encountered:
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();
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
The text was updated successfully, but these errors were encountered: