Post not yet marked as solved
Post marked as unsolved with 1 replies, 135 views
I'm currently trying to develop a l2cap demo application where I want to send data to a bluetooth chip over l2cap.
I'm able to send several packet from the iPhone to the bluetooth chip. The chip send back credits and the iPhone continue to send data.
After a moment suddenly the outputstream crash and rise a error that I'm not able to interpret.
here is the error raised :
/Users/13fmeyer/Documents/Screenshot 2024-05-07 at 15.15.37.png
Here is the section of the code that manage the write :
/Users/13fmeyer/Documents/Screenshot 2024-05-07 at 15.16.49.png
and the write method :
/Users/13fmeyer/Documents/Screenshot 2024-05-07 at 15.17.20.png
Finally it close the act connection and stop the transmission.
Does somebody have any idea about what happen ?