-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BLE-MIDI/src/hardware/BLEMIDI_ESP32_NimBLE.h compile error #96
Comments
I can confirm I'm having the exact same problem, and when I roll back to version 2.1.0, the project compiles just fine. |
May I ask if there will be a new official release of this brilliant library that leverages the features of the new major NimBLE 2.x.x version? Thanks in advance🙏 |
Hi @MicroMidi et al - good question. An official release of this library is difficult, as it relies on calls in the underlying MIDI library that have not been rolled up in a release. It has been in the air for a while, but we (@FortySevenEffects (*) and myself) have to organize a 'release party' to align all the releases of the libraries again (the base libraries and all the derived protocols). Maybe this is a good trigger for a concerted effort. |
Hi @lathoub, Thanks again for your hard work and for your great contribution to the Arduino ESP32 community Bernd |
Problem fixed in master branch. the main security settings are
parameters described here: Please let me know if this fix works |
Hi @lathoub, What I ended up doing to fix the problem temporarily is copying all the libraries from a working system and replacing the libraries folder. It gave me an error in the Arduino IDE cache. The directory was the Windows user\AppData\Local\Arduino15\etc and several subfolders. I deleted that folder and it compiled correctly. Thanks for your hard work and great contributions to the Arduino esp32 community |
@JasonBugeja just checking: all is A-OK? (I just checked with a fresh checkout from github and all compiled correctly) |
Hi @lathoub, i tried to compile the BLE MIDI client demo code from @RobertoHE ("MidiBle_Client.ino") and get the following error while compiling: _In file included from C:\Users\bernd\AppData\Local\Temp\arduino_modified_sketch_379318\MidiBle_Client.ino:31: I tried that with the Espressif ESP32 v2.x and v3.x board framework and NimBLE library v2.2.1. Do you have any ideas how to solve that? Bernd |
The NimBLE library has changed its API, and I am unfamiliar with the BLE client usage. @RobertoHE can you check the code? Mainly here:
mix up on template parameters:
|
Hello everyone.
This line tries to check if the address or name matches the name that you choose, client will try to connect with that server. The error of @MicroMidi says that type mismatch. Would you verify that NimbleBLEAddress->getAddres() type return type matches with
I just compare my local repo with this master report Master Repo: Arduino-BLE-MIDI/src/hardware/BLEMIDI_Client_ESP32.h Lines 631 to 643 in 2e4b39f
At any moment you remove _setting Template class, @lathoub. If setting class is not defined in the constructor at creation time, some error may occur because some variables are not defined. The main change to work with customizable settings is based on the heritage of setting to midi->blemide->transport layer.
In master repo, the settings are not used with the constructors. Please, check that settings are correctly used in the constructor in all layers, not only in Client transport layer. Sorry for not being more useful until March. |
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: