Bluetooth LE - L2CAP CO channel on Android
I am trying to connect an Android device to an embedded control unit via L2CAP CO (connection oriented) via Bluetooth LE. Apple has created a new feature in iOS to create its own L2CAP channel https://developer.apple.com/documentation/corebluetooth/cbl2capchannel for a peripheral and avoid using the GATT server connection.
My question is, is there a future or current implementation in Android to have the same functionality as iOS?
+5
source to share
1 answer
Yes, Android Q will provide official support :
Bluetooth LE connection-oriented channels (CoC)
Android Q allows your app to use BLE CoC connections to transfer large data streams between two BLE devices. This interface abstracts the mechanics of Bluetooth and connectivity to simplify implementation.
0
source to share