yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] mk2007:
Com port

I use the diver with a program for tracking bike tours where I could not set "Intermediate Driver". I have the internal GPS on COM4: and use COM2: as the GpsMod port. The biking app is set to COM2. Everything worked fine with 3.5.1, the internal GPS turns on, I got the gps data into the app. Since 3.5.2 and 3.5.3 the internal GPS turn on but the bike app tells me "no gps data" :confused:, when I roll back to 3.5.1 all is OK.

Error logs attached
[Windows Mobile Apps and Games] Mach2003:
I don't see any "no gps data" sections in your logs!

Also your 3.5.3 has never been installed corectly, you have been using 3.5.1 all this time (both log sets are from the same driver). I see some issue with the installer where the registry fails to read a value, and logging the error crashes the installer, I'll look into it now.
[Windows Mobile Apps and Games] omek07:
I have the same with 3.5.3 i cant see gps signal and i cant make logs ....... i have signal only with bluetooth ....
[Windows Mobile Apps and Games] Mach2003:
try this one!
[Windows Mobile Apps and Games] omek07:
NO FIX on 0 of 0 Sats

Why MachCell time is on 01/01/2010?????
[Windows Mobile Apps and Games] Mach2003:
Yor msapi port is not seeing any data, try soft resetting, and giving it time to download the almanac again.

MachCell is initalizing before the clock, very unusual... Did you allow a soft reset after the installer finished? Try installing the same version again.
[Windows Mobile Apps and Games] omek07:
always i unistall the previous app with sktools and i soft reset my device when i install new version.

I have hard reset my device now because i think that i have mess up all it .

The first prog that i install is yours ...

I will tell you when i have done with hard reset
[Windows Mobile Apps and Games] mk2007:
COM Port

3.5.4 dis not solve the COM problem. I uninstalled 3.5.1, reboot, installed 3.5.4, reboot, deleted all Files in Mach2003, started my Bike-App where COM2 is configured as GPS port --> The APP tells "no GPS data". So you cant see this in the Dirver logs. With 3.5.1 the APP tells me the sats, DOP and so on...

Then I started the GpsModSetup, I got a fix within seconds, and as third I started an app where the intermediate driver is configured also a quick fix and no probems.

It seems that the problem is only if the COM port should feed the data.

Logs attached, hopefully self-explaining, go back to 3.5.1
[Windows Mobile Apps and Games] Mach2003:
I see an error.. Your app is calling PurgeCom (as it should be allowed to), but I seem to be closing the port when that happens, I'll fix it soon.
[Windows Mobile Apps and Games] Mach2003:
Fix com port close on PurgeCom
[Windows Mobile Apps and Games] mk2007:
Com port

3.5.5

A partial success but still a problem. Now I have almost the same behavior which was the reason for using the GpsMod diver. I got a fix for 1sec, then no gps data for 1sec, a fix, a lost .... ..... and so on.

So you are on the right track but I am sorry, 3.5.1 works perfect, all following versions make problems at this particular app.
[Windows Mobile Apps and Games] Mach2003:
Can you post a link to the "bike" application you are using?
[Windows Mobile Apps and Games] omek07:
Mach hello

I think with 3.5.5 the movement its not so smooth like others versions

the arrow on gps app is like jumping on the map ....

What do you thinks about this ????
[Windows Mobile Apps and Games] mk2007:
http://www.runsaturday.com/runsat/release/runsat_1_1_7.CAB

Using WM6 Prof.
[Windows Mobile Apps and Games] Mach2003:
I seem to have a clock problem, at certain times the clock is off by a full second, I'm looking into it now.
[Windows Mobile Apps and Games] Mach2003:
The application is doing a couple of strange things:

1) When it reads the COM port, and does not get an answer as soon as it likes, it reads the port again, without canceling the original read, It should issue PurgeCom( RXABORT ), before reading again.

2) It attempts to control the GPS using GPD0: device IOctl calls. This will act on the physical device, and not on ModDriver. Bad thing since other apps may be using GPS when it shuts off the device. It will also interfere with ModDriver's ability to read the internal GPS. A proper configuration is to issue the start/stop commands to the same device as you are using (ie: COM2), or better still, just close the COM device handle when you don't want to read GPS, the device will power off on it's own.

3) It Polls the COM device on 1 second intervals, and *****es when there is no data instantly available. Even on the original COM port, or using the GPSAPI calls, new data is very often some milliseconds late, rarely exactly 1 second apart.

