Author Topic: Receiving bluetooth with WCL  (Read 8418 times)

Offline Emran

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
Re: Receiving bluetooth with WCL
« Reply #15 on: February 05, 2013, 08:38:20 AM »
in code part 2 in last 4 line i call wclServer.Listen();
i know this problem is not in my code or WCL component, it may be with our system, our device, or our device driver.
but why some time i receive fine, very good but some time no! and also i say that i test with 4-5 PC the same issue will occur.
how can i find this problem, why i have this problem in other PCs.
some time if i turn off device and again turn on it work...
some time if i restart PC it will work...
some time if i turn off device and also restart PC it will not work but an hour it will work!!!
i restart "bthserv" service but nothing corrected...
if i can restart bluetooth device in startup my application, my be it work!!?!?! can i restart bluetooth device with WCL?

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3444
  • Karma: 1000
    • Wireless Communication Libraries
Re: Receiving bluetooth with WCL
« Reply #16 on: February 05, 2013, 08:44:49 AM »
I will check it out today and back to you with my result. May be found some workaround. We have faced such issue long time ago with old dongles but never seen same with modern dongles. Any way, i'll be in touch.

Offline Emran

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
Re: Receiving bluetooth with WCL
« Reply #17 on: February 05, 2013, 09:08:56 AM »
thank you

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3444
  • Karma: 1000
    • Wireless Communication Libraries
Re: Receiving bluetooth with WCL
« Reply #18 on: February 06, 2013, 01:03:28 PM »
Hello,

We did few tests and could reproduce the problem few times with 2 old dongles. We are keep working on this to try to resolve the problem. I'll be in touch.

Offline Emran

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
Re: Receiving bluetooth with WCL
« Reply #19 on: February 07, 2013, 02:15:32 PM »
thank you may be it will correct if try resolve problem with old dongle, but i dont think my dongle is old, i dont know?!?! for example my Laptop released date is 2008, and it can 30 wclServer instance and each instance call Listen with out any problem and error, but i will happy if resolve this problem with old dongle.

Offline Emran

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
Re: Receiving bluetooth with WCL
« Reply #20 on: February 10, 2013, 02:42:44 PM »
Hello
What happened?
when do you release new version of wcl that corrected with old dongle?
i am waiting, i need it....

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3444
  • Karma: 1000
    • Wireless Communication Libraries
Re: Receiving bluetooth with WCL
« Reply #21 on: February 11, 2013, 06:41:01 AM »
Hello,

As I alreaqdy told it is not WCL bug but we are looking on possible workaround. If we can we will fix it and I let you know.

Offline Emran

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
Re: Receiving bluetooth with WCL
« Reply #22 on: February 12, 2013, 08:55:01 AM »
hello,
may be my problem is this :
my application always discover (discover time 5sec and time between each discover 15 sec) if user device try to connect in discover time (only in 5sec) device connecting is failed!!!
i write blow code on wclServer.OnConnected
Code: [Select]
      if (wclBluetoothDiscovery.Active) {
          wclBluetoothDiscovery.Terminate();
      }
some time device can connect while in discovering state and OnConnected will occor, but some time device cannot connect faild to connecting...
i dont know, but i think if wclServer have OnConnecting this problem will solve, what do yo think?
thank you.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3444
  • Karma: 1000
    • Wireless Communication Libraries
Re: Receiving bluetooth with WCL
« Reply #23 on: February 12, 2013, 09:20:59 AM »
Hello,

Connect operation is exclusive (from both sides) so it is impossible to do any other operations whle connection is established (it is by Bluetooth Specification). So when your dongle discovers devices no one device can connect (and dongle can't connect to other device).

 

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