Author Topic: Name of virtual com port  (Read 1991 times)

Offline dlkhoa

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Name of virtual com port
« on: November 15, 2006, 05:26:33 AM »
Hi Mike,

I run the VC SerialPortClient demo of your framework, it run and make virtual com connection to another device.

My question is: Is there any way to get the name of the virtual com port (COM8 ?, COM9 ?...)

Thanks & Best regards

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • Karma: 1000
    • Wireless Communication Library
Re: Name of virtual com port
« Reply #1 on: November 15, 2006, 01:38:40 PM »
Yes. It is possible. But you should use BFBluetoothCOMPOrtCreator. Samples will be uloaded today. When it will done I post message here.
WCL - Wireless Communication Library
TextBlue - Bluetooth Proximity Marketing Software
WCL Phone Explorer - Free Phone Content Manager

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • Karma: 1000
    • Wireless Communication Library
Re: Name of virtual com port
« Reply #2 on: November 15, 2006, 05:45:52 PM »
Samples uploaded. You can download it from http://www.btframework.com/download.htm
WCL - Wireless Communication Library
TextBlue - Bluetooth Proximity Marketing Software
WCL Phone Explorer - Free Phone Content Manager

Offline dlkhoa

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Name of virtual com port
« Reply #3 on: November 15, 2006, 08:48:39 PM »
Mike,

Thanks for your help.

Your demo run only once, and the next times, it always stops with the error Service not exists. But I do believe that we can obtain the COM port by the COMNumber of BFBluetoothCOMPortCreatorX.

I would like to ask you one more question: In case of vice versa, when remote bluetooth device connect to the PC in serial way (the PC is master), with your activex, is there any way to get the COM number? The EnumCOMPorts method of BFBluetoothDiscoveryX activex can do that?

Thx & rgds

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • Karma: 1000
    • Wireless Communication Library
Re: Name of virtual com port
« Reply #4 on: November 15, 2006, 10:38:08 PM »
Yes. It is a little problem in ActiveX version of BTF. I will fix it tonight and then upload fixed. This is only ActiveX version error (threading model).
WCL - Wireless Communication Library
TextBlue - Bluetooth Proximity Marketing Software
WCL Phone Explorer - Free Phone Content Manager

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • Karma: 1000
    • Wireless Communication Library
Re: Name of virtual com port
« Reply #5 on: November 16, 2006, 08:25:31 AM »
OK. All errors in BluetoothCOMPortCreator fixed. You can download it by following links:
http://www.btframework.com/files/demo/bfxfree.zip (ActiveX)
or
http://www.btframework.com/files/demo/bffree.zip (VCL).

If you have questions how to use it you can contact me over MSN (mike@btframework.com) or ICQ (190-812-766).
WCL - Wireless Communication Library
TextBlue - Bluetooth Proximity Marketing Software
WCL Phone Explorer - Free Phone Content Manager