ArduinoBLE support #2813
-
It's been a while since I've messed with the RP2040w..... Is there support to use the ArduinoBLE library? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Nope. ArduinoBLE actually implements the low-level BT handshake and protocol and isn't compatible with BlueKitchen BTStack. It basically re-implements the whole system library in userspace. I looked at it a while back and the only way I could see it working was to reimplement a library with all the same class interfaces, but completely different implementations from scratch. Because there's a bunch of cross-level shenanigans needed to make BLE work, it's not really straightforward and there's not a good place I could find to split off the higher-level BLE logic from the lower level HCI control... |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick response. I'm working on a thermal printer library
that uses ArduinoBLE. I was hoping to make it work on the RP2040w.
Thanks for all your work on the RP2040 series...
…On Wed, Feb 19, 2025 at 6:35 PM Earle F. Philhower, III < ***@***.***> wrote:
Nope. ArduinoBLE actually implements the low-level BT handshake and
protocol and isn't compatible with BlueKitchen BTStack. It basically
re-implements the whole system library in userspace. I looked at it a while
back and the only way I could see it working was to reimplement a library
with all the same class interfaces, but completely different
implementations from scratch. Because there's a bunch of cross-level
shenanigans needed to make BLE work, it's not really straightforward and
there's not a good place I could find to split off the higher-level BLE
logic from the lower level HCI control...
—
Reply to this email directly, view it on GitHub
<#2813 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUL7JVL2BRLVVTQQB5KUSZD2QUPO3AVCNFSM6AAAAABXPJ3HXCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMRVGY2TGOA>
.
You are receiving this because you authored the thread.Message ID:
<earlephilhower/arduino-pico/repo-discussions/2813/comments/12256538@
github.com>
|
Beta Was this translation helpful? Give feedback.
Nope. ArduinoBLE actually implements the low-level BT handshake and protocol and isn't compatible with BlueKitchen BTStack. It basically re-implements the whole system library in userspace. I looked at it a while back and the only way I could see it working was to reimplement a library with all the same class interfaces, but completely different implementations from scratch. Because there's a bunch of cross-level shenanigans needed to make BLE work, it's not really straightforward and there's not a good place I could find to split off the higher-level BLE logic from the lower level HCI control...