4) It sets COMTIMEOUTS, but then ignores the values it sets.

I might be able to get a work around going, but I'm not sure I can do this without interfering with "standard" applications.

Since you don't seem to have issues with 3.5.1, and I know I have a possible clock problem (that I discovered from YOUR logs), perhaps this application will work again once I solve the clock issue. Wait for an update to be posted, and try again.
[Windows Mobile Apps and Games] mk2007:
I am very fine with 3.5.1, I just want to give you feedback to the new architecture before you release it. Of course I can test new versions but it is not necessary to put to much effort from your side in.

Another question: Could it be that another (third) application was modifying some internal (wm6) gps drivers? The only thing what I did not do up to know is a HARD reset with loosing almost everything, but maybe with a complete new inititalization of wm6 and all the hardware related stuff. Any idea how I can find out if any system dll was changed?

What I can remember is that this app was working a long time ago even with standard settings and drivers, but maybe an older version.
[Windows Mobile Apps and Games] Mach2003:
3.5.4 - 3.5.6

Fix EnableLogs Registry read error issue

Remove close COM port on PurgeCom (bug)

Fix time error

Fix GPX logging

- Could stop/delay output data
[Windows Mobile Apps and Games] Mach2003:
I thank you for the feedback!

You can check the date and time of the files in the windows folder. But I don't think this is the issue here. 3.5.1 works with the bike app, doesn't it?

Try the latest update I posted a second ago, it may solve the issue with this app.
[Windows Mobile Apps and Games] mk2007:
I am sorry, there is no change noticeable comparing 3.5.5.and 3.5.6.

3.5.1 works with runsat (the bike app).

I would strongly recommend to stop here, I will use 3.5.1 in the future which is completley enough for me. Of course I am willing to try and test further versions but I feel it is not efficient to make a lot of workarounds just to fullfill one app with the risk of other bugs in "normal" diver usage.
[Windows Mobile Apps and Games] Mach2003:
Yes and No, I see a few other (semi-related) apps on XDA that use the same gccGps.dll interface to read GPS, so there may be more people effected, and therefor more value in getting it working. Or even making a compatible gccGps.dll myself :).
[Windows Mobile Apps and Games] mk2007:
I have tried some older versions of the bike app. runsat 1.1.2 works fine with your driver no "no gps" messages.

http://www.runsaturday.com/runsat/release/runsat_1_1_2.cab

since runsat V 1.1.5 the problem starts (and the author did changes in timing)

see blogs http://www.navmi.com/index.php/2010/06/

maybe this helps ...

I have the choice ...

gpsmod 3.5.6 with runsat 1.1.2

gpsmod 3.5.1 with runsat 1.1.7

:rolleyes:
[Windows Mobile Apps and Games] sv_00:
CellTower works incorrectly

Hello!

Mach2003 thank you very very much for your awesome work!

I think that CellTower works incorrectly. When I start GPS where signal is weak, driver correctly returns cell tower coordinates but only for Keep Fix time. Then it returns no fix and no GPS position. I think this is wrong. I think if CellTower is enabled driver must return cell tower position. Logs are attached. Just in case - I use ASUS P320 with WM 6.1

Also I would like to offer couple enhancements. It would be great for me if I could manage driver settings from command line, especially start/stop CellTower and manage settings. Another idea is to use a Today applet with three or four buttons - start/stop GPS permanently (disregarding keep alive timeout), start/stop CellTower, Profiles selection, Settings button which starts GpsModSetup. Also applet could show position and sattelites status (for example - 3d fix on 9 sattelites). It will make you software even more user friendly.

With best regards.
[Windows Mobile Apps and Games] akpe:
Hello people

I'm still using and old version (3.19) which works fine for me :D So I'm not sure I want to update now, but just to be sure:

If I want to update to the most recent version should I just install over the previous one? Or is it advised to do a clean uninstall/reinstall?
[Windows Mobile Apps and Games] omek07:
Φιλε μου πρέπει να διαγράψεις την προηγούμενη και μετα να βάλεις την καινούργια .... Εγω διαγράφω συνήθως με SKTools.

My friend yoy have to unistall first the previous and then install the new.

I am using the SKTOOLS for uninstall....
[Windows Mobile Apps and Games] Mach2003:
You can just install over the current one, no need to un-install first.

If you wait a few days, I am working on another update right now, that fixes some more issues, or use the one in the first post.
[Windows Mobile Apps and Games] sv_00:
I upgraded two times from 3.4.3 to 3.5.3 and then to 3.5.6 just installing over.
[Windows Mobile Apps and Games] mk2007:
Cell tower location

