|
Cellular forums Home > Archive > GPS > October 2005 > gps bluetooth connection with pda
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
gps bluetooth connection with pda
|
|
|
| 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
| |
| Darren Griffin - PocketGPSWorld.Com 2005-10-24, 5:48 pm |
| 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
| |
| pcmobile99@yahoo.com 2005-10-24, 5:48 pm |
| 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.
| |
|
| Paul < paul_masquelier@hotm
ail.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.
| |
|
| 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
| |
| Helge Olav Helgesen 2005-10-25, 5:48 pm |
| On Mon, 24 Oct 2005 13:55:30 +0200, Paul < paul_masquelier@hotm
ail.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?
| |
| Dominic Sexton 2005-10-25, 5:48 pm |
| In article <1130228859.569516.294750@g14g2000cwa.googlegroups.com>, Paul
< paul_masquelier@hotm
ail.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
| |
| Dale Brisket 2005-10-26, 2:48 am |
|
"Paul" < paul_masquelier@hotm
ail.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?
| |
| stevelischynsky@solectron.com 2005-10-26, 5:48 pm |
|
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.
|
|
|
|
|