pvai
Posts: 1
Joined: Mon Jan 28, 2019 12:39 pm

BLE L2CAP Server

Mon Jan 28, 2019 12:44 pm

Hello,

I was wondering if its possible to create a BLE L2CAP Server on raspberry pi, for iPhone to connect? I have found many L2CAP server examples, but most of them are for Bluetooth. And the other few which are BLE, didnt work.
I can find raspberry pi as BLE device on iOS L2CAP app, but when it tries to connect, it always gives error saying error opening channel.
So did anyone have experience with this and managed to get it to work?

Thank you

User avatar
Douglas6
Posts: 4874
Joined: Sat Mar 16, 2013 5:34 am
Location: Chicago, IL

Re: BLE L2CAP Server

Mon Jan 28, 2019 4:54 pm

No. L2CAP is a classic Bluetooth protocol. You can simulate serial communications over BLE, but you'd need to run appropriate BLE code on both ends.

Return to “Networking and servers”