6

I'm trying to connect an android device to an embedded control unit via L2CAP CO (Connection Oriented) with Bluetooth LE. Apple created in iOS a new function to create a custom L2CAP Channel https://developer.apple.com/documentation/corebluetooth/cbl2capchannel to a peripheral and avoid the usage of a GATT Server communication.

My question is: Is there any future or currently implementation in android to have the same functionality as iOS?

Cody Gray - on strike
  • 239,200
  • 50
  • 490
  • 574
javaBeCool
  • 276
  • 3
  • 13

1 Answers1

0

Yes, Android Q will provide official support:

Bluetooth LE Connection Oriented Channels (CoC)

Android Q enables your app to use BLE CoC connections to transfer larger data streams between two BLE devices. This interface abstracts Bluetooth and connectivity mechanics to simplify implementation.

Cody Gray - on strike
  • 239,200
  • 50
  • 490
  • 574
EnderX
  • 1
  • 1
  • Think the link is update to current version so no use, I think here is the exact link of what @EnderX trying to add in his answer ( https://developer.android.com/about/versions/10/features#bluetooth-le-coc ) – SaravanaRaja Jul 12 '21 at 06:37