hi all,

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:

App. Closed
BTTest
USER 44

It is important to mention that the sent message arrives by the remote device!

The code for sending message:

TRequestStatus rr;
HBufC8* text1 = HBufC8::NewLC(60);
text1->Des() = _L8("testasdfasdfasdfasdf"
acceptedSocket->Write(*text1, rr);
User::WaitForRequest(rr);


Ok, thanks for every response.

Nice Day!

Adi