Page 1 of 2

Failed to load bluetooth driver (iPAQ 2210)

Posted: Tue Apr 04, 2006 4:30 am
by oliver
I'm experiencing this exception while executing Manager.GetManager()
on a PDA (iPaq h2210). I m using Bluetools SDK v1.1
Can some help me finding a solution to the problem??

I was copy the BlueTools.dll, BlueToolsMS.dll,BlueToolsWC.dll and
BlueToolsWC150.dll in the correctly directory "\Windows" (iPAQ2210).

thanks in advance for any help! :)

Sory for my english but I talk spanish

Bye

RE: Failed to load bluetooth driver (iPAQ 2210)

Posted: Tue Apr 04, 2006 11:03 am
by Jonas
What exception are you receiving when executing Manager.GetManager()?

Also, where did you get files BlueTools.dll, BlueToolsMS.dll, BlueToolsWC.dll and BlueToolsWC150.dll?

It is important to remember that different platforms use different DLLs. That's why it's recommended to use the installers for your platform to make sure the correct files are installed. An iPAQ H2210 should make use of the ARM-version of the files. The installer should then be called "BlueTools.arm.CAB".


Regards,
Jonas
Franson Support

RE: Failed to load bluetooth driver (iPAQ 2210)

Posted: Tue Apr 04, 2006 7:08 pm
by oliver
Hi Jonas!!! This is my problem (Sory for my english and thanks again.)

- What exception are you receiving when executing Manager.GetManager()?
* The exception is: Failed to load bluetooth driver!

