hyperionjv / bluecove

Automatically exported from code.google.com/p/bluecove
0 stars 0 forks source link

Problems opening and closing connections multiple times #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The story so far:

at 2006-03-07 21:01 johnny_bb@users.sourceforge.net wrote:
> Whilst using Bluecove V1.1.1 I am only able to establish and close SPP
> connections a certain number of times. After this time I have to restart
> the computer in order to establish another connection. The program I have
> written closes both the InputStream and StreamConnectionNotifier each time
> the connection is terminated.

Please describe problem better (how many times, what devices, does it work 
better/worse on other platforms) or send a minimal program to sample this
(one written specifically to show this bug, not the application you are
developing minus everything you don't want us to see). I on the other
hand can tell you, that the programs I have written can stay open for hours
with connections going and coming.

Original issue reported on code.google.com by paul.tot...@gmail.com on 19 Aug 2006 at 1:11

GoogleCodeExporter commented 9 years ago
i have the same problem... using all devices i've tryed, the number of 
connections is
random.. sometimes the server stops receiving connnections , then i have to 
restart
the program

Original comment by paulo...@gmail.com on 22 Aug 2006 at 6:18

GoogleCodeExporter commented 9 years ago
Conformed

Created test application. 
(see SVN http://bluecove.googlecode.com/svn/bluecove-examples/bluecove-tester/)
http://bluecove.sourceforge.net/bluecove-tester/

I see the problems when running server application on Windows XP, BlueCove 1.2.2
and client on Noka 6265i or another WinXP with BlueCove.
Java 1.5, MS USB Bluetooth dongle.

Tested number of connections opened to server is 150. Running Time hours...
There are small percentage of not established connections but after retry client
connects successfully and data transmitted without errors.
Test Server Accept only one connection a time.
StreamConnectionNotifier is not closed. acceptAndOpen called after connection is
finished.

After 3 hours of discovery and connections. USB Bluetooth dongle no longer
discoverable and server not working. MS Mouse connected to the same dongle not 
working.
Need to unplug the dongle and connect it again.

Original comment by skarzhev...@gmail.com on 16 Mar 2007 at 3:57

GoogleCodeExporter commented 9 years ago
Just recently run my test application again.
Server BlueCove on XP with MS USB Dongle was working for 5 hours accepted 1700
incoming connections.
Client app running "Client Stress Start" on Noka 6265i no errors or dropped
connections until the battery died.

Original comment by skarzhev...@gmail.com on 11 May 2007 at 6:11

GoogleCodeExporter commented 9 years ago
Another update on the problem. 

Running BlueCove v2.0.0 with Microsoft Bluetooth stack, D-Link DBT-120 USB

more than 3,000 Connections made and running....

If you have a problem like one describe in bug report try using different USB 
adapter.

Original comment by skarzhev...@gmail.com on 14 Jul 2007 at 5:53

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi,
I'm getting this same problem using Suse 11.2, bluecove 2.1.0, Trendnet 
Bluetooth Adapter TBW-105UB or Dlink Bluetooth Adapter DBT-122.
Any idea?
Regards.

Original comment by oialeale...@gmail.com on 29 Jul 2010 at 12:48