Hi Mach2003,

in earlier threads I read that the cell tower function should create a *.dbc file where * is the MCC number.

The idea of the service is to get a quick position, even if the gps fix is not there or am I completley wrong :confused:

On 3.5.1 I can't find this file. The service is on, gps finds a fix but no dbc file. Am I doing anything wrong or have I missunderstood the service?
[Windows Mobile Apps and Games] Mach2003:
Your phone or provider is not providing the tower information. You get notifications for signal strength, but no cells numbers.
[Windows Mobile Apps and Games] Mach2003:
In recent beta's ModDriver could be sending data to the application way too often, this results in 'flooding' of the position and could result in jumpy map drawing.

The MsClock driver was not being used by ModDriver, although it was used all the other apps/drivers. MsClock needed a bit of tweeking, and was made faster too. The inital release also could have stayed running 'awake' when nothing was using it.

GPX log files was still broken sometimes, I added another tweek there too.

I had a thought: Since most GPS applications reset the device clock to the GPS time, and I was doing a bit of math to sync the recieved GPS time to the device clock, I decided to try resetting the device clock within ModDriver (again). Now, since I have MsClock, setting the device to millisecond time is way easier. Internal GPS reports GPS time as an even second in every log file I have seen, so I am using hhmmss.500 as the clock time (assume average error) for now. If GPS time is newer (in the future) I always reset Device clock, if Gps time is more than 2 seconds old, I also reset the clock. I also make sure GPS time is present, and changing every second before I reset the clock to prevent false data from resetting the clock in error. I plan on adding a ModSettings config to allow YOU to opt out of this feature (or set the m/s value), but will not add it until I see if there are any issues out there with it.

In this version I have added some logging to MsClock, but only for testing. These log entries will be removed soon. MsClock logging does NOT follow the rules for rolling to 'Old' like it should! We don't want a high speed clock to be delayed with logging...
[Windows Mobile Apps and Games] Mach2003:
:) I've used upgrade install some times ten times a day, for months now :)
[Windows Mobile Apps and Games] Mach2003:
Users of this thread requested REAL GPS fix status so they could see the GPS. If you want a longer cell tower time, increase Keep Fix Time. If you wish ONLY cell tower position, uncheck ALL ports under menu/ports.

All mod driver settings are in registry under HKLM\Mach2003\ModDriver, use Mortscript (or something else) to modify them.

I could write you a today plugin... for a price...

ModSettings allows only one command line now, to select profile:

\Program Files\ModDriver\GpsModSettings Profile=x
:where x = 1 (driving) or 2 (walking).

ModDriver is set to work in MY today by using registries designed for Showaco's utility plugin.

HomeKey L"Software\\Microsoft\\CHome\\Utility\\Page7"
HomeUpdatedKey L"Software\\Microsoft\\CHome\\Utility"
ActionValue L"\\Windows\\Start Menu\\Programs\\GpsModSetup.lnk"
StatValue L"TEXT2"

And in my ROM I have this related setting:

[HKEY_LOCAL_MACHINE\Software\Microsoft\CHome\Utility\Page7]
"ACTIONURL"="\\Windows\\Start Menu\\Programs\\GpsModSetup.lnk"
"PICTURES"="\\Windows\\GpsModSetup.png"
"SK2Text"="Toggle"
"SK2URL"="\\Windows\\GpsToggle.lnk"
"TEXT1"="GpsModSetup"
"TEXT2"="Gps Mod Driver Setup"

It does not update with live GPS data, since that would be a battery killer, but does report profile, and status. You can Start ModSettings, and toggle profile.

At the time I asked here if anyone was interested in a Today Page but no-one responded so I did not add a config page for it.
[Windows Mobile Apps and Games] sv_00:
It looks like version 3.5.7 completely ignores EnableFix value - even if it eqauls zero, driver still keep fix. I'll post logs tomorrow.
[Windows Mobile Apps and Games] omek07:
Just know i saw that you release new beta version. i will try it and i will tell you what happen

Can i ask you something .

Do you know how we can convert the coordinate system WGS 84 system on an other system ????

If i found you the formulas of conversion can you add this function on you app ???

Not to drive on this coordinates. I know that we only can drive with WGS 84 system.

I want it this because i want to have a app that i can see me real coordinates on my coordinate system ....

