Please support me to enable the Bluetooth on Windows Mobile Emulator

38 views
Skip to first unread message

Nguyen Dai Son

unread,
Apr 28, 2010, 12:33:06 AM4/28/10
to bthmsd...@googlegroups.com

Dear Bthmsdevemul,

 

If My computer have no real Bluetooth device. Then can I imitate the Bluetooth device on Windows Mobile Emulator ?

 

Please help me.

 

Thanks & Best regards,

 

 

--
You received this message because you are subscribed to the Google Groups "bthmsdevemul" group.
To post to this group, send email to bthmsd...@googlegroups.com.
To unsubscribe from this group, send email to bthmsdevemul...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bthmsdevemul?hl=en.

Sandu Buraga

unread,
Apr 28, 2010, 1:46:13 AM4/28/10
to bthmsd...@googlegroups.com
Hi Nguyen,

This project allows Windows CE/Mobile emulator launched from Visual Studio to access host's Bluetooth USB dongle. If no real Bluetooth USB dongle is attached to your host computer this project is useless.

Therefore you could emulate a Bluetooth device but not with this project. You should read the following articles:

http://blogs.msdn.com/cenet/archive/2005/08/18/453150.aspx

http://msdn.microsoft.com/en-us/library/ms881004

http://www.codeproject.com/KB/windows/bth_serial_port.aspx

In particular the last link is an example of a guy who did it and wrote his experience on codeproject.com

The whole idea is that on the top of Microsoft's Bluetooth stack there is a COM port and is explained in detail on the Microsoft links I gave you. You could create a virtual COM port which should act like a physical Bluetooth device and on top of this Virtual COM you link Microsoft's Bluetooth library like in this example:

HANDLE h = RegisterDevice (L"COM", index, L"btd.dll", (DWORD)&pp);

where the COM port is the virtual COM port you just created.

Sandu

P.S. Hope my email was helpful enough for you. Now sincerly I think that Dimitry did a great job and an Bluetooth USB dongle is not a great financial deal and I would recommend his approach because you can really test your application.
--
+40 (740) 472669 - Orange     - mobile
+40 (771) 765679 - Digi.mobil - mobile
+40 (332) 469679 - Digi.tel     - fix home
Reply all
Reply to author
Forward
0 new messages