Hi there,
I have modified the BtPointToPoint Example in that way, that I added a method sendData to CMessageServer (messageServer.cpp). The Method is pretty simple:
In the RunL Method i call sendData directly after the connection was made.Code:void CMessageServer::sendData() { iAcceptedSocket.Write(_L8("Test!"),iStatus); SetActive(); }
The Receiver (which is a program running on a pc communicating via a usb dongle) receives the "Test!" message, but the application on the phone is terminated with the message "App BtPointToPoint closed".Code:... switch (iState) { case EConnecting: iLog.LogL(_L("Connected")); sendData(); ...
Can anybody help me?



