Post not yet marked as solved
Post marked as unsolved with 1 replies, 441 views
I have an app to communicate with a peripheral via L2CAP channel. Even I already enabled "Uses Bluetooth LE accessories" in "Background Mode", it still stop working when I lock the screen.
Did some search and found these two posts:
CBL2CAPChannel not responsive while app is backgrounded
iOS Swift CoreBluetooth CBL2CAPChannel L2CAP Channel Oriented Connection Cannot Reconnect After Close From Central
I am wondering if there are any solutions or work around about this.
Based on the use case, I prefer to use L2CAP to transfer large data between two devices, so won't consider GATT.