BLE l2cap close not correct

We are develop an application with corebluetooth framework. we connect to device with ble. and open two l2cap channels. it can transfer data with stream. but when it close the second l2cap channel, it always close the first l2cap channel.

Assuming this is not due to a coding or configuration mistake on your end that's causing the problem, we would need to see some diagnostic logs to understand why this might be happening.

To create that log, please go to https://developer.apple.com/bug-reporting/profiles-and-logs/ and follow the instructions for Bluetooth for iOS to install a logging profile on your device.

Then, once the logging profile is installed:

  • reproduce the problem, keeping track of the actual time of the actions you take and the result you see.
  • please have your app use os_log() statements to indicate what CoreBluetooth actions it is taking
  • if you have a small project demonstrating the issue, please include that.

Once the problem is reproduced, follow the instructions at the above link to trigger a sysdiagnose

Once you have all the information, please file a Feedback report at http://feedbackassistant.apple.com and let me know the Feedback ID here (@ mention me for expediency), and I will forward this to the team.


Argun Tekant /  DTS Engineer / Core Technologies

@Engineer is it a bug of corebluetooth framework?

Your Feedback report on this issue is still under investigation. Please continue to check the status of it via the Feedback Assistant

BLE l2cap close not correct
 
 
Q