gps bluetooth connection with pda

Satellite navigation systems.

gps bluetooth connection with pda

Postby Paul » Mon Oct 24, 2005 11:08 am

Hello,

I have a bluetooth gps receiver (BT-GPS) and try to connect via
bluetooth to a Asus MyPal PocketPc.
In theory this should be simple since the .net compact framework
provides classes for infrared communication.
In practice there seems to be a bug in the method
IrDAClient.DiscoverDevices. Also a workaround using GetSocketOption (
described in the workgroup
microsoft.public.dotnet.framework.compactframework) does not work with
my test.

I can imagine someone of this usergroup tried a bluetooth connection
between a bluetooth gps receiver and a pocketpc, so : how should I
proceed to make such a connection ? Is there somewhere code available I
can use ? Does anyone know how a connection can be made using stuff of
the .net compact framework ?

A reply I received in the compactframework group, noticed that there
are several protocol stacks, depending on the vendor of the pocket pc.
It looks frightening to me that there is no standardisation.

Is there someone who can give me a solution to my problem, because I am
stuck ?
Thanks for any help,

Paul
Paul
 

Re: gps bluetooth connection with pda

Postby Darren Griffin - PocketGP » Mon Oct 24, 2005 11:08 am

Paul wrote:
Hello,

I have a bluetooth gps receiver (BT-GPS) and try to connect via
bluetooth to a Asus MyPal PocketPc.
In theory this should be simple since the .net compact framework
provides classes for infrared communication.
In practice there seems to be a bug in the method
IrDAClient.DiscoverDevices. Also a workaround using GetSocketOption (
described in the workgroup
microsoft.public.dotnet.framework.compactframework) does not work with
my test.

I can imagine someone of this usergroup tried a bluetooth connection
between a bluetooth gps receiver and a pocketpc, so : how should I
proceed to make such a connection ? Is there somewhere code available
I can use ? Does anyone know how a connection can be made using stuff
of the .net compact framework ?

A reply I received in the compactframework group, noticed that there
are several protocol stacks, depending on the vendor of the pocket pc.
It looks frightening to me that there is no standardisation.

Is there someone who can give me a solution to my problem, because I
am stuck ?
Thanks for any help,

Paul

Well as it's not an IrDA client you'll need to discover it using the
Bluetooth Discovery service.

--
Darren Griffin
PocketGPSWorld - www.PocketGPSWorld.com
The Premier GPS Resource for News, Reviews and Forums
Creators of the free UK Safety Camera POI
Darren Griffin - PocketGP
 

Re: gps bluetooth connection with pda

Postby Guest » Mon Oct 24, 2005 11:08 am

You seem to be makng it more complicated than it should be.

Most BT equiped PDA should be able to connect a BT GPS quite easily
without worrying compact framework or those sort of things.

Just pair/connect them and configure your software to use the correct
BT com port.
Guest
 

Re: gps bluetooth connection with pda

Postby René » Mon Oct 24, 2005 5:37 pm

Paul <paul_masquelier@hotmail.com> wrote:
I have a bluetooth gps receiver (BT-GPS) and try to connect via
bluetooth to a Asus MyPal PocketPc.

You're making this far too complex.
Turn on BT receiver, turn BT on your PDA, use the BT manager on your
PDA to connect the two devices.
René
 

Re: gps bluetooth connection with pda

Postby Paul » Tue Oct 25, 2005 8:27 am

Thanks for the replies, but I need to connect and communicate from
within a software program I write myself, so I think the last two
replies are not applicable to my situation, but thanks anyway.

Paul
Paul
 

Re: gps bluetooth connection with pda

Postby Helge Olav Helgesen » Tue Oct 25, 2005 9:49 am

On Mon, 24 Oct 2005 13:55:30 +0200, Paul <paul_masquelier@hotmail.com>
wrote:

I have a bluetooth gps receiver (BT-GPS) and try to connect via
bluetooth to a Asus MyPal PocketPc.
In theory this should be simple since the .net compact framework
provides classes for infrared communication.

I think you're on the wrong track. Most (if not all) bluetooth devices
connects as a serial device. So you need to open COM4 (or whatever it is
assigned) instead of the infrared socket.

Or am I missing something?
Helge Olav Helgesen
 

Re: gps bluetooth connection with pda

Postby Dominic Sexton » Tue Oct 25, 2005 4:23 pm

In article <1130228859.569516.294750@g14g2000cwa.googlegroups.com>, Paul
<paul_masquelier@hotmail.com> writes
Thanks for the replies, but I need to connect and communicate from
within a software program I write myself, so I think the last two
replies are not applicable to my situation, but thanks anyway.


There is some info on MSDN

http://msdn.microsoft.com/

Search for bluetooth in MSDN library.

--

Dominic Sexton
Dominic Sexton
 

Re: gps bluetooth connection with pda

Postby Dale Brisket » Wed Oct 26, 2005 3:08 am

"Paul" <paul_masquelier@hotmail.com> wrote in message
news:1130228859.569516.294750@g14g2000cwa.googlegroups.com...
Thanks for the replies, but I need to connect and communicate from
within a software program I write myself, so I think the last two
replies are not applicable to my situation, but thanks anyway.

Paul


I (and several others here) am pretty sure you are off track. Bluetooth has
nothing to do with IR; it uses serial communications and radio waves.
Perhaps a better understanding of the differences between the two is in
order?
Dale Brisket
 

Re: gps bluetooth connection with pda

Postby Guest » Wed Oct 26, 2005 11:08 am

Paul,
The Singapore guys are really into PDA connections. They write there
own mapsource maps and utlities. Can't remember the URL but search on
PDA and Singapore, Mapsource should get you there
STeve L.
Guest
 


Return to Satellite Navigation System

Who is online

Users browsing this forum: No registered users and 0 guests

cron