Author Topic: data send/receive via bluetooth  (Read 3468 times)

Offline abw

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
data send/receive via bluetooth
« on: July 17, 2010, 02:26:48 PM »
Hi Mike,

I have a problem with sending/receiving data. I have an external bluetooth device which listens to commands (like write this, give me that, version, etc.) If I send bytes wia bluetooth from WCL API it sends it without any problem. But if I would like to get it back (with a command) I got no data back. The device is tested, if I connect to it with a 3rd party product and create a com port for it, sending and getting the data goes without any problem. (I know that wcl does not use com ports I just wanted to reflect that the device listener is ok) Sending data is 70 byte (answer is 1 byte, as OK) getting request is 5 byte and the result buffer should be 65 byte. Do you have any idea or any setting I need to set to receive 'longer' data-set ?

thnx &
-mfg-
abw

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3055
  • Karma: 1000
    • Soft Service Company
Re: data send/receive via bluetooth
« Reply #1 on: July 17, 2010, 02:28:49 PM »
Hi,

What is BT driver you use, How do you send and read data? Are you sure that send valid packed?

 

Sitemap 1 2 3 4 5 6 7 8 9