Author Topic: WCL Demo - SilentAuth  (Read 27581 times)

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3504
  • Karma: 1000
    • Wireless Communication Libraries
Re: WCL Demo - SilentAuth
« Reply #15 on: June 05, 2015, 07:37:20 AM »
Checked Thsiba 9. It looks like there is a bug in Toshiba 9 stack and it always requires authentication. Change Authentication = true; in client and server demos. Should work with such settings. Or switch to toshiba 8.

smalinowski

  • Guest
Re: WCL Demo - SilentAuth
« Reply #16 on: June 19, 2015, 09:45:52 AM »
Solution works only partially :(

Firstly, I changed Authentication = true and hardcoded PIN both on server and client side. When I tried to connect

Device A (Toshiba stack / Win7)  [Client]  --->  [Server]   Device B (Microsoft stack / Win8).

Yes! It works, device has been paried and data sent. But in reversed configuration 

Device B (Microsoft stack / Win8) [Client]  --->  [Server]  Device A (Toshiba stack / Win7) 

It not works silently. Toshiba security bluetooth still prompts for PIN :(
Checked for Toshiba 8, and newest 9.1

I attach modifed demo source code of Chat/Server used for my tests.


[attachment deleted by admin]

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3504
  • Karma: 1000
    • Wireless Communication Libraries
Re: WCL Demo - SilentAuth
« Reply #17 on: June 19, 2015, 04:28:14 PM »
Hello,

I tryed to reproduces the issu all the day today and it looks like a problem appears only with 64 build. Try to check 32 bit build on your side as well. I will keep working on this and let you know result in a couple of days.

smalinowski

  • Guest
Re: WCL Demo - SilentAuth
« Reply #18 on: June 22, 2015, 08:25:36 AM »
I compiled with platform targer x86. I referenced WCL\build\x32\45\wcl.dll Still not works for Toshiba.
I tested chat for two machines with Win8 / baMicrosoft. It works great. Device connected even without pairing.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3504
  • Karma: 1000
    • Wireless Communication Libraries
Re: WCL Demo - SilentAuth
« Reply #19 on: June 22, 2015, 10:18:52 AM »
We have found workaround for this issue and adding it in WCL. The fix will be available soon.

smalinowski

  • Guest
Re: WCL Demo - SilentAuth
« Reply #20 on: June 29, 2015, 09:51:51 PM »
Would you like to tell when this fix is supposed to be available?

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3504
  • Karma: 1000
    • Wireless Communication Libraries
Re: WCL Demo - SilentAuth
« Reply #21 on: June 29, 2015, 10:04:41 PM »
Hello,

Should be in a couple of weeks. It's something with one undocumented function we use to handle Toshiba Auth requests for server side. We use undocumented features because documented API does not provide any metods for server auth.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3504
  • Karma: 1000
    • Wireless Communication Libraries
Re: WCL Demo - SilentAuth
« Reply #22 on: July 03, 2015, 08:49:49 AM »
Hello,

It looks we finally fixed the problem. Please, try this attached version.

[attachment deleted by admin]

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3504
  • Karma: 1000
    • Wireless Communication Libraries
Re: WCL Demo - SilentAuth
« Reply #23 on: July 07, 2015, 01:42:06 PM »
Hello,

One more update fixed AV appears on some systems.

[attachment deleted by admin]

smalinowski

  • Guest
Re: WCL Demo - SilentAuth
« Reply #24 on: July 10, 2015, 03:00:42 PM »
I referenced new wcl.dll to my modified Chat source.

For configuration  Device B (Microsoft stack / Win8) [Client]  --->  [Server]  Device A (Toshiba stack / Win7) 
when I click connect on client Device B then server app on Device A crashes (stops working...). I tried to catch exception on event handlers but It not helps. Propably exception is thrown from diffrent thread... I attached windows error log and mem dump.

[attachment deleted by admin]

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3504
  • Karma: 1000
    • Wireless Communication Libraries
Re: WCL Demo - SilentAuth
« Reply #25 on: July 10, 2015, 03:05:30 PM »
Please download released version (6.14.4) from btframework.com. The A/V has already been fixed in that version.

smalinowski

  • Guest
Re: WCL Demo - SilentAuth
« Reply #26 on: July 13, 2015, 07:34:46 AM »
Yes, it works! :)

smalinowski

  • Guest
Re: WCL Demo - SilentAuth
« Reply #27 on: July 14, 2015, 11:03:35 AM »
If I need features like auto-pairing and server-client communication what licence should I buy? Personal is ok?

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3504
  • Karma: 1000
    • Wireless Communication Libraries
Re: WCL Demo - SilentAuth
« Reply #28 on: July 14, 2015, 12:08:39 PM »
Hello,

If you need server features then you need Developer. If just simple pairing (without server features supporn in WCL) then personal is enough.

smalinowski

  • Guest
Re: WCL Demo - SilentAuth
« Reply #29 on: July 14, 2015, 11:29:45 PM »
It is possible to send data through BT between two devices without server-feature?
If I buy Personal licence it is possible to upgrade to Developer?

 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14