bluetooth on emulator

R

ramik.iitk

is there any way to run a bluetooth application on an emulator for
testing purposes...

i couldnt get thru to any new posts on this topic...

i am workin in VS 2005 and hav d latest SDKs installed... at present m
trying to build a link b/w 2 emulators working on two separate laptops
having serial port bluetooth connection...

TIA
Ramik Sadana
 
P

Peter Foot [MVP]

You can map a serial port on the host PC to a COM port on the Emulator, but
you can't emulate Bluetooth, you'll need a real device with a Bluetooth
radio to do that.

Peter
 
R

Ramik Sadana

Thanx

also.. if i hav a real device... do i hav to also put down a code to
open up the bluetooth ports?? (both in d device and d PC)... cos i dint
find nethng lik dat in the video that Anil Dhawan had explained it
in... not also present in the class library(Bluetooth Device) available
at MSDN...

TIA
 
P

Peter Foot [MVP]

Anil's code relies on you setting the COM ports up manually on the device.
You can use the BluetoothSerialPort class in this library
(http://32feet.net) to automate that process, although finding a spare COM
port identifier on some devices is tricky. If possible and you are
developing for devices with the Microsoft Bluetooth stack you'll find it
easier to use Sockets approach directly rather than Virtual COM ports. The
samples with the library referenced above show how to use this
functionality - e.g. BluetoothClient class.

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top