G
Guest
Greetings,
I have been experimenting with bluetooth and the windows bluetooth stack and
the Widcomm stack since I am new to the bluetooth world.
I have been working with the wrapper .net class around the windows stack and
around widcomm from João Paulo Figueira. It shows how to enumerate the
devices, and enumerate the services which are found on a device. This
wrapper is very helpfull, and it provides a great wrapper around both
bluetooth stacks.
But now I am stuck at how to connect to a specific service in my case a
serial port service on a device using the window stack.
I am assuming you have to connect to that service from a device, and then
you have access to the serial port. I would then connect to that serial port
once I connect the service.
For example: Device A has a serial port service of com7, so I would connect
my service to it, and then use CreateFile() to connect to the com port. Or
the SerialPort object from .Net.
But I can't seem to figure out how to connect to a specific device's service
on using the windows bluetooth stack?
I am using the mobile 2003 device and my development is in visual studio 2005.
Thanks in advance for any suggestions!
I have been experimenting with bluetooth and the windows bluetooth stack and
the Widcomm stack since I am new to the bluetooth world.
I have been working with the wrapper .net class around the windows stack and
around widcomm from João Paulo Figueira. It shows how to enumerate the
devices, and enumerate the services which are found on a device. This
wrapper is very helpfull, and it provides a great wrapper around both
bluetooth stacks.
But now I am stuck at how to connect to a specific service in my case a
serial port service on a device using the window stack.
I am assuming you have to connect to that service from a device, and then
you have access to the serial port. I would then connect to that serial port
once I connect the service.
For example: Device A has a serial port service of com7, so I would connect
my service to it, and then use CreateFile() to connect to the com port. Or
the SerialPort object from .Net.
But I can't seem to figure out how to connect to a specific device's service
on using the windows bluetooth stack?
I am using the mobile 2003 device and my development is in visual studio 2005.
Thanks in advance for any suggestions!