Mine system is GGRS87
[Windows Mobile Apps and Games] sv_00:
Logs are attached
[Windows Mobile Apps and Games] akhmad83:
Hi. i use gpsmoddriver on my samsung i900, from version 3.16, with navigation programs, such as Navitel, tomtom and igo. all working fine, but no time correction from gps time. i try versions 3.16, 3.18. 3.20. but after installing 3.4.3 and higher(3.5.1 - 3.5.7) cell tower service start to 1-2 seconds and stop to work, while position from gps unit (trying both com3 and Msapi) still showing E0.00,N0.00 for long time, and when position is finnaly start to showing, speed still 0 km/h all the time. i return again to 3.20 and all work fine. best regards. :confused:
[Windows Mobile Apps and Games] lohtse:
well installed on tytnII and orbit bother with 6.5. but neither get gps fix in apps...gps is active and if change to devices original ports then fix is staight away.... So am at a loss as what is happening....

Could some one provide link to 3.20 as that worked perfectly on both devices... all newer versions don't...
[Windows Mobile Apps and Games] sv_00:
Look in the first post.
[Windows Mobile Apps and Games] Mach2003:
You have FixTimeout at 10 seconds, EnableFix unchecked.

Your logs show cell tower used for 10 seconds, as expected, then un-fixed MSAPI until you closed the application. You never obtained fix.

Enable fix only takes effect if you have fix and then loose it.

Cell tower uses the FixTimeout, regardless of the enable check box. If you want live GPS without cell tower, disable cell tower under the extras menu.
[Windows Mobile Apps and Games] Mach2003:
Converting coordinates is beyond the scope of ModDriver, both NMEA and GPSApi use WGS84.

I have been interested in doing work on converting to UTM for some time now. I see the Greese system is based on UTM, just has a different base. (why not just use the standard anyway, I'll never understand why people do this kind of thing).

I don't know how to convert from '84 to UTM, but I have some information now that *could* tell me how to do it. Once I have UTM, converting to Greese looks simple enough.

For me this is a "some day" project since it is a lot of work, and I don't really have any use (or customer paying the bills) for it right now. If we had coordinates in UTM, calculating the distance between two points would be much easier and faster, although converting from '84 to UTM would probably take longer, and be slower than just using the existing distance formula I have.

Bottom line, unless you have an actual function to convert from '84 to UTM or GGRS, then you'll have to wait a long time before I do it on my own.
[Windows Mobile Apps and Games] Mach2003:
I'll need log files to see what is happening to you two.
[Windows Mobile Apps and Games] lohtse:
grrrrrrrrrrrr!!!!!!!! lol ok will reinstall 3.5.7 and post logs for you....
[Windows Mobile Apps and Games] sv_00:
Oh, I misunderstood the concept again. :rolleyes: Thanks a lot!
[Windows Mobile Apps and Games] mk2007:
Mach2003

3.5.7 works fine, even with the bike app. :)

My phone provider does not send Cell tower locations, so I dont use this feature.

Thank you for the fixes.
[Windows Mobile Apps and Games] Mach2003:
/* Notes */

Today I was using Garmin Mobile XT, GPS Intermediate Driver, ModDriver, COM2 (BT). For some unknown reason MXT froze speed, position and heading for some minutes. It would not respond to the screen buttons either. I Task switched and forced it closed. I preserved the logs and later found out that MXT had actually crashed, but my chain of drivers would not let it actually die.

While tweeking MsClock I've made a few errors that caused a tight loop to run with no escape (due to logging on, and logging reading the clock...). This causes device.exe to consume 100% of CPU. On soft reset in can take 10 minutes to actually boot, and some time to navigate to settings and remove ModDriver to get the phone back!!!!!! The other alternative is to HardReset, which I did the first few times before knew what was happening. If you have what appears to be a stuck boot, give it a lot of time, instead of HR

3.5.8

Logging Owner Process Name in ModDriver and MsClock

Extra Delay removed reading some COM input devices

When input port times out, reader thread could stay active (or even duplicate)

MsClock, only reset device clock if it needs resetting (read current clock, and compare first)

Changed timing on EnableSmooth

- Used to return data at 600, 400+, 600...

- Now 500, 500+, 500, 500+,

Better handling when reader app crashes without closing the ports

- System sends me Ioctl_Psl_Notify

- I force close reader port, SetLastError( 6 )

