Wireless Communication Library Support Forum

Frameworks => Bluetooth Framework => Topic started by: bga on May 28, 2010, 04:56:33 PM

Title: Cancel download file
Post by: bga on May 28, 2010, 04:56:33 PM
Hello

if i cancel an download in my nokia (with wclOPPClient), the program will not respond and I have no event that triggers?

thks

Title: Re: Cancel download file
Post by: Mike Petrichenko on May 28, 2010, 06:36:16 PM
Hello,

I afraid I didn;t understand what you mean. With demo or with your app? BT Drivers? Code sample?
Title: Re: Cancel download file
Post by: bga on May 29, 2010, 09:45:08 AM
sorry,

with BluetoothOPPClientDemo, after i click 'PUT' and press canceled on my Nokia 5800, the program doesn't responds. are you an idea about the probleme?

thks
Title: Re: Cancel download file
Post by: Mike Petrichenko on May 29, 2010, 10:31:16 AM
Hello,

No, I am not an idea. But I have tested it. Only one device I have allow to cancel - SE K750i - and it wokrs fime. What BT driver do you use?
Title: Re: Cancel download file
Post by: bga on May 29, 2010, 10:45:59 AM
BELKIN with widcomm :-(
Title: Re: Cancel download file
Post by: Mike Petrichenko on May 29, 2010, 12:31:25 PM
Thanks, I will check it once again and back to you.
Title: Re: Cancel download file
Post by: bga on May 31, 2010, 11:47:06 AM
have you seen something?

I think that remains stuck in a loop without timeout in the library

thks
Title: Re: Cancel download file
Post by: Mike Petrichenko on May 31, 2010, 12:33:48 PM
I didn't check it yet. Will do a little bit later today.
Title: Re: Cancel download file
Post by: bga on May 31, 2010, 05:16:07 PM
The operation is random with Nokia 5800, sometimes client_OnOBEXPutComplete triggered , sometimes it does not triggered!!!!???

comBlueTooth.close() function is also blocked, impossible to stop and restart.
Title: Re: Cancel download file
Post by: Mike Petrichenko on May 31, 2010, 05:57:58 PM
The operation is random with Nokia 5800, sometimes client_OnOBEXPutComplete triggered , sometimes it does not triggered!!!!???

It depends on when you cancel it. Before asking questions with "!!!!!???" it is good to know technology or protocol a bit.

I have just tested it and Iunfortunately I could not reproduce the issue. I will keep looking on it.
Title: Re: Cancel download file
Post by: bga on May 31, 2010, 07:03:34 PM
I'm sorry but I do not criticize your work. I try to guide you to find a solution to my problem.
I cancel the download ever after having accepted the tranfer. But once it works once not.
thks
Title: Re: Cancel download file
Post by: Mike Petrichenko on May 31, 2010, 08:11:56 PM
I understand. I'm trying to solve the solution and I'll back to you immediately when solve it.
Title: Re: Cancel download file
Post by: Mike Petrichenko on June 01, 2010, 10:19:17 AM
Hi,

I have tryed to simulate the situation with different phones (not all has "Cancel" when receiving a file, so i turned off bluetooth on a phone). May be we can try to debug it on your side with TeamViewer.
Title: Re: Cancel download file
Post by: bga on June 01, 2010, 11:20:17 AM
I can not run teamviewer in my business. I'm sorry
Title: Re: Cancel download file
Post by: Mike Petrichenko on June 01, 2010, 12:05:27 PM
Unfortunatly there is no other way to fix this issue as it does not reproduced on my side. I will keep looking on it but I do not know how to fix it without reproducing.
Title: Re: Cancel download file
Post by: bga on June 07, 2010, 09:16:36 AM
hello, you don't reproduce the problem?

thks
Title: Re: Cancel download file
Post by: Mike Petrichenko on June 07, 2010, 09:19:06 AM
Hello,

Unfortunately no, I can not reproduce the problem.
Title: Re: Cancel download file
Post by: bga on June 07, 2010, 10:35:31 AM
if not would it be possible to have the sources for the library used by OPPClient trying to trace the problem?
Title: Re: Cancel download file
Post by: Mike Petrichenko on June 07, 2010, 12:07:22 PM
Of course, you can purchase sources. Other way - remote debugging with TeamViewer.
Title: Re: Cancel download file
Post by: bga on June 29, 2010, 10:45:00 AM
hello, the problem of cancellation with the Nokia 5800 is really blocking for me.
Can we try with teamviewer but I do not know how it works.
And I do not speak English too.
Title: Re: Cancel download file
Post by: Mike Petrichenko on June 29, 2010, 12:20:49 PM
Hi,

Contact us online by MSN/ICQ/Yahoo/Skype and we discuss a time when we can do it.
Title: Re: Cancel download file
Post by: bga on June 30, 2010, 10:25:29 AM
Did you find a solution to my problem?
Title: Re: Cancel download file
Post by: Mike Petrichenko on June 30, 2010, 11:24:28 AM
Unfortunately no. It does not appear on any phone I tested. We will keep working on it.
Title: Re: Cancel download file
Post by: bga on June 30, 2010, 11:30:17 AM
thank you because for me it's blocking.
if you want to use a library with traces
Title: Re: Cancel download file
Post by: Mike Petrichenko on July 01, 2010, 03:58:08 AM
Hello,

We have tested lot of phones, including: BlackBerry 9500, 8220, Nokia N95, 5320, 6021, SonyEricsson K750, W300, LG KG320, QTek G100, Ginza (WM device), Siemens S65, Samsung E520 and some others.

We still can not reproduce the issue with WidComm 5.1.0.1100, 5.5.0.3200, 5.5.0.7000, Toshiba 42001T, 51012T, 51016, 70016T, 71004T, 71012T, BlueSoleil 1.6, 2.3, 3.2, 5.0, 6.0.227.0, 6.4.240.2, 6.4.269.0, 6.4.275.0, 6.4.289.0, 6.4.305.0, MS stack on Win XP Home SP3 32 bit, Win Vista Home Basic 32 bit, Win 7 Ultimate 64 bit on PCs, Notebooks and Netbooks with different enveronment and hardware configuration, with build-in and external dongles.

We still can not reproduce the issue.

Unfortunately we have no exactly your driver version so if you can please send it to us - we will do the test on it.
Title: Re: Cancel download file
Post by: Mike Petrichenko on July 02, 2010, 10:28:23 AM
The issue has been fixed. The problem was in wcl2wbt.dll (actualy in WidComm). The phone sends cancel command and then disconnects immediately. WidComm detects it but when app trys send answer to the cancel command and deviuce is already disconnected WidComm freezes on Write method.
Title: Re: Cancel download file
Post by: bga on July 16, 2010, 02:44:37 PM
hello
for when a new version with this fix?
thank you
Title: Re: Cancel download file
Post by: Mike Petrichenko on July 16, 2010, 05:27:09 PM
Hello,

In about a month or so. If you need it early contact me on mike@btframework.com with your order number and I'll send you a fixed copy (if your free upgrade period has not been expired yet, as this fix is in new 6.8.0.0 version).