IOS-CoreBluetooth-Mock icon indicating copy to clipboard operation
IOS-CoreBluetooth-Mock copied to clipboard

Add support for L2CAP

Open fzy-github opened this issue 6 months ago • 2 comments

Hey, Congratulations on this awesome library. I have been using it in few of my applications and it was a lifesaver. Unfortunately it seems that I have reached current limits of this library when trying to work with L2CAP which is not supported:

https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock/blob/d1e0321027728da6edf5b974cf113524bad2034a/CoreBluetoothMock/CBMCentralManagerMock.swift#L1630

It would be great to add this support to make the library one step closer to be feature complete

fzy-github avatar May 26 '25 21:05 fzy-github

I never had the opportunity to try this on the native API. I is a very cool feature and perhaps it's not that diffucult to add support for. If you could create a PR with the implementation, that would be amazing. We will gladly merge it and release.

If you would like us to implement this feature, I hardly see this coming this year.

Thank you from the mountain!

philips77 avatar May 27 '25 11:05 philips77

Understood, thanks. I have an idea in mind already after poking with the source code a little bit but I need some spare time to prototype it. Will definetly keep you updated

fzy-github avatar May 29 '25 15:05 fzy-github