Wireless Communication Library Support Forum
Frameworks => Bluetooth Framework => Topic started by: bga on May 11, 2010, 04:11:39 PM
-
Hello
I use OPPThread but with a BlackBerry phone, I have a message "access denied". How to add a PIN?
thank you
-
Hello,
Add PIN where?
-
my BlackBerry ask me a code to connect? how add a authentification code in the program?
-
It is better to use wclAuthenticator together with wclOPPClient. But you must setup wclOPPClient.BluetoothParams.Authentication to True. Otherwise it will work incorrect or may not work (depends on Bluetooth driver used). However, if you will set wclOPPClient.BluetoothParams.Authentication to TRUE for all devices than any device will ask for PIN. That is why it's much better to use wclProximitySender to send content to multiple devices.
Any way, I do not recomend to use WCL with threads as it is asynchronous and does not need any thread to send to more than 1 device at the same time.
-
have you an example to use wclAuthenticator?
-
Of course, it is included in WCL package. (wclAuthenticator available in Persxonal and Developer licenses).
-
thank you for your reply, this works but is it possible to request the pin only if the phone requests?
such requests only pin for the blackberry and not for the nokia?
-
Hello,
In common case it is impossible, You must know which phone need PIn and which one does not.
-
when I use the code (with wclOppClient) with BlackBerry phone :
wclAuthenticator.Radio = Radio;
wclErrors.wclShowError (wclAuthenticator.Open ());
wcl.wclErrors.wclShowError (client.Connect ());
the phone asks me the pin code and the function wclAuthenticator_OnPINRequest triggered.
Then I get an error 44 (WCL_E_SERVICE_NOT_FOUND) in the OnConnection.
Have you a solution to this problem?
-
By defaullt BlackBerry has no OBEX service running. You must go to Multimedia menu and select "Receive by Bluetooth". Then it can receive media content. That was described on this forum lot of times. Forum search works perfect.
-
sorry for my english
i have read a post in BlackBerry
If i use my code whith wclOPPClient and wclAuthenticator (and select "Receive by Bluetooth" in blackberry), the pairing is ok but the fonction is in error 43 of TimeOut.
How to send file to this phone with the same method than another phone?
-
Have just tested - all works perfect. I thit it appears because you didn't set wclOPPClient.BluetoothParams.Authentication = True
-
with wclOPPClient.BluetoothParams.Authentication = True
the same problem, the blackberry wait for file transfert and a time out error.
Can you send me your example with wclOppClient and authentification for black berry?
I can't find my problem
-
I use modified OPPClientdemo. What BT driver do you use?
-
I've 2 BT :
driver microsoft and widcom, the same problem with both
-
TeamViewer?
-
can you mail me a project?
-
what project?
-
your BluetoothOppClient with authentificator for test with blackberry?
-
Attached. Re-reference wcl.dll and .manifest file.
[attachment deleted by admin]