Wireless Communication Library Support Forum

Frameworks => Bluetooth Framework => Topic started by: rider on October 06, 2010, 02:12:32 PM

Title: PIN BlackBerry
Post by: rider on October 06, 2010, 02:12:32 PM
I'm having a great doubt over the use of the safety pin. I'm having trouble with blackbarry who always asks for the pin. In your demo application you have an option "Secure wclProximitySender.Secure: = True 'checked that drives the pin, but when I trigger this check all appliances pair want to receive or request any pairing. It would not have a way to only accept such appliances as blackbarry pin because he only calls and other models.
Title: Re: PIN BlackBerry
Post by: Mike Petrichenko on October 06, 2010, 02:21:07 PM
Hello,

You may not check this option. In this case only BB will ask for PIN.
Title: Re: PIN BlackBerry
Post by: rider on October 06, 2010, 02:29:53 PM
Hello,

You may not check this option. In this case only BB will ask for PIN.

So if I do not select "Secure wclProximitySender.Secure" with true and just putting a default password that the staff claims to be 123 for apparatus blackubarry it will work? That is the only blackbarry identify this password? Is it necessary to pair devices blackbarry? they do not know how to proceed in this case.
Title: Re: PIN BlackBerry
Post by: Mike Petrichenko on October 06, 2010, 02:33:37 PM
If you set that flag to false, add wclAuthenticator and provide default pin in OnPinRequest even handler then it will detect that BB needs PIN and try to pair with PIN provided. Of course, on the BB side user must provide the same PIN. It works no only with BB but also with Samsung which may need auth too, with Motorola and some others. There is no way to avoid pairing with BB (and some other devices).
Title: Re: PIN BlackBerry
Post by: rider on October 06, 2010, 02:54:19 PM
If you set that flag to false, add wclAuthenticator and provide default pin in OnPinRequest even handler then it will detect that BB needs PIN and try to pair with PIN provided. Of course, on the BB side user must provide the same PIN. It works no only with BB but also with Samsung which may need auth too, with Motorola and some others. There is no way to avoid pairing with BB (and some other devices).

So let me get this straight, if I put the pin 123 wclAuthenticatorPINRequest if a device pin and only request the pair putting the customer 123 that the communication be established?

Then the component itself wclAuthenticator identifies this transaction without me having to set the secure property to true or false does not force the other to put the pin devices only those who request it.
Title: Re: PIN BlackBerry
Post by: Mike Petrichenko on October 06, 2010, 02:58:28 PM
1. Yes, correct. Only if user enters the same PIN.
2. wclProximitySender trys to connect without PIN. if not possible then it connects with PIN (if Secure = False). wclAuthenticator just handles PIN requests and allows you to provide PIN. Otherwise PIN Popup window appears (from BT driver).