I tried to implement a simple demo application which handles communication with BLE devices while the application is put in background mode by the user. However, the communication seems to be suspended a couple seconds after the application is put in background.
I tried to document myself about L2CAP communication in the background and found some posts stating that L2CAP communication is not supported in the background. I wonder if someone has achieved what I'm trying to.
I just upgraded my testing device to iOS 17, and BLE L2CAP CoC communication is working even when the application is in background.
No code has been modified so I guess L2CAP CoC background communication has been fixed by Apple in iOS 17.