Author Topic: WCL_E_ACCESS_DENIED when trying to connect  (Read 2049 times)

Offline sigimage

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
WCL_E_ACCESS_DENIED when trying to connect
« 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

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3055
  • Karma: 1000
    • Soft Service Company
Re: WCL_E_ACCESS_DENIED when trying to connect
« Reply #1 on: March 04, 2014, 05:41:09 PM »
Hi,

How do you do pairing?

Offline sigimage

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: WCL_E_ACCESS_DENIED when trying to connect
« Reply #2 on: March 04, 2014, 05:53:48 PM »
with windows...

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3055
  • Karma: 1000
    • Soft Service Company
Re: WCL_E_ACCESS_DENIED when trying to connect
« Reply #3 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.

Offline sigimage

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: WCL_E_ACCESS_DENIED when trying to connect
« Reply #4 on: March 04, 2014, 06:29:11 PM »
ok, thanks

Offline sigimage

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: WCL_E_ACCESS_DENIED when trying to connect
« Reply #5 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?

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3055
  • Karma: 1000
    • Soft Service Company
Re: WCL_E_ACCESS_DENIED when trying to connect
« Reply #6 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.

 

Sitemap 1 2 3 4 5 6 7 8 9