I have written a BT-Application which uses the RFCOMM-Protocol and functioned as server. My code has similarity with the MessageServer from the Series60Ex-Example "BTPointToPoint".
It's no problem to receive any messages from connected devices, but my application crashes when I try to send something over the opened socket. There occurs the following error:
It is important to mention that the sent message arrives by the remote device!
The code for sending message:
HBufC8* text1 = HBufC8::NewLC(60);
text1->Des() = _L8("testasdfasdfasdfasdf"
Ok, thanks for every response.