- In GPSApi I react to GetLastError() == 6, by exiting the reader thread.
[Windows Mobile Apps and Games] akhmad83:
after uninstall 3.20, sofet reset, kill driver, soft reset, install, soft reset version 3.5.6 start to show speed. but cell mode still unavailable. logs attached
[Windows Mobile Apps and Games] omek07:
I had this problem but i thought that is from Gps Program i will test it romorrow and i will send you the LOGS

Thanks again
[Windows Mobile Apps and Games] Mach2003:
Your LastKnown GPS position is newer than your LastCellTower position, so you are seeing the last known GPS position. This is a desirable effect!

After some time, since you have Cell tower on even when not using GPS, you will get a cell tower update, and then ModDriver will use that position.

Your COM3 input is effected by the "Extra Delay removed reading some COM input devices" I fixed with 3.5.8.
[Windows Mobile Apps and Games] Mach2003:
You quoted both (two) issues, which one effected you?
[Windows Mobile Apps and Games] omek07:
For some unknown reason MXT froze speed, position and heading for some minutes. It would not respond to the screen buttons either

Not the MXT but the Igo Primo 1.2
[Windows Mobile Apps and Games] akhmad83:
Hi! I uninstall 3.5.6, execute killdriver, delete all files. install 3.5.8 and ride my car). turn off gps unit not so far fron my wooden house)) in center of st. petersburg. no one gps signal gets to my apps with granite stones)) so i start gpsmodsetup to see what happens. on first start in home, he wrote me that cell service shows position. but it was last seen poisition, i turn off, and turn on few minutes later, the position was the same. I wait for about 2 hours, and turn on the position was another. i use maps.google.com and it shows that it coordinates is near my home. Profit)) cell service is working, but i have little problem. cell coordinates shows for about 5-10 seconds, then programm start to try find sattelites and shows n0.000000 e0.000000, so if i start navitel, igo, tomtom or other software, it has no time to use cell coordinates, as it was in early versions of gpsmoddriver. because it need time to start programm, and use gps coordinates, that shows something near north pole or similar to it. i clear log files to make new ones, and attach it. Thanks to your attention, and sorry for my english)
[Windows Mobile Apps and Games] CRACING:
Hello guys,

Firstly I would like to thank the GPS Mod Driver developer. :)

I'm new here and somewhat noob. I have HD2 and sygic mobiles maps v6.0. The compass isn't working and wasn't working in Garmin also.

Using this driver, is it possible to get compass working on sygic mobile maps app? if so, can someone please guide me how to get it? coz the first page contains lots of info which is making me confuse.

Thanks a lot...

Best Regards
[Windows Mobile Apps and Games] Mach2003:
There is no need to un-install, or "kill driver", just install the update without removing the old one.

You are getting valid data on COM3 as input, but not getting a fix, leave GPS active until you get valid fix (up to 30 minutes).

You should be able to use MSAPI as input, it will be better than COM3.

If you want cell tower location to last longer, set FixTimeout higher, default is 10 seconds.
[Windows Mobile Apps and Games] Mach2003:
Welcome to the thread...

To get compass in ALL GPS applications, install ModDriver, default settings will give you compass when you have the device within 60 degrees of flat (walking mode) since compass is a POS in a metal car.
[Windows Mobile Apps and Games] akhmad83:
Thanks its really helps, i set fixtimeout to 20000 and its enough))

Just interest, why better msapi. than com3?
[Windows Mobile Apps and Games] Mach2003:
COM3 is NMEA (text strings) data that has to be read (slowly) and then converted to machine data. MSAPI signals us when it has fresh data, and then provides machine data directly. In MOST cases the same driver is providing both data sets, and in fact, converts MSAPI data to NMEA for the COM interface. so there is an extra two layers of conversion (write and read), plus the overhead of the COM interface.
[Windows Mobile Apps and Games] CRACING:
Thanks. I got it working. Compass wasn't enabled by default in GpsMod settings but when I enabled, its working fine in sygic. :)

However, its not so accurate as native in android and other os. Needs to move for few meters to get the correct angle I'm staying. In car, compass doesn't work as well. No idea how its gonna workout. :confused:
[Windows Mobile Apps and Games] Mach2003:
I don't think anyone (or any device) has reliable compass in car, the magnetic and emi influences are just too great. On my OmniaII I get a single compass reading (withing a few degrees) no matter what direction I'm pointing.

You should not have to move to get a compass reading in your app. Try increasing the Compass Speed on the sensors page, you app may need a higher speed in order to refresh (Garmin Mobile XT needs at least 2.5 kph).