yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] cybermaus:
I modified the MyGPS sample program(bottom of page) that rpettipher found and changed it to also display the flAltitudeWRTEllipsoid field. And I removed the only calculation in there so it is back to Metric/Meters.

And at my geographic position it all works as I would expect. And with 46M separation the values are clear:

In that other post rpettipher found, this guys complains the 2nd one is wrong and it should be the absolute altitude toward Ellipsoid. But this never how I understood that field. It is the altitude of the Geoid above the Ellipsoid just like the NMEA specification of field 11. So I think that guy just had the wrong expectation.

So if at your locations you confirm this, then it is very simple to shift these values straight into fields 9 and 11, with the only modification being a trim to a 1 decimal string.

Please find attached the MyGPS/GPSSample program. It is the M variant you need to run to get it with the extra value and in meters.
[Windows Mobile Apps and Games] rpettipher:
cybermaus, sorry, you are right about the heights, I think I was confusing height of ellipsoid with height above ellipsoid (and I looked at it several times).

flAltitudeWRTEllipsoid is indeed the geoid separation, but my point was that it is very badly named, and the response by John Spaith (the author of GPSID -is he still around?) seems to indicate that he recognises it is badly named but cannot do anything about it, to maintain compatibility.

Interesting - so why are the results different? Is there some hidden option somewhere that tells the chip to output valid NMEA as opposed to invalid NMEA, or is it just a bug?
[Windows Mobile Apps and Games] rpettipher:
I have just tried running the modified GpsSample program (thanks for that) and now I am completely confused.

It is giving me

Above Sea level 516

Geoid to Ellipsoid 566

which is not at all what I expected.

Are we running the same program?

Any chance of fixing the null reference crash which occurs (I think) when it loses the fix?
[Windows Mobile Apps and Games] cybermaus:
:eek:

Anyway, we are filling up this thread. I suggest we move the altitude correction discussion back here Please join us Mach2003.
[Windows Mobile Apps and Games] Mach2003:
Ok, I'll join you guys there, and still look at what can be done here to "correct" the altitude displayed by msapi port.
[Windows Mobile Apps and Games] gsmdb:
Same setup as in 2.10 but in both 2.30 and 2.40 I experience the gps signal drop in TT7 periodically. I wonder why ?

- All std. parameters except little changes in driving profile in Distance Moved; Zero Speed Time
[Windows Mobile Apps and Games] Mach2003:
About how often does it drop?

1) try increasing ComTimeouts (1000 was the old default)

2) try enabling MsApi
[Windows Mobile Apps and Games] gsmdb:
Strange! Fresh installation of 2.40 the std. comtimeout is only 100 so where 1000 as default?

Enabling MsApi get it worst on Diamond.
[Windows Mobile Apps and Games] Mach2003:
"worst" is that worse, ie: more often?

The old standard was 1000, the newer cabs have it as 100.

ComTimeOut should not affect msapi.

My Diamond likes the default settings in the CAB, what ROM do you have installed?

Try the setting Internal GPS values back to HTC defaults: Sleep Time = 1000, Poll Rate = 1000. Soft reset for these changes to update.
[Windows Mobile Apps and Games] gsmdb:
Typo error! As described almost setups are default (only minor changes in driving profile in Distance Moved,Zero Speed Time). Never use MsApi since I get lags very readable both in 2.10 and newer with enabled MsApi with TT7
[Windows Mobile Apps and Games] [kab]:
very nice description from MS:

http://msdn.microsoft.com/en-us/library/bb202071(v=MSDN.10).aspx

"InterfaceType : REG_SZ

Type of data provided by the input source. Can be "COMM", "File", or "Poll".

Input sources of type COMM usually access physical GPS hardware.

Input sources of type Poll retrieve information from GPS hardware, without using NMEA strings."

http://msdn.microsoft.com/en-us/library/bb202077(v=MSDN.10).aspx

"PollInterval : REG_DWORD

Default setting is 1000 milliseconds.

Minimum amount of time, in milliseconds, that the GPS Intermediate Driver waits between calls it makes that use the IOCTL_GPS_DRIVER_GET_LOCATION_V1 and IOCTL_GPS_DRIVER_GET_LOCATION_V2 IOCTLs."
[Windows Mobile Apps and Games] [kab]:
Mach2003

can i ask you a favor?

include in next build of GpsMod feature "do not touch internal gps settings", which is mean did not change anything in HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver ?

because my Acer S200 did not have some keys and i think, that default values are better, than anything we write to those settings (like buffersize, for example).

