Wireless Communication Library Support Forum

Frameworks => Bluetooth Framework => Topic started by: baiyygtfj on August 05, 2009, 03:56:22 AM

Title: why did it can not paired?
Post by: baiyygtfj on August 05, 2009, 03:56:22 AM
I use "wclProximitySender",but it always can not auto-pair.
I test your Demo(WCL_Personal_VCL\demo\Delphi\ProximitySender),it is same failure(Remote device show pair failure messagebox).
I need it paired automatic. What can I do?
Title: Re: why did it can not paired?
Post by: Mike Petrichenko on August 05, 2009, 09:35:01 AM
Hi,

you have to set Secury = True and use wclAuthenticator to provide PIN

I forgot to say, that with some phones it may not work because authentication procedure.
Title: Re: why did it can not paired?
Post by: baiyygtfj on August 06, 2009, 03:34:14 AM
However,it does not work.
when I set wclProximitySender.Secure:= True  and set PIN := '0000'(wclAuthenticatorPINRequest), all phone need input password, and I input '0000' on the remote phone, every one return 'pair failure'.What's trouble with it?(Your DEMO: WCL_Personal_VCL\demo\Delphi\ProximitySender)My phone's modal is LG,ZTC,and so on.

I give you an example to explain my real mean:
1, I have two remote phone A and B, Set A's secure=true, Set B's secure=false.
2, I run my application(base you vcl) on my wince device, after the application discover two phone(A & B) ,it will send file to them, For A : It will hint me need input password,after I input '0000' it should complete the pair automatic(but now I can not realization auto-pair here,How do?).  For B will not hint and transfer files immediacy.
Title: Re: why did it can not paired?
Post by: Mike Petrichenko on August 06, 2009, 09:29:22 AM
What is BT driver you use?
Title: Re: why did it can not paired?
Post by: baiyygtfj on August 06, 2009, 11:15:50 AM
My bluetooth dongle is CSR Chip.
Driver is Microsoft.
Title: Re: why did it can not paired?
Post by: Mike Petrichenko on August 06, 2009, 11:32:09 AM
Thanks. We will check and let you know.
Title: Re: why did it can not paired?
Post by: baiyygtfj on August 12, 2009, 04:21:50 AM
When the problem can be solved?
I need it urgent.
Thanks!
Title: Re: why did it can not paired?
Post by: Mike Petrichenko on August 12, 2009, 11:04:17 AM
We are working on this matter but unfortunatly couldn't simulate it on our systems. As soon as we simulate it we will fix the problem.
Title: Re: why did it can not paired?
Post by: baiyygtfj on August 13, 2009, 06:55:58 AM
You can select one SAMSUNG MOBILE(it must include "authentication requirements" function and open it), when user mobile show"Input PIN"dialogbox, and type "0000", PC will show "Input Pin" Dialogbox. it can not pair automaticly.
Title: Re: why did it can not paired?
Post by: Mike Petrichenko on August 13, 2009, 07:12:58 AM
IF PC shows dialog then:

- you didn't open/use wclAuthenticator (wclAuthenticator.Open())
- you use WidComm drivers (auto pairing is not supported for WidComm)
- device sends authentication request after LMP session established (some Fly phones)
Title: Re: why did it can not paired?
Post by: baiyygtfj on August 13, 2009, 04:54:41 PM
1,I tested,"wclAuthenticator.Open()" or "Close()" , they are same.
2,My driver is microsoft. not widcomm
3,I tried another vcl control from other manufacturer, it can pair automaticly. so the problem is in you vcl modal.
Title: Re: why did it can not paired?
Post by: Mike Petrichenko on August 13, 2009, 05:28:37 PM
On my side it works without any problems too. What did you try? I want compare how does other components work in auto pairing mode.
Title: Re: why did it can not paired?
Post by: baiyygtfj on August 17, 2009, 04:19:49 AM
My mobile bluetooth setting:
   Authentication --> on
I use your demo(WCL\VCL\demo\Delphi\ProximitySender)test it, when mobile show"Input pair passcode" ,after I typed "0000", mobile show "Pairing Failed".
Now ,I Use my linux application(base on bluez), when moible show"Input pair passcode", after I type "0000",it show"Pairing success".

One moblie. same setting, bluez works well, and your wcl can not works , so I suggest you'd better check your source code.
On other hand, you'd better choose one new computer and reinstall an empty winxp, and test it again. becase winxp will store the pairing info.

before you test it ,you must open your mobile's Authentication switch .
Title: Re: why did it can not paired?
Post by: Mike Petrichenko on August 17, 2009, 07:59:08 AM
I have already tested it on WinXP SP 2, Win XP SP3, Vista, Vista XP 1 with Samsung mobile as you did. ProximitySender.Secure = True, PIN 0000. All works perfect. I didn;t find any bug or any other issue.