I am working on HTC Hero with 2.1 SDK on it. And a Bluetooth adapter on PC only support OPP(Object Push Protocol), which I queried by my blackberry. The adapter's program is written in VC 6.0. It only do connect and send a file through the adapter. I write something to listen the connection with the code below: _server = BluetoothAdapter.listenUsingRfcommWithServiceRecord("OBEX", MY_UUID); _socket = _server.accept();
When the PC side connect and send the file. The accept method blocked and got nothing. But the low level system get the file receive indication which is displayed on the status bar. Why my listening process don't work? Is it because of the wrong UUID? I have changed the UUID with below values, but nothing better. 00000008-0000-1000-8000-00805F9B34FB (OBEX_PROTOCOL_UUID) 00001105-0000-1000-8000-00805F9B34FB (OBEXObjectPushServiceClass_UUID) FF646F81-8DEF-1125-9449-00105A075F6D (which is written in the VC code of the PC side) I am a newbie of bluetooth part. Please give me some advice. Any advice and try would be benefit. Thank you. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en