thanks!
[Windows Mobile Apps and Games] Mach2003:
Ok, but is your Acer using POLL or COMM, all the values I write are supposed to be there according to M$ for POLL devices. The defaults are Poll 1000, Sleep 1000, Both buffers at 4096.
[Windows Mobile Apps and Games] [kab]:
acer have COMM-iface type, but it's better anyway did not modify (by default) and leave this option to user.

or, make present - default (for acer default poll is 500 and default sleep is 1000) and suggested (50/100).
[Windows Mobile Apps and Games] gsmdb:
On track again. Earlier erratic gps receiving causes by none std. values on GPS Intermediate Driver. Set them back to std. GpsModDriver works perfectly again w. TT7
[Windows Mobile Apps and Games] omek07:
Mach2003

I have a problem ...

I have problems with delay. I mean that takes too long to understand the program that I move.
[Windows Mobile Apps and Games] [kab]:
also, i have another request. to add (by tap on screen) switching between real data come from COM2 and real (raw) data incoming from (MS API or source port or anything).
[Windows Mobile Apps and Games] Mach2003:
No Can Do, ModSettings does not control the port read by mod driver. Mod driver has no pass through funtion (it can't send raw data to its output port). I could actually do all this, but too much work for just a diplay. Use another application to read the raw port.
[Windows Mobile Apps and Games] [kab]:
ok, thanks anyway!
[Windows Mobile Apps and Games] docaso123:
I have problem with compass calibration. Phone doesn't detect landscape mode. I rotate it with AE button plus application (mapped OK key to rotate). GpsMod go to landscape, but when select compass from menu, portrait checkbox is still active.

I have Omnia 2 with 6.5.3 wimo. Before 6.5 and gpsmod 2.1 with no portrait\landscape problem.
[Windows Mobile Apps and Games] [kab]:
another problem - port speed.

mine acer have very buggy gps-receiver.

so, changing port speed to anything above 4800 baud cause to loose fix periodically.

so, when settings (under control panel-gps) is set to 4800 - everything fine, when above - bad. :-)

what speed i have to install to read from COM2 (GpsMod)?

4800 or 57600 or no matter?

and what speed will use GpdMod when read raw data?

thanks again!
[Windows Mobile Apps and Games] Mach2003:
ModDriver is reading your gravity sensor, not your screen orientation. Samsung has a new SDK released, you might need to install it. I have it but can't upload it from here, now.

You can open ModDriver (COM2) at the fastest possible rate with no affect on the speed that MSGPSID talks to your hardware COM port. ModDriver will open the MS Software Port (or use msapi), without changing baud rate, on this virtual port, baud is ignored by the OS anyway.

Summary: Only the external GPS control panel Hardware Baud rate has to match your physical device.
[Windows Mobile Apps and Games] abuttino:
I have to disable the port then reenable it to get GPSModDriver on soft-reset to start finding sats. Is there an easy fix for this?

More Info:

After a soft-reset, I only have the default screen of GPSMod about the profile and no sats found on the earth view/compass view. I have to disable the port (Com2) and save it, then exit the GPSModSetup program, then restart it, and enable the port and I get the full sat readings.

I am going to run thru as many posts as I can tonight to see if anyone else has had this problem, but 120 pages is a lot.

BTW, Using it on an omnia 2 SCH-i920.

Edit: Problem solved, had to just install it to the main memory instead of the "My Storage" I guess the driver isn't loaded at the same time or before the com ports are.
[Windows Mobile Apps and Games] Mach2003:
Ah, thanks for the reply, but others are running XT directly from the card, you, like me, are not. I need the reg from those who run XT directly from the card.
[Windows Mobile Apps and Games] agh1701:
I did not know it could be run from the card. I might experiment with this. I will also try to lock with another program.

Thanks:)
[Windows Mobile Apps and Games] SOHKis:
I'm running garmin from my card.

there's no garmin listed at all in that location, i'm searching the reg now for any instance of queppc.exe...

*queppc.exe nowhere to be found in the registry
[Windows Mobile Apps and Games] Crescendo Xenomorph:
Hi Mach2003, I just managed to borrow my cousin's computer.

I'll check the new QueStub and report it to you.

And here's the CelesTrak link and NORAD's TLE data as well as the retriever.

Here, you need to create login here to access those NORAD data, it's free (I have one, mine) ~ http://www.space-track.org/perl/login.pl

And here's the link for the program to retrieve that TLE data. The login from above will be used for this program. ~ http://www.celestrak.com/SpaceTrack/TLERetriever.zip

And this is the explanation how to use it ~ http://www.celestrak.com/SpaceTrack/TLERetrieverHelp.asp

