Connect
(1)
Check
(1)
Brox
(1)
Mentionend
(1)
Windows
(1)
Anyware
(1)
Century
(1)
Respons
(1)

Connect_på_GPS_in_HTC_HD2

Asked By Brofalad
07-Jan-10 01:40 PM
Hi,
I have problem to get my GPS-application to work with HTC HD2 and
windows mobile 6.5. I have tried every comport with no success. Am I
missing something?  It worked OK on my WM6.1 device. I do not know if
WM 6.5 is the problem or the HTC HD2 device.
Any hints appreciated.
/Brofalad

Brofalad skrev:Why are you working directly on the COM port and not on the

Bjørn_Brox replied to Brofalad
07-Jan-10 11:18 AM
Brofalad skrev:

Why are you working directly on the COM port and not on the managed
interface?

If you insist on work on a com port remember to check your GPS setting
for a virtual com-port, if it is enabled and which port it is.

You should in any case only use the virtual com-port since it allows
multiple processes to access it.

--
Bj?rn Brox

_Connect_på_GPS_in_HTC_HD2

Brofalad replied to Bjørn_Brox
07-Jan-10 08:42 PM
No, I am working on the GPS Intermediate Driver. But I cannot get it to
work. I have tested all comport to find the hardware port to enter in
the GPSID GUI with no success.

And I haven=92t found what hardware comport HTC HD2 are using anyware on
the net yet.

As mentionend, my program is working with WM6.1 on a other devices.

/Brofalad

Brofalad skrev:Some time since I programmed a HTC, but there was a system

Bjørn_Brox replied to Brofalad
07-Jan-10 06:22 PM
Brofalad skrev:
Some time since I programmed a HTC, but there was a system setting for
hardware and virtual COM port.

Anyhow, - check out http://www.htcwiki.com/

--
Bj?rn Brox
_Connect_på_GPS_in_HTC_HD2
Brofalad replied to Bjørn_Brox
08-Jan-10 11:00 AM
Yes,

Probably getting the right system settings f=F6r the HTC HD2 accorning
to hardware port will solve the problem.

But how? it is not mentions in the HTC HD2 User Manual.

/Brofalad
Brofalad skrev:GPS setting regarding the virtual com port is a default part of
Bjørn_Brox replied to Brofalad
08-Jan-10 04:15 AM
Brofalad skrev:
GPS setting regarding the virtual com port is a default part of Windows
Mobile and not HTC specific.

--
Bj?rn Brox
Bj?
Bjørn_Brox replied to Bjørn_Brox
08-Jan-10 04:19 AM
And again: Since this is a multi-process OS you should not access
hardware ports directly but use the virtual COM port for reading GPS.

The hardware port is probably already occupied by the OS or some other
process, or you will block them.

--
Bj?rn Brox
_Connect_på_GPS_in_HTC_HD2
Brofalad replied to Bjørn_Brox
08-Jan-10 11:00 AM
Thanks for your respons

Do you mean I should be able to access the GPS Intermediate Driver,
without setting the hardware port in the GPS ID GUI?

I am the looking for the problem at the wrong place?

/Brofalad.
Brofalad skrev:Depends on how the HTC have implemented their hardware driver,
Bjørn_Brox replied to Brofalad
08-Jan-10 06:03 AM
Brofalad skrev:
Depends on how the HTC have implemented their hardware driver, - it
might not be a hardware port at all.

In any case you should use the virtual com port, but personally I would
access it on an even higher level and using the Windows Mobile API.

You find examples of that in your Windows Mobile Pro SDK examples folder.

Polling a hardware COM port was something you did in the last century in
the early windows OS'es. Today you can just instruct the API to send you
events.

--
Bj?rn Brox
_Connect_på_GPS_in_HTC_HD2
Thore Berntsen replied to Bjørn_Brox
25-Jan-10 05:34 AM
I think that there is a problem with the GPS driver on HRC Touch HD2. I have
seen that described on the xda-developer site, I think it takes some time
for the GPS driver to start up.

Check out http://www.xda-developers.com/

Thore
Post Question To EggHeadCafe