Search found 11 matches

Go to advanced search

by rexmont
Mon Mar 16, 2009 1:43 pm
Forum: BlueTools
Topic: Read Large Data From Device
Replies: 3
Views: 2681

RE: Read Large Data From Device

Thank you for the answer,

I was using 25 byte-long buffers before, then I have changed it to 64 byte-long ones.

Have you got some other ideas about the issue? May BT Stack version can cause that? O something else??

Regards,

Uygar.
by rexmont
Mon Mar 16, 2009 1:23 pm
Forum: BlueTools
Topic: Read Large Data From Device
Replies: 3
Views: 2681

Read Large Data From Device

Hi,

I am reading ~200k data from a device by many asynchronous calls. Sometimes I get defective data. I mean, little part of the data is faulty. I am using 64 byte-long buffer to read callback results.

How can I prevent this issue?

Regards,

Uygar.
by rexmont
Thu Feb 12, 2009 1:30 pm
Forum: BlueTools
Topic: Which dongles actually run?
Replies: 13
Views: 6991

RE: Which dongles actually run?

I am using "Belkin F8T012". It is using Widcomm stack and it is class 1.
by rexmont
Mon Jan 26, 2009 6:09 pm
Forum: BlueTools
Topic: Calling currentService.Stream repeatedly
Replies: 3
Views: 2867

RE: Calling currentService.Stream repeatedly

Jonas thanks, let me explain, I initially call "WCB2Global" function. Then it calls "writecallback2" and I read the response from "readcallback2" function. I look into data (exactly some bytes of data) and if, for example, it is 0x61 I do something, then after doing something I call "WCB2Global" one...
by rexmont
Mon Jan 26, 2009 2:09 pm
Forum: BlueTools
Topic: Calling currentService.Stream repeatedly
Replies: 3
Views: 2867

Calling currentService.Stream repeatedly

Hello, In my app, I have to call that line repeatedly: currentStream = currentService.Stream; It takes almost 800 msec to evaluate that line and I'm calling the "writeCallBack" many times, so my app's speed drops down. How can I speed up the process? I have tried to define a global stream variable a...
by rexmont
Tue Jan 13, 2009 5:50 pm
Forum: BlueTools
Topic: FindAndConnect Sample
Replies: 6
Views: 3666

RE: FindAndConnect Sample

Thank you Jonas,

I figured it out now. This sample works as a charm! For my device, first you should turn on Bluetooth mode by sending some bytes. I did not know that. And then write again and get the information from the device.

Have a nice day,
by rexmont
Tue Jan 13, 2009 5:29 pm
Forum: BlueTools
Topic: FindAndConnect Sample
Replies: 6
Views: 3666

RE: FindAndConnect Sample

Jonas, actually I want to know is if there is an logical error in my code.

Thank you.
by rexmont
Tue Jan 13, 2009 5:17 pm
Forum: BlueTools
Topic: FindAndConnect Sample
Replies: 6
Views: 3666

RE: FindAndConnect Sample

Hi Jonas,

I have the following line in my "Write" button event handler;

currentStream = currentService.Stream;

I think this connects to device by reading its stream, right?

Thank you.
by rexmont
Tue Jan 13, 2009 4:58 pm
Forum: BlueTools
Topic: FindAndConnect Sample
Replies: 6
Views: 3666

FindAndConnect Sample

Hi again, That's where I stuck now; On FindAndConnect sample: 1 - I removed service listbox's event handler. Now when I click service listbox there is no action at all. 2 - I have added a "Write" button. Here's button's event function: if (currentService != null) { currentStream.Close(); currentServ...
by rexmont
Mon Jan 12, 2009 8:52 pm
Forum: BlueTools
Topic: Simple Send & Receive Question
Replies: 2
Views: 2176

RE: Simple Send & Receive Question

Thanks for the reply,
by rexmont
Mon Jan 12, 2009 5:14 pm
Forum: BlueTools
Topic: Simple Send & Receive Question
Replies: 2
Views: 2176

Simple Send & Receive Question

Hello all, I have an electronic device which can communicate with PC via bluetooth. I put a button on FindAndConnect sample, a "Write and Read Response" button and this button's function is below. I discover devices, discover services. When I press that button, data written successfully but when I t...

Go to advanced search