Bluetooth GPS

C

Chris Oswald

I have a GPS program I wrote with the help of OpenNetCF's GPS library,
which is great by the way.

The only gripe I have (Not with OpenNetCF) is every time I turn on the
GPS unit and try to connect, it asks me if I want to add the device to
my Bluetooth device list, then prompts me for my passkey, then I have
to go and setup the outgoing port. This is just annoying to do
everytime I want to connect to the device. Is there any way to
automate this?

I'm sure there isn't a way through managed code, but is there a way to
accomplish this through native code? I dug through MSDN and couldn't
find anything.

Thanks,
Chris
 
G

Guest

Why don't you just add it to the bluetooth profile list, so then next time
you connect, you will not have to key in the passkey?

Simon.
 
C

Chris Oswald

It's in my bluetooth device list. There is no place to enter a passkey
there. It has a place for the device name and whether it connects to a
serial port Maybe you are seeing something I'm not.

Actually, this time when I setup the outgoing port I didn't mark it as
secure it didn't prompt me for the passkey. So that may solve that
issue. But back to my original question, is there a way to
programatically setup an outgoing port or add a device to my bluetooth
device list?

I'm using WM5 PPC.
 
G

Guest

I was about to suggest that, turn off authentication. But I don't know any
way of programmically doing it as I have never done it.

Try looking at the bluetooth classes that are available with OpenNETCF SDF.

Simon.
 

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