- Also, where did you get files BlueTools.dll, BlueToolsMS.dll, BlueToolsWC.dll and BlueToolsWC150.dll?
* I have got them from (http://franson.com/bluetools/download.asp?file=BlueToolsSDK.zip&platform=net). I download the file BlueToolsSDK.zip (v 1.1)
I read the instructions (How to install) so I copy the especified dlls in the directory \Windows of my device (iPAQ 2210)

- It is important to remember that different platforms use different DLLs. That's why it's recommended to use the installers for your platform to make sure the correct files are installed. An iPAQ H2210 should make use of the ARM-version of the files. The installer should then be called "BlueTools.arm.CAB".

* Where can I download "BlueTools.arm.CAB"?
*Give me the correct links for downloads please (dlls and necesary files)

Note: I use Windows Mobile 2003 for Pocket PC in my device

RE: Failed to load bluetooth driver (iPAQ 2210)

Posted: Tue Apr 04, 2006 7:13 pm
by Jonas
The BlueTools.arm.CAB file is located (if you installed at "C:\Program Files\Franson") in this folder:

C:\Program Files\Franson\BlueTools SDK v1.1\dotNetCF

Copy that file to your Pocket PC and run it. This will ensure that you are using the correct set of DLLs.

I could also point out that a correct size of BlueTools.dll should be 147 kb for your device. Compare that size with the size reported by the File Explorer on your Pocket PC.

Regards,
Jonas
Franson Support

RE: Failed to load bluetooth driver (iPAQ 2210)

Posted: Wed Apr 05, 2006 1:16 am
by oliver
This is my first aplication with Pocket Pc

I find the BlueTools.arm.CAB file.

where I must copy it(what Directory? \Windows? in my Pocket PC)

How I run (and install) it.

Thanks again

RE: Failed to load bluetooth driver (iPAQ 2210)

Posted: Wed Apr 05, 2006 1:49 am
by oliver
I copy the cab file into \windows in my PPC and execute if from the device.

Now I see the BlueTools directory into the Program Files directory, but there are not files in this folder (BlueTools). I can t see the dlls.

I run again the example ObexFTPClient for c# but it raise the same exeption. error: Failed to load bluetooth driver!

RE: Failed to load bluetooth driver (iPAQ 2210)

Posted: Wed Apr 05, 2006 12:04 pm
by Jonas
The installer should not create any BlueTools directory in Program Files on Pocket PC. That folder must've been created by something else, perhaps by Visual Studio when you deployed?

Some things you can still check:

* Have you checked the file size of the DLL-files in your Windows directory (on the Pocket PC?)

* Is Bluetooth enabled on your Pocket PC?

* Can you use any Bluetooth services available by the Pocket PC? Can you for example send a file with Obex? Or if you have Bluetooth on your desktop computer, can you connect from the desktop to the Pocket PC?

Regards,
Jonas
Franson Support

RE: Failed to load bluetooth driver (iPAQ 2210)

Posted: Thu Apr 06, 2006 12:50 am
by oliver
I copy the cab file (BlueTools.arm.CAB) into \windows in my PPC and execute it from the device but I cant see any dll of bluetooth in \Windows. So I can not check the file size of this DLL-files in my Windows directory (on the Pocket PC)

The Bluetooth is enabled in my Pocket PC and

I can you use any Bluetooth services available by the Pocket PC.
I can connect from the desktop to the Pocket PC.

RE: Failed to load bluetooth driver (iPAQ 2210)

Posted: Thu Apr 06, 2006 11:09 am
by Jonas
Can you see any DLL-files at all on your Pocket PC?

You said before that you copied them manually to the Pocket PC from your desktop computer. Where did you get those files from? The correct ones can be found (if installed in the same place as before):

"C:\Program Files\Franson\BlueTools SDK v1.1\dotNetCF\wince420\arm"

The four files in that directory is what is needed. If it doesn't work if you copy them to the Windows directory, also try to copy them to your application folder and see if it makes any difference.

Do you get the same error if you run the application from Visual Studio in the debugger, as if you run it straight from the Pocket PC?


Regards,
Jonas
Franson Support

RE: Failed to load bluetooth driver (iPAQ 2210)

Posted: Thu Apr 06, 2006 6:57 pm
by oliver
- Yes, I can see the other dlls in my Pocket PC.

- I copy the four files (dlls) from
"C:\Program Files\Franson\BlueTools SDK v1.1\dotNetCF\wince420\arm"
to \Windows (in the Pocket PC) but it doesn't work.

- More later I will try to copy them to the application folder.

- Yes, I see the same error if I run the application from Visual Studio in the debugger.

Note: I run the cab file in my Pocket Pc, then it install Franson (I can see Franson in: configuration->control Panel->Add or Remove Programs) so I think its correctly installed. But I can not find the four (correct files) dlls.

Thanks again.

RE: Failed to load bluetooth driver (iPAQ 2210)

Posted: Thu Apr 06, 2006 7:02 pm
by Jonas
But if you copy the four files to the Windows directory AND you can see other DLL-files it must be something really wrong? How can you even be sure they are copied if you don't see them appear in the Windows directory? [?]

Regards,
Jonas
Franson Support

RE: Failed to load bluetooth driver (iPAQ 2210)

Posted: Fri Apr 07, 2006 12:57 am
by oliver
When I copy the dll from "C:\Archivos de programa\Franson\BlueTools SDK v1.1\dotNetCF\" to \Windows (Pocket Pc)I can see them, but the example "ObexFTPClient" do not work. So I delete this four dll (BlueTools.dll 147 kb, BlueToolsMS.dll ...).

After delete the dlls in \windows (PPC) I run the cab file in my device then this install Franson but I can not see the dlls in \Windows

Very tanks for your help!!!

RE: Failed to load bluetooth driver (iPAQ 2210)

Posted: Fri Apr 07, 2006 10:23 am
by Jonas
Try copying these six DLLs to your sample directory on the Pocket PC.

BlueTools.dll, BlueToolsMS.dll, BlueToolsWC.dll, BlueToolsWC150.dll, Franson.BlueTools.dll and Franson.Protocols.Obex.dll.


Regards,
Jonas
Franson Support

RE: Failed to load bluetooth driver (iPAQ 2210)

Posted: Mon Apr 10, 2006 4:30 pm
by oliver
I try to copy the six files a few days later but nothing happend. I dont Know wath happend. If you have any solution for the problem please send it.

I try with all but nothing.

Thanks.

Note: My Blutooth is working ok. I can copy files from my Pc to the device and from my device to the Pc.

Bye.

RE: Failed to load bluetooth driver (iPAQ 2210)

Posted: Mon Apr 10, 2006 5:25 pm
by Jonas
It still must be an issue of the files not being in the correct place. I have an iPaq H2210 here at work and it works perfectly with BlueTools and the Obex sample.

Have you tried any of the other samples that comes with BlueTools? Also non-Obex related samples? If you could share exactly what files you have in your application directory that could be helpful as well.

I assume you have tried to hard-reset the Pocket PC too?

Regards,
Jonas
Franson Support