Hi, the relevant parts of the sources are attached (the important parts are the BTMidServ.java and the method doConnect() in BTServiceSearchUI.java). I hope the comments and Info-Messages will be enough declarations. I use Debian Linux with a 2.6.7 Kernel and KDE version 3.2.3. The phone is a Siemens SX1 with firmwareversion 10. It uses a Symbian OS Serie 60. The USB-dongle is from Acer and should be supported from BlueZ. Greeting Johannes Marcel Holtmann wrote: >Hi Johannes, > > > >>The way, to start a server on the Handy I already tried, but I didn't had in >>mind, that this has to be so, but to have a completely new connenction >>between the devices (or has it to be so?). >> >> > >forget about that. I was confused and thought that you wanna connect >from the PC to your phone, > > > >>The complete protocol is attached to the mail. The accosted lines exists >>(see attachment - would it be better to see the java-sources?). >> >> > >If you put it into a tar then name it this way ;) > > > >>On the pc runs a server, that is listening to a connection. A mobile phone >>searches for the device and the service, tries to connect an sends a 7byte >>long string ("String!"). This way works without any problems. Immediately >>after receiving, the server sends an 6byte long string("Handy!") to the >>phone, using the same connection. But the phone only receives an empty >>string. >> >> > >The string "Handy!" goes over the connection and right after that the >Linux side closes the connection. Maybe that is the problem or it is the >credit based flow control on the phone. I don't see any CFC problem, but >I also didn't wrote the Bluetooth stack on the phone. I think it is a >good idea to add a sleep(1) before you close the connection. > >Some other information might be handy. What kernel do you use and what >do you use as server on the Linux side? What kind of phone is this? > >Regards > >Marcel > > > > >