Hi,

Is there a way to detect whether an (external USB) gps device is in use
(avtive)?

Re: detecting GPS by Mike

Mike
Mon Oct 23 03:58:22 CDT 2006

Only way I could think of is to open the device and try to get data from
it - if you get some, you can then decode the data and check whether it has
a position fix. You can also look in the registry and enumerate the various
device drivers to get information on how the various ports are configured.

I didn't think it was possible to connect a USB GPS device to a pocket PC
because they are both USB 'slave' devices - I might be wrong on that, it has
happened before.

Mike.

"Lisa Pearlson" <no@spam.plz> wrote in message
news:eh5ss5J9GHA.4632@TK2MSFTNGP02.phx.gbl...
> Hi,
>
> Is there a way to detect whether an (external USB) gps device is in use
> (avtive)?
>
>



Re: detecting GPS by ctacke/>

ctacke/>
Mon Oct 23 09:05:32 CDT 2006

> I didn't think it was possible to connect a USB GPS device to a pocket PC
> because they are both USB 'slave' devices - I might be wrong on that, it
> has happened before.

You're not wrong. PPC devices with USB Host are very rare indeed, and it
would be a requirement to use a USB GPS device.


--
Chris Tacke
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--




Re: detecting GPS by Mike

Mike
Mon Oct 23 17:15:38 CDT 2006

<ctacke/> wrote:
>> I didn't think it was possible to connect a USB GPS device to a
>> pocket PC because they are both USB 'slave' devices - I might be
>> wrong on that, it has happened before.
>
> You're not wrong. PPC devices with USB Host are very rare indeed,
> and it would be a requirement to use a USB GPS device.

I don't know about rare, but my Pocket Loox N500 calims to have USB host.
The problem is getting hold of a cable that brings out the pin-outs to the
proper USB plug...

Mike.
--




Re: detecting GPS by Dick

Dick
Tue Oct 24 11:22:47 CDT 2006

Hi,

The real problem with devices that provide USB host hardware is the device
driver for the specific client. A device driver would have to be compiled
to target an ARM (based) processor, and would be furnished by the client
device manufacturer. I have not seen any such drivers for devices that I
might want to use (such as GPS receivers). The device driver that
manufacturers do furnish is targeted to a PC host, not PPC.

Dick

--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.



Re: detecting GPS by John

John
Thu Oct 26 19:51:21 CDT 2006

Dick's experience has been mine also. When I worked on GPSID, I managed to
scrounge up one USB/GPS device, but I couldn't get the drivers ever to work
so I couldn't get it working on its own, much less via GPSID.

--
John Spaith
Development Lead, Windows CE
Microsoft Corporation

Check out the CE Networking Team Blog at http://blogs.msdn.com/cenet/.

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2006 Microsoft Corporation. All rights
reserved.

"Dick Grier" <dick_grierNOSPAM@.msn.com> wrote in message
news:OW8Lci49GHA.4708@TK2MSFTNGP05.phx.gbl...
> Hi,
>
> The real problem with devices that provide USB host hardware is the device
> driver for the specific client. A device driver would have to be compiled
> to target an ARM (based) processor, and would be furnished by the client
> device manufacturer. I have not seen any such drivers for devices that I
> might want to use (such as GPS receivers). The device driver that
> manufacturers do furnish is targeted to a PC host, not PPC.
>
> Dick
>
> --
> Richard Grier, MVP
> Hard & Software
> Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
> Edition,
> ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
> 2006.
> See www.hardandsoftware.net for details and contact information.
>