Wireless Communication Library Support Forum

Frameworks => Bluetooth Framework => Topic started by: sigimage on March 04, 2014, 05:28:27 PM

Title: WCL_E_ACCESS_DENIED when trying to connect
Post by: sigimage on March 04, 2014, 05:28:27 PM
Hi,
On some windows 8(MS stack) pc I have the message WCL_E_ACCESS_DENIED  when i try to connect to a BT device.
The connection work fine with the same code on other W8 pc or W7 pc.
Do you know this problemn?  Is there a solution?

Regards
Title: Re: WCL_E_ACCESS_DENIED when trying to connect
Post by: Mike Petrichenko on March 04, 2014, 05:41:09 PM
Hi,

How do you do pairing?
Title: Re: WCL_E_ACCESS_DENIED when trying to connect
Post by: sigimage on March 04, 2014, 05:53:48 PM
with windows...
Title: Re: WCL_E_ACCESS_DENIED when trying to connect
Post by: Mike Petrichenko on March 04, 2014, 06:12:36 PM
WCL_E_ACCESS_DENIED means that device is not paired/authenticated. It may be because wrong PIN or something else.
Title: Re: WCL_E_ACCESS_DENIED when trying to connect
Post by: sigimage on March 04, 2014, 06:29:11 PM
ok, thanks
Title: Re: WCL_E_ACCESS_DENIED when trying to connect
Post by: sigimage on March 12, 2014, 01:19:49 PM
Hi, what could be something else?
My program and the example BluetoothClientDemo return WCL_E_ACCESS_DENIED when i try to connect for the moment on windows 8 only.
I could connect to the gps with the proprietary software in bluetooth on the same machine. Any idea?
Title: Re: WCL_E_ACCESS_DENIED when trying to connect
Post by: Mike Petrichenko on March 12, 2014, 07:41:57 PM
Hi,

Unfortunately I do not know your device's requirements so I can just guess that the device:

* requires pairing but nor paired;
* does not require pairing and uses connection without authentication but application uses authentication (BluetoothClientDemo uses authentication by default);
* wrong pin code provided during pairing.