Hope that you can use that data to enable A-GPS in non-A-GPS device. Those data is far more acurate than QuickGPS' Ephemeris file. Those data are from NORAD itself, updated every 3 days, valid untill 5 days.
[Windows Mobile Apps and Games] Mach2003:
When Garmin is properly installed, not just copied to the card, and run:

- You can import GPX files from \Garmin\GPX\Current.gpx

- You can use GarminCommunicator plugin

- The Contacts features in XT work (you can GoTo a contact from the contacts menu in WinMo)

- Find on the Phone, includes Garmin waypoints in search

- More Features???

By Default there is a file "Garmin Mobile XT.exe" in the root of the card that is the "autorun" installer, run it to install Garmin correctly. I am not sure what actual file(s) are run from this exe, but if someone wants to install properly, and does not have this file, let me know, and I'll check it out.
[Windows Mobile Apps and Games] SOHKis:
i can do that, i just leave it on the card since i flash so frequently. i can install it w/the auto-install but generlly when i do i get denied access to the server

*when installing that way i do get the 2 reg entries:

hklm\software\garmin\que Files: "\garmin\que.exe"

hlkm\software\garmin\que QuePath: "\garmin\que.exe"
[Windows Mobile Apps and Games] Mach2003:
@SOHKis, and then you can use existing QueStub too :), along with all the other features of XT.
[Windows Mobile Apps and Games] SOHKis:
i'll give it a try, but i think that i will still be blocked from the server. time will tell.

thanks for the rapid responses, development, and support man!
[Windows Mobile Apps and Games] Mach2003:
Here is the solution for you guys that want to run Xt from the card, or anywhere else when that reg does not exist.

Just CREATE the reg key [HKLM\Software\Garmin\Que]

QuePath REG_SZ {path to your QuePPC.EXE} (\Internal Storage\Garmin\Apps\WM\QuePPC.exe, for example)

And use the NEW QueStub.exe attached here, and in the original post.

You will have to install the Stub as QuePPC.exe and rename the original one to Old.exe still.
[Windows Mobile Apps and Games] SOHKis:
i like the look of that solution! i'll cook that into my kitchen, thanks as always man!
[Windows Mobile Apps and Games] sandervanzijl:
I think i managed this.

I went into my gps settings in tomtom. changed the device to another wired gps. used the given baud rate setting and then selected the "Gps Mod Driver" . the com 6 port was not available to select. is this correct?

edit: I upgraded to version 0.8. still no com 6 selection possible. I get "gps mod driver" , com 4 and com 7. during installation of the driver, i got the message to use com 6. I selected the gps mod driver, and i am getting a signal. very fast and inside the house.

So i would still like an accurate tutorial on how to install this with tom tom, what values work best with tom tom etc. maybe other users can share their experiences?
[Windows Mobile Apps and Games] Crescendo Xenomorph:
This one is working perfectly!! Thanks Mach2003.. :D

And here's the SatCE link. It's freeware, but the strange thing is: it ask for serial number which is provided in it's internet site. Its not warez and the link I provide here is the official link for SatCE.

http://www.nerdipedia.com/tiki-index.php?page=SatCE
[Windows Mobile Apps and Games] p50kombi:
Took it out for long testdrive..

Out and about on the road today.

Stopping to post this feedback for you..

Using 0.8 and working like it should.

Managed to get old versions uninstalled before installing this one using SKTools.

Working like it should, I never had any real lag, so my lagadvance is only set to 500 which gives me almost spot on result.

I am using TomTom.

Only thing I noticed and which is kind of annoying is that my speed in TomTom seems to be all over the place within a bandwidth of about 8 km/h.

What I mean is, I'm driving on the motorway with cruise control on 113 km/h (70 mph...I live in England but drive a Dutch car :) )

My sppedo in the car is spot on and I am cruising without any increase or decrease of speed.

TomTom using internal GPS (normal touch pro setting) shows speed stable at 112 with just a little lag but consistent.

When I switch to other gps using your gps mod, lag is gone and TomTom gives me correct position, however it looks very "jittery"

Speed jumps from 108 to 11, then to 116 back to 113 to 108 again...

Is there any way you can "soften" the input somehow or dampen it?

I use the Speedo to keep track of if I'm speeding (very useful for me since I don't have MPH indication on my car, yet drive it in England) and TomTom has this need feature that it warns you when you're speeding.

Hope I am making sense.

App works like a treat, it just feels jittery in TomTom..

Would be marvellous if it is less jumpy on the speed.

Or should I alter one of the reg values..If so, can you point me to which one to play with?

