Search found 2319 matches

Go to advanced search

by Jonas
Fri Mar 17, 2006 7:45 pm
Forum: BlueTools
Topic: Send file via bluetooth.
Replies: 5
Views: 3266

RE: Send file via bluetooth.

1. If you mean accepting the actual connection (to a cell phone for example) you'll know that the device accepted when you receive the actual Stream. Otherwise getting the stream will throw an exception. 2. If you want to send one file to each device and want to identify each successful send seperat...
by Jonas
Thu Mar 16, 2006 8:38 pm
Forum: BlueTools
Topic: Send file via bluetooth.
Replies: 5
Views: 3266

RE: Send file via bluetooth.

1. No, the only thing that is available on PutFileEnd is the Stream that is used to retrieve the bytes being sent. 2. It's because you are adding the event handler several times. Either remove the event handlers on ServiceDiscoveryCompleted or don't add the event handlers more than once :) Regards, ...
by Jonas
Thu Mar 16, 2006 6:15 pm
Forum: BlueTools
Topic: OnRead event for future versions?
Replies: 6
Views: 3160

RE: OnRead event for future versions?

Could you not just clear the byte array before reading the new data with Array.Clear(..)?


Regards,
Jonas
Franson Support
by Jonas
Thu Mar 16, 2006 12:52 pm
Forum: GpsTools
Topic: How to calibrate a shapefile?!
Replies: 3
Views: 2259

RE: How to calibrate a shapefile?!

I've looked at the things you sent me, and my first guess is that you are using an invalid shapefile. I suggest you begin with using a real map to test this with, preferably a map you know the coordinate system of :)


Regards,
Jonas
Franson Support
by Jonas
Thu Mar 16, 2006 11:07 am
Forum: BlueTools
Topic: Problem with the GetFileAsync() Method
Replies: 1
Views: 2278

RE: Problem with the GetFileAsync() Method

You are closing the FileStream right after calling GetFileAsync. Remember that asynchronous methods returns right after they are called and are executed in their own thread. A better way to do it is to call both fw.Close() and fb.DisconnectAsync() from the event handler of fb.GetFileEnd which is cal...
by Jonas
Wed Mar 15, 2006 9:00 pm
Forum: GpsTools
Topic: How to calibrate a shapefile?!
Replies: 3
Views: 2259

RE: How to calibrate a shapefile?!

I don't quite follow what you are trying to do.
Could you contact me off forum, so we can try to work this out?


Regards,
Jonas
Franson Support
by Jonas
Tue Mar 14, 2006 3:31 pm
Forum: BlueTools
Topic: Timeout
Replies: 19
Views: 7480

RE: Timeout

Afraid not, we are planning a release of minor bug fixes for the Obex component but AFAIK there is no ETA on the ConnectionTimeout property at the moment.


Regards,
Jonas
Franson Support
by Jonas
Tue Mar 14, 2006 3:17 pm
Forum: BlueTools
Topic: Timeout
Replies: 19
Views: 7480

RE: Timeout

You should be able to put the connection request in a thread. Remember though that involving threads is a tricky business. Make sure you know exactly what you want to unfold in the main thread and your connection thread and marshal your events according to that. Also make sure you invoke all interfa...
by Jonas
Tue Mar 14, 2006 2:53 pm
Forum: BlueTools
Topic: Timeout
Replies: 19
Views: 7480

RE: Timeout

Okay, I think the problem (for you both probably) is that you do not accept the connection. I didn't realize you did not press okay on the phone. If you don't acknowledge the request you do not connect to the Obex service on the phone and thus setting the timeout on ObexObjectPush doesn't make any d...
by Jonas
Tue Mar 14, 2006 2:43 pm
Forum: BlueTools
Topic: Timeout
Replies: 19
Views: 7480

RE: Timeout

A timeout is returned in the error event handler with the ErrorCode set to ErrorCode.Timeout. See if you get one of those.

Regards,
Jonas
Franson Support
by Jonas
Tue Mar 14, 2006 2:15 pm
Forum: BlueTools
Topic: Timeout
Replies: 19
Views: 7480

RE: Timeout

You are still not answering me whether you are actually getting an Obex timeout or not. * Have you set an Error event handler for the Object Push component? * Do you receive any exception after five seconds (as you have set the timeout value to)? * Do you receive any exception after 30 seconds (when...
by Jonas
Tue Mar 14, 2006 2:10 pm
Forum: BlueTools
Topic: Concurrent devices connected clarification
Replies: 16
Views: 6942

RE: Concurrent devices connected clarification

Bonding is part of the Bluetooth protocol and are used as a form of security as I am sure you aware. See it as a form of lock with a key. The door won't open until you have turned the key. The service won't be accessible until the bonding has been completed.


Regards,
Jonas
Franson Support
by Jonas
Tue Mar 14, 2006 12:36 pm
Forum: BlueTools
Topic: Concurrent devices connected clarification
Replies: 16
Views: 6942

RE: Concurrent devices connected clarification

It depends on the device, but most devices require you to bond the device before allowing access to Obex services.


Regards,
Jonas
Franson Support
by Jonas
Tue Mar 14, 2006 12:07 pm
Forum: BlueTools
Topic: Service
Replies: 1
Views: 2028

RE: Service

If you are writing both sides of the program yourself you should be able to use any ServiceType you'd like. You will get a ServiceStream which can send bytes in all cases. Use a ServiceType that is appropriate for your application. Look at the SimpleService sample on how to set up your own services....
by Jonas
Tue Mar 14, 2006 9:51 am
Forum: BlueTools
Topic: Setting up the project...?
Replies: 1
Views: 1974

RE: Setting up the project...?

Look at .NET Distribution: http://www.franson.com/bluetools/guide.asp?section=NetDistribution&platform=net

You need to distribute the actual DLL-files that communicates with your Bluetooth stack. (depending on Microsoft stack or Widcomm stack)

Regards,
Jonas
Franson Support

Go to advanced search