What steps will reproduce the problem?
1. Plug 2 bluetooth dongles.
1. Setup a connection: Connector.open(string);
2. Wait for incoming request: streamConnNotifier.acceptAndOpen();
3. Close the connection in other thread: streamConnNotifier.close();
What is the expected output?
Connection closes successfully
What do you see instead?
Can not unregister SDP record. Invalid argument;
Devices can no longer be accessed through gnome-bluetooth gui tool.
Devices are still visible in hcitool
When the application is lanched the second an following times it shows:
Can not open SDP session. [111] Connection refused
System DATA
Bluecove version: 2.1.1-SNAPSHOT.60
OS: Ubuntu 9.04
Stack: BlueZ 4.34
JVM: OpenJDK6
32 bits
Please provide any additional information below.
Same code works fine in dbus distribution (same snapshot version).
Same code works fine in WinXP winsock distribution (version 2.1.0).
Original issue reported on code.google.com by cokem...@gmail.com on 16 Oct 2009 at 9:55
Original issue reported on code.google.com by
cokem...@gmail.com
on 16 Oct 2009 at 9:55