Thanks.

Btw. Don't know if other users of TomTom or other software recognise this behaviour?

If so, maybe you can post your findings and\or possible solution :)

Looks like this could be a very good addition in getting fast and accurate GPS lock.

I am very impressed :)
[Windows Mobile Apps and Games] Mach2003:
Great, glad it works for you.

The speed "jitter" can not be adjusted in the existing reg entries.

I can look at filtering (averaging) the values over a longer time than the current 1 second.
[Windows Mobile Apps and Games] p50kombi:
That might do it.

Evening the results out perhaps unless speed increase or decrease reaches a certain value.

Looking forward to testing it :)
[Windows Mobile Apps and Games] oruam57:
Thanks for your answer.

Setting DeltaDistance to 300 cured the "spin" effect.

I also noticed a somewhat "jittery" position and speed but only at very low speed. Maybe lag compensation should only start above a speed threshold, after all even a 3 seconds lag at 5 Kph produces just a 4 meters position error.
[Windows Mobile Apps and Games] Mach2003:
Please help me understand the spped difference you are seeing. GPS updates are 1 per second. When traveling at a fixed speed, let's say 100 kph, do you see 100,90,110,100 (boucing on each side of true speed) or 100,90,80,120,110 (staying low for a few readings, followed by high ones).

I would try a smaller DDistance, the 30 meters was the main reason I started this project in the first palce. When turning from a stop sign or walking, it would take half a block before it would respond, of course you still have the DSpeed working for you.

Gps readings come once each second, I compare the current reading with the previous one, to get distance moved, and direction of movement. Speed is calcualted by comaring distance moved to GPSTime between teh two readings. Now Lag is applied:

Distance = ActualDistance*LagAdvance/GpsTime.

Very short distances moved applied to any time factor will still result in your indicated position, well, close to you. Course is not re-calculated after Lag is applied.

Speed will not change, and I am not intentionnaly recalcualting it after Lag is applied, But I might have introduced a bug in reported speed, I'll look into it.
[Windows Mobile Apps and Games] Mach2003:
Version 0.9 on first post.

