Author Topic: How to use the component  (Read 10695 times)

Offline marko_shock

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: How to use the component
« Reply #15 on: October 27, 2010, 07:53:19 PM »
Please be honest .... I will by WCL for sure :)

Offline marko_shock

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: How to use the component
« Reply #16 on: October 27, 2010, 07:55:14 PM »
And please be honest..... My test APP is working just fine (with MS Stack) and I will bay WCL for sure

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3071
  • Karma: 1000
    • Wireless Communication Libraries
Re: How to use the component
« Reply #17 on: October 27, 2010, 07:57:16 PM »
You can not initiate DUN with wclClient. It is a "miracle" that ComPortCreator creates DUN on MS stack. EACH stack has its own DUN API. EACH of them. As I wrote WCL does not support such things. It is impossible to create/initiate DUN connection with WCL as you wanted.

You can connect to DUN as well but it DOES NOTT give you DUN internet connection.

And once again: it is just a "miracle" that it works with MS. The method you use will never work with any other BT driver as all of them have own DUN API.

It is possible to add such functions into WCL but this is not our main goal for now so it will cost money.

Offline marko_shock

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: How to use the component
« Reply #18 on: October 28, 2010, 05:45:39 PM »
Mike I have tested other stacks and I must admit you was right... MS BT Stack is miracle....

At the moment I am working on cost estimation for my desired APP. I would like to contact you related to this topic but I suppose that public forum is not good place to do so. If you are interesting you can contact me via email in my profile and we can discuss details

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3071
  • Karma: 1000
    • Wireless Communication Libraries
Re: How to use the component
« Reply #19 on: October 28, 2010, 06:47:02 PM »
Thank you.

Please, don't hesitate to contact me directly on mike@btframework.com or PM onthis forum so we can discuss all your needs.

Offline mehis

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: How to use the component
« Reply #20 on: November 16, 2010, 09:34:50 PM »
i have looked demos, but i have not found if it is possible to query serial port number from detected bluetooth device?
It is needed for me because i need to detect bluetooth or usb device  and its serial port with delphi written user application to give it forward to a c++ developed dll what will communicate with detected device.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3071
  • Karma: 1000
    • Wireless Communication Libraries
Re: How to use the component
« Reply #21 on: November 16, 2010, 09:38:00 PM »
There is no way to know serial port number of a bluetooth connection because Bluetooth is wireless connection and has no any serial port. User wclClient instead. However there is TwclVirtualCOMPortCreator which may create virtual port for you but we do not give any warranty that this way will work good for you. Only wclClient with direct Bluetooth connect is the correct way to use WCL with Bluetooth devices. Of course, you can use wclClient with IrDA and phisical serial connection - that is the correct way to.

Offline mehis

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: How to use the component
« Reply #22 on: November 17, 2010, 08:25:08 PM »
So if I have to use dll what only can communicate with device via serial port, then I can not use WCL in delphi applicatoin to detect bluetooth device spp service com port?

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3071
  • Karma: 1000
    • Wireless Communication Libraries
Re: How to use the component
« Reply #23 on: November 17, 2010, 08:37:35 PM »
Sorry? Bluetooth is wireless connection and it has no any COM ports. I do not know who told you about COM ports for Bluetooth but you can fire that guy as he is wrong.

No one Bluetooth device know about any COM ports for any service. Use direct BT connection with wclClient. Of course, if you want to communicate with Serial device (wired one) you can use WCL too.

But do not use COM ports for Bluetooth as Bluetooth knows nothign about COM ports.

If you have third party DLL which uses Serial Port for BT connection (who desiged it? fire them) you may use TwclVirtualCOMPortCreator. But we can not give you any guarantee that iut will work good with all possible confugrations (as it is wrong way). And for threads - you must have Windows Message Loop in your thread to be able to use WCL in thread.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3071
  • Karma: 1000
    • Wireless Communication Libraries
Re: How to use the component
« Reply #24 on: November 17, 2010, 08:40:12 PM »
That's absolutely Ok for stacks other than MS. As mot of them does not support multi connection. So you must disconnect from device to be able to connect to other service/device.

 

Sitemap 1 2 3 4 5 6 7 8 9