Using C# bluetooth API on windows mobile device

757 views Asked by At

I want to work with bluetooth in a C# application. I do not want to use third party components. I want to talk with official Microsoft API in direct.

What i want to do is just power on/off bluetooth, scan for available devices, pairing/unpairing devices.

I have read some threads talking about a dll called bthutil.dll but i do not have this dll on my device. It is a psion workabout.

Why this dll is not on my device ? Where can i download this dll (official package) ?

Is there some alternatives to bthutil.dll, without having to install a third party component ?

The control panel contains official software that are able to configure, so i suppose my devices already contains official API somewhere...

Thanks

1

There are 1 answers

2
Carsten Hansen On

BthUtil.dll is part of Windows CE/Mobile, but Psion would have to explicitly include the dll in the OS image (by setting the appropriate SYSGEN variable at build time).

My hunch is that either Psion decided to omit BthUtil.dll, perhaps to save space, or that the Psion devices are using a proprietary Bluetooth stack. In the latter case your best bet would be to check if an SDK is available from Psion, and if so, examine the documentation and/or sample code to determine how to manage the Bluetooth features.