Does not have anything to do with speed changed, yet.
[Windows Mobile Apps and Games] yo3gjc:
On v0.8 for tomtom the speed displayed is very unconsistent, e/g on cruise control if I keep the speed at 120km/h the speed displayes by tomtom is jumping anywhare from 104km/h to 130km/h.
[Windows Mobile Apps and Games] oruam57:
At 25 meters I still had occasional "flips" (most annoying because TomTom starts a route recomputing). Using GPS2Clipboard (http://xdaforums.com/showthread.php?t=378255) I observed the "cloud" of successive GPS positions and they are quite random and occasionally wide spreaded. Therefore, the "flip" effect is to be expected.

Maybe the GPS receiver/software of Diamond2 is different from the one in Diamond but in my GPS usage (mostly during car driving) I was not annoyed by speed/course freezing.

On the other hand I suffered from lag, expecially driving in urban centers with short distances between intersections.
[Windows Mobile Apps and Games] docaso123:
I download new Samsung SDK and it's working perfectly! Thank you. Good job!!!
[Windows Mobile Apps and Games] omek07:
CAN you please upload here the new sdk please ???

Thankssssssss
[Windows Mobile Apps and Games] Mach2003:
In post two: smi_wm_pro_sdk_redist_2_2_0.cab is the full installer cab from Samsung.
[Windows Mobile Apps and Games] cybermaus:
Hi Mach2003

do you (or anyone) have a copy of SirfTech V2.23

It is supposed to have an update to drive Sirf through GPSID, but the latest I can find anywhere is V2.20

And the authors page seems to be devoid of downloads.

Thanks
[Windows Mobile Apps and Games] abuttino:
I have noticed in Tomtom, when it is only using cellular, it won't hold the lock until the sats are found, it'll drop the lock about 5 seconds in.
[Windows Mobile Apps and Games] Mach2003:
If you also have a GPS port enabled, as is normally the case, Cell Tower gets used for up to 10 seconds or until the GPS port gets a fix. So if after 10 seconds, you still don't have fix, Mod Driver will send teh un-fixed GPS data to your application (TT).

If you have no GPS ports enabled, Cell tower is used forever.
[Windows Mobile Apps and Games] abuttino:
Well, obvoiusly, that's not the case.

It'll use it for that 10 secs and drop the fix in tomtom.

I've noticed this in the GUI as well, it'll use the CellTower and then start using the 'GPSMod MSApi' after sometimes only a few seconds.

Should I disable the API that's on COM1 to fix this?

UPDATE: Tried to disable the API on COM1, that only found the cell tower.
[Windows Mobile Apps and Games] Mach2003:
Actually there must be a problem with the SamsungSDK DLL not being available at boot time when ModDriver is installed to 'My Storage'. Add another reason to the long list of why I say NEVER install to the card, unless you absolutly have to.
[Windows Mobile Apps and Games] Mach2003:
Sorry, I don't fully understand your issue.

Can you enable logging and enhanced, and then run ModSettings for about 30 seconds (while the issue is present), and then send me a copy of the logfiles from device's \Mach2003 folder (get my email address from the donate button in my siggy).
[Windows Mobile Apps and Games] abuttino:
What I am trying to demonstrate is that the GPSMod driver will dump the cell fix after nearly 5 seconds and leave tomtom waiting for satellites instead. Also, mylocation has not been downloading anything from the towers, I have the logging on for that and it has shown 0 data received or transmitted.

I'll have a log for you tomorrow, but wanted to help you understand what's going on.

EDIT: I figured out why mylocation isn't doing anything, I have CDMA...
[Windows Mobile Apps and Games] Mach2003:
OH now it makes sense, no need for the log file. If MyLocation is not functioning, I can't get cell tower data from it, and go back to waiting on the GPS alone.

Funny thing just happened at XDA, between when I hit quote, and I got the window open to reply, you posted your edit, and it magically appeared in the edit window!

So now just un-install MyLocation, and ModDriver will go back to GPS only mode.
[Windows Mobile Apps and Games] abuttino:
Well, since GPSModdriver updates the data for mylocation, I'll keep it. Just in case my phone is ever stolen, I'll get it within a few miles..
[Windows Mobile Apps and Games] Mach2003:
myLocation would have the position from the last valid fixed GPS connection. In the case of a stolen phone, that could be 1000's of miles away, if the thief never opened a GPS application.
[Windows Mobile Apps and Games] abuttino:
I said within a "few" miles... lol

Thanks for your help though!

My question is why is it getting a reading from the celltower on GPSMod if it really isn't? Or is "CellTower" a reading from myLocation
[Windows Mobile Apps and Games] Mach2003:
"Cell Tower" is a reading from myLocation, You are getting that reading until your internal port starts recieving time and date. Once it has time and date, it knows that the data in myLocation is "old" (or in your case non-existant).

I'll update the next release so that it won't use Cell tower unless it is valid, even if the GPS data is invalid at the time to aviod confusion. As it is (and at the time), neither one of them are any good to anyone.
[Windows Mobile Apps and Games] abuttino:
Since google maps can communicate with the towers, would you suggest I use that to get first fix when it's difficult to get a fix on the GPSMod port or the Actual GPS port?

What was the setting to leave the speedometer alone?
[Windows Mobile Apps and Games] TITAN-23:
GPS staying on

Hi,

Thanks for your GPSMod. I am using a Kaiser and I have noticed that sometimes when I exit Garmin the GPS lights on my Kaiser keep flashing until I shutdown the phone. I have no GPS apps open but it appears my GPS is still active. Is there a way to turn it off?
[Windows Mobile Apps and Games] Mach2003:
GPS stays active for the "setting" keep alive seconds, then it shuts off. If you want instant off, set keep alive to 0.
[Windows Mobile Apps and Games] dingolino:
There is a new setting in V2.40

System

"GpsModDriver"

"KeepAlive" 15000 (=15s)

This is a delay to switch off reading from the gps port after an application has closed. So if you are using gpsmoddriver within an application and closing this application than gpsmoddriver will continou for this time (default = 15000) to read the gps data from this port.

The reason for that is that you can switch between applications and get a gps fix imediatly.

You can check it and set this value to 0 and see whether this is working for you.

Otherwise it maybe a problem dedicated to your device and you need Mach2003 to have a look at it.

Best regards,

dingolino
[Windows Mobile Apps and Games] drtek:
Thank You!

Wow, I am deeply impressed of how this makes the SiRF III GPS built in my Asus A686 really good for geocaching. Thank you Mach2003 - you rule!
[Windows Mobile Apps and Games] Mach2003:
Does anyone, besides me, have a shortcut to GpsModSettings on the titanium home screen (Utility) ?

I did a test build today where the second line of the entry shows "Driving - GpsMod MsApi" for example, and changes as needed for quick referemce to the current mode of ModDriver.

Any interest in this feature out there?
[Windows Mobile Apps and Games] Reignzone:
Very nice.

I truly enjoy this.

You've done some mighty fine work here sir.

Well done.