Author Topic: Hardware Flow Control  (Read 3653 times)

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • Karma: 1000
    • Wireless Communication Library
Re: Hardware Flow Control
« Reply #15 on: October 08, 2008, 12:10:43 PM »
Good day!

However, you have mixed up different things. WCL does not use com ports to communicate with bluetooth enabled devices. WCL does not create any virtual or real com (serial) ports to communicated over bluetooth and irda. It uses native methods provided by drivers.

For your device - set WriteBuffer to 4 bytes.
WCL - Wireless Communication Library
TextBlue - Bluetooth Proximity Marketing Software
WCL Phone Explorer - Free Phone Content Manager

Ben

  • Guest
Re: Hardware Flow Control
« Reply #16 on: October 10, 2008, 03:06:46 AM »
Hi  Mike,

Still having problems.  :(

I've tried a bunch of stuff to slow down the transmission, but the device is still dropping data.

What I want to do now is programmatically assign the device to a COM port.
Code: [Select]
               Device.Pair(Radio, "password");
               wclBluetoothServices services = Device.EnumServices(Radio, Guid.Empty);
               wclBluetoothComCreator cc = new wclBluetoothComCreator();
               byte b = cc.Open(Radio.API, Address, services[0].Channel, services[0].UUID);
The "Pair" and the EnumServices work and return a valid wclBluetoothService for the one service the device implements. But when I call Open on the wclBluetoothComCreator it throws an exception: "Unable initialize connection to remote device"

Any ideas?

Thanks,
Ben

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • Karma: 1000
    • Wireless Communication Library
Re: Hardware Flow Control
« Reply #17 on: October 10, 2008, 04:58:59 AM »
Can you contact me online by MSN or ICQ? It would be better and faster to solve the problem then.
WCL - Wireless Communication Library
TextBlue - Bluetooth Proximity Marketing Software
WCL Phone Explorer - Free Phone Content Manager

Ben

  • Guest
Re: Hardware Flow Control
« Reply #18 on: October 10, 2008, 06:29:28 PM »
Hi Mike,

MSN and ICQ are blocked (Messenger won't even install). I sent an e-mail to your MSN e-mail address.

Thanks,
Ben

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • Karma: 1000
    • Wireless Communication Library
Re: Hardware Flow Control
« Reply #19 on: October 10, 2008, 06:43:44 PM »
Thanks, I'll check your e-mail.
WCL - Wireless Communication Library
TextBlue - Bluetooth Proximity Marketing Software
WCL Phone Explorer - Free Phone Content Manager