Disconnect from device

52 views
Skip to first unread message

Raspete

unread,
Aug 18, 2008, 3:20:54 AM8/18/08
to bluecove-users
Hi there,

When my program rises the time exception while I'm trying
to connect to the device I cannot disconnect from it, and the
exception didn't appears until I press ok or cancel at the cellphone.

At the cellphone screen I can see that it's connected to the computer
and appears the ask to accept a file, so I cannot continue sending
files until that message disappears.

Sometimes I press Ok after the timeout and I
don't receive any file (that's ok), but It doesn't disconnect until it
spends 2 minutes (the default timeout).
I'd like do that; disconnect from the device in order to release the
connection and continue with the next device i.e. disconnect after 30
seconds.


Thanks for your help ;)


P.S. I'm working on Windows XP SP2 with BlueCove 2.0.3

BP_Akito

unread,
Aug 18, 2008, 1:44:24 PM8/18/08
to bluecove-users
i use this instructions, coz some devices works different:

System.setProperty("bluecove.connect.timeout", "30000");
System.setProperty("bluecove.obex.timeout", "30000");

Hoper this works for u!

BP_Akito

unread,
Aug 27, 2008, 3:07:36 PM8/27/08
to bluecove-users
let me see your code

On Aug 21, 3:43 am, Raspete <rasp...@gmail.com> wrote:
> Hi
>
> I need to disconnect from the cellphone after the time defined at
> "System.setProperty("bluecove.connect.timeout", "30000");" or
> "System.setProperty("bluecove.obex.timeout", "30000"); " in order to
> don't overload the usb dongle and continue with the next cellphone.
>
> I've spent last weeks trying to do that and I cannot archieve it.
>
> Anybody has got the same problem?
> No one else knows how to do what I want?
>
> Thanks.
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages