esp-nimble-cpp
esp-nimble-cpp copied to clipboard
L2CAP channel?
First off, thanks for this great set of classes!
I'm using an esp32c3 and need to transfer a huge stream of data to iPhone (and Android) over BLE and wonder whether your classes allow me to create an L2CAP channel directly? That way my hope is I would not have to implement manual fragmentation and assembly of data using individual characteristics.
Hi @mickeyl, you're quite welcome.
There is no support for l2cap in this library at this time. Always happy to accept a PR though 😃
Alright. Will do as soon as I get it working on the C level… right now I'm still blocked.
FYI: I have started to get some things working on C level. I will create a bunch of abstractions that hopefully match your style. Bear with me though, as my last encounter with C++ stems from using Visual C++ with Windows NT 3.5.1 (in the late 1990s, if I recall correctly), my C++ is a bit rusty.
I'm developing the code here and will open a pull request once I have something workable.
Awesome, looking forward to it!
Quick heads-up: I made huge progress and will open a pull request for review next week.
https://github.com/h2zero/esp-nimble-cpp/pull/116