Author Topic: GetRemotePaired() not returning accurate results  (Read 16299 times)

Offline MrPaulCarpenter

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
GetRemotePaired() not returning accurate results
« on: December 12, 2018, 04:48:43 PM »
GetRemotePaired() not returning accurate results
(Using wclBluetoothFramework version 7.5.5.0, C# / .Net 4.6.1)

When using  wclRfCommClient, my application depends on GetRemotePaired() to determine if a PIN is successful

In my test example, I call GetRemotePaired(), and see that device is not paired.

 int err = Radio.GetRemotePaired(Address, out bool isPaired);
 
 Next :
 
  int err = Radio.RemotePair(Address);
 
  I see calls to
 
  Manager_OnPinRequest()
  and
  Manager_OnAuthenticationCompleted()
 
  I see that Client.State == csConnected
  I also confirm that I can send and receive data to/from the Bluetooth device
 
  Then  I again call
   
 
   int err = Radio.GetRemotePaired(Address, out bool isPaired);
   
   and isPaired is still false

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: GetRemotePaired() not returning accurate results
« Reply #1 on: December 12, 2018, 07:28:01 PM »
Hello,

Sorry for delay with the answer. We had to check this.

We tested Bluetooth Framework 7.5.9.0 and all works as expected. Have you tested it with BluetoothManager demo application?

 

Sitemap 1 2 3 4 5 6 7