Search found 2319 matches

Go to advanced search

by Jonas
Mon Nov 23, 2009 7:54 pm
Forum: BlueTools
Topic: What is the best way to detect data ready?
Replies: 6
Views: 4388

RE: What is the best way to detect data ready?

I don't think it's a time-limit, more likely it just reads as much data as it can find in the Stream when the thread runs.

Regards,
Jonas
by Jonas
Fri Nov 20, 2009 11:22 am
Forum: BlueTools
Topic: How to detect that ServiceStream is opened?
Replies: 2
Views: 2970

RE: How to detect that ServiceStream is opened?

You test it by attempting to grab the Stream, and catch the exception if necessary.

Regards,
Jonas
by Jonas
Fri Nov 20, 2009 11:21 am
Forum: BlueTools
Topic: What is the best way to detect data ready?
Replies: 6
Views: 4388

RE: What is the best way to detect data ready?

No, an asynchronous read callback is not guaranteed to return 2x15 bytes. It might just as well return 1x19 and then 1x11 bytes on the next run.

Regards,
Jonas
by Jonas
Tue Nov 17, 2009 4:40 pm
Forum: BlueTools
Topic: What is the best way to detect data ready?
Replies: 6
Views: 4388

RE: What is the best way to detect data ready?

It's up to the underlying protocol to determine when the read is "finished". For a Stream it's no difference between 1x30 bytes compared to 2x15 bytes. The 15th byte of the first 15 bytes should be followed by an END byte of some sort. It's in the application layer.

Regards,
Jonas
by Jonas
Mon Nov 16, 2009 7:31 pm
Forum: BlueTools
Topic: How To Cancel Async Read?
Replies: 6
Views: 5181

RE: How To Cancel Async Read?

Ah, in that case you have to use synchronous read.

Regards,
Jonas
by Jonas
Mon Nov 16, 2009 4:29 pm
Forum: BlueTools
Topic: How To Cancel Async Read?
Replies: 6
Views: 5181

RE: How To Cancel Async Read?

Answer timeout? What does that imply?

Regards,
Jonas
by Jonas
Fri Nov 06, 2009 1:48 pm
Forum: BlueTools
Topic: How To Cancel Async Read?
Replies: 6
Views: 5181

RE: How To Cancel Async Read?

You cannot cancel an async read but in reality you shouldn't have to either.
If you send data again, the "old" read is still valid for your "new" write (response).

Regards,
Jonas
by Jonas
Tue Nov 03, 2009 8:04 pm
Forum: BlueTools
Topic: Bluetools widcomm power off
Replies: 2
Views: 2851

RE: Bluetools widcomm power off

You want to change RadioStatus. But power off is not possible for Widcomm.
http://www.franson.com/bluetools/docs/Franson.BlueTools.RadioStatus.html

Regards,
Jonas
by Jonas
Tue Nov 03, 2009 8:01 pm
Forum: BlueTools
Topic: Reconnect to device &service without rediscovery
Replies: 1
Views: 2402

RE: Reconnect to device &service without rediscovery

Yes, that is possible. Look at the ObexFTPClient sample. I think it does something similar.

Regards,
Jonas
by Jonas
Mon Nov 02, 2009 4:27 pm
Forum: BlueTools
Topic: Franson - BlueTools.dll not installed
Replies: 2
Views: 3006

RE: Franson - BlueTools.dll not installed

Make sure you have deployed BlueTools.dll in the same directory as your application.

Regards,
Jonas
by Jonas
Thu Oct 29, 2009 12:55 pm
Forum: BlueTools
Topic: Bluetools not working on Windows 7. Dll issue
Replies: 3
Views: 3317

RE: Bluetools not working on Windows 7. Dll issue

No it doesn't work in 64-bit, but in any case. You only add Franson.BlueTools.dll to Visual Studio. BlueTools.dll should not be added as it contains the core whereas Franson.BlueTools.dll is merely a wrapper.

Regards,
Jonas
by Jonas
Wed Oct 28, 2009 7:17 pm
Forum: BlueTools
Topic: Bluetools not working on Windows 7. Dll issue
Replies: 3
Views: 3317

RE: Bluetools not working on Windows 7. Dll issue

You shouldn't register the BlueTools DLL, it should just be accessible by the .NET application (preferably the same folder)

Regards,
Jonas
by Jonas
Tue Sep 22, 2009 2:56 pm
Forum: BlueTools
Topic: Phone Dialer
Replies: 2
Views: 5952

RE: Phone Dialer

Some of these might work if you learn how to process AT-commands to operate the phone, but BlueTools do not support audio connections so you will not be able to make #3.

Regards,
Jonas
by Jonas
Mon Sep 21, 2009 7:32 pm
Forum: BlueTools
Topic: WPF Browser Application
Replies: 1
Views: 2691

RE: WPF Browser Application

Your browser settings doesn't allow loading DLLs maybe?

Regards,
Jonas
by Jonas
Mon Sep 14, 2009 11:25 am
Forum: BlueTools
Topic: Lost cabs reference installed after reset device
Replies: 4
Views: 4333

RE: Lost cabs reference installed after reset device

I don't understand the problem ;)
Is the problem that it says that BlueTools is already installed? That seems to be some quirk of Windows Mobile, I see the same thing in other projects I've worked with.

Regards,
Jonas

Go to advanced search