Library Conflict of Arduino BLE and Seeed_GFX

Hello,

i have this issue, with those both Librarys, they wont work together. <TFT_eSPI.h> and <ArduinoBLE.h> the error message is: “ undefined reference to HCITransport'"

I was recommended to use the bluefruit.h library, but i am not finding this anywhere..

Glad for any Help, thanks

1 Like

Hi there,

So, a couple things here.
ONE, You seem to be mixing two things that are not compatible.
Start with, Which BSP are you using? it’s not the right one is more or less what that error indicates, not what it tells you. that’s another thing entirely “undefined reference to HCITransport'

Two, bluefruit.h is not usually a standalone Library Manager install. It comes from Adafruit’s nRF52 board support package, in the Bluefruit52Lib library inside the Adafruit nRF52 Arduino core.

I have no less than 10 demo video’s of those LIB’s working quite well together on the round display and on the Xiao Dev board with the OLED display. The code is there with each one as well. You will note in the headers’ we try and call out which BSP is used and works. They are supplied by the vendor of the Silicon. and therefore are not always 100% backward compatible with 3rd party Libs , so often you would need to ROLL-BACK the BSP version to allow it to compile.

TFT-eSPI.h has been refactored to work with the current BSP’s but you must still have it configured correctly for your display and driver.
Arduino BLE is Very robust and Just works, when the proper BSP is used.
I can have multiple BLE concurrent connections and notifications 3 & 6 respectively,
2 as minimum without any issues and 4 notifies, go Check out the Thread with Multiple concurrent BLE connects with the Round display on here.

also you can post your code , use the code tags above “</>” paste it in there.
Others can look and you will get better quality help.

GL
HTH :slight_smile: PJ :v:

1 Like

Hi, I can only confirm the issues from tobion. The bluetooth only works with Arduino boards set to ‘nrf mbed enabled’ series, whereas I have an nrf52840 Plus. The E-paper only works with the nrf52 boards. I have tried all combinations, but I simply doesn’t work. Can you point me to your video’s please before I specify all the combinations tried and the issues with it? Thanks!

Hi there,

So , NO… The BLE works with both, but NOT the same LIB’s
ArduinoBLE and BluFruit are two distinctly different BLE stacks.
furthermore they are targets of two different BSP files. There in Lives the rub.
You can’t mix and match.

Post the code we can look and get you sorted out.
Use the code tags above “</>” paste it in there.

HTH
GL :slight_smile: PJ :v:

Some Graphics libs only work with some BSP’s and on and ON.
Even some so-called experts miss this fact. :+1: