esp-nimble-cpp icon indicating copy to clipboard operation
esp-nimble-cpp copied to clipboard

L2CAP channel?

Open mickeyl opened this issue 3 years ago • 6 comments

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.

mickeyl avatar May 27 '22 14:05 mickeyl

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 😃

h2zero avatar May 28 '22 21:05 h2zero

Alright. Will do as soon as I get it working on the C level… right now I'm still blocked.

mickeyl avatar May 29 '22 11:05 mickeyl

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.

mickeyl avatar Jun 05 '22 13:06 mickeyl

Awesome, looking forward to it!

h2zero avatar Jun 06 '22 14:06 h2zero

Quick heads-up: I made huge progress and will open a pull request for review next week.

mickeyl avatar Apr 21 '23 17:04 mickeyl

https://github.com/h2zero/esp-nimble-cpp/pull/116

mickeyl avatar Apr 28 '23 14:04 mickeyl