New issue 90 by cokemaul: Connection close
http://code.google.com/p/bluecove/issues/detail?id=90
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).
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings