
Signature
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.
Thanks for your help Dick, I wrote a small application as you suggested
and am now now able to receive data strings sent from the Pocket PC to
the laptop.
I got the right input port on the laptop by trial and error, the Pocket
PC lists them under Bluetooth Settings > Services > Serial Port >
Advanced and the Inbound & Outbound COM Ports can be viewed/modified
there. For future reference is there a similar configuration page
somewhere in Windows XP that shows this information or is it dependant
on the driver used, I'm using Version v4.00.36 of the Bluetooth Stack
for Windows by Toshiba on a Portege M200.
Also, is there a way of knowing if this will be supported by the
Bluetooth serial module device that is being targeted, anything I should
look for in the spec? Although good to get it working with the laptop
I'm still not sure if the virtual COM port approach will work for the
Bluetooth serial module or whether I'll need to do something at a higher
level such as set up a service.
Thanks again,
Ben.
> Hi,
>
[quoted text clipped - 11 lines]
>
> Dick
Dick Grier - 23 Mar 2007 18:12 GMT
Hi,
Also, is there a way of knowing if this will be supported by the
Bluetooth serial module device that is being targeted, anything I should
look for in the spec? Although good to get it working with the laptop
I'm still not sure if the virtual COM port approach will work for the
Bluetooth serial module or whether I'll need to do something at a higher
level such as set up a service.
<<
Bluetooth serial devices will work (at least, they should!). Naturally,
there at BT devices that won't (keyboards, mouse, sound devices, network
devices, etc.). I don't think a service would help. The device driver has
to furnish a Virtual Comport. If it does, fine. If it doesn't, then you
have to use some non-serial APIs that are appropriate to that device type.
Dick

Signature
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.