Customize your R2H
http://r2h.setbb.com/

Restore the state of integrated GPS receiver after reboot
http://r2h.setbb.com/viewtopic.php?f=8&t=2
Page 1 of 2

Author:  Bornish [ Wed Jun 04, 2008 8:28 am ]
Post subject:  Restore the state of integrated GPS receiver after reboot

Hello fellow R2H owners!
I was very much annoyed that on reboot the integrated GPS receiver didn't recall the last setting, like the WIFI remains active on restart... so, I have decided to write my own application that activates and deactivates the device. I am very happy to, finally, make time for this (have the R2H for some time now) and would like to share this small tool with all of you. It is very simple to use, and can be set to run once on start-up. It acts as a command-line, with the following syntax:
Code:
   gpsCtrl.exe on|off|toggle
Everytime is being executed, it stores the last option in registry... and when executed without parameters, will read the last option "on" / "off" from registry and activates / deactivates the device accordingly. Also, for those developers out there, I am providing the full source code of this small utility.
Happy navigation!
Attachment:
GPSonR2H_WinXP.zip

Author:  Dan Dar3 [ Wed Jun 11, 2008 2:24 pm ]
Post subject:  Re: Restore the state of integrated GPS receiver after reboot

Hi Bogdan,

Your application should be very handy if you use GPS regularly.

Would you be interested to write a tile for Windows Vista Mobility Center? You can find the sources for a sample tile here.
http://www.withinwindows.com/2007/12/21/the-first-non-oem-static-windows-mobility-center-tile/.

Dan

Author:  Bornish [ Mon Jun 16, 2008 2:50 pm ]
Post subject:  Re: Restore the state of integrated GPS receiver after reboot

Dan Dar3 wrote:
Would you be interested to write a tile for Windows Vista Mobility Center?
Hi Dan! In the near future I don't see possible to make the available time. I can barely manage to write content on this forum, for which I have plenty of ideas. I'm hoping more people will join and contribute as well. Also, for CodeProject, at least a couple of ideas for article preparations are pending while still trying to remain active on CodeGuru.
Probably I could schedule it as one of my "pet-projects" if you really think will be useful to a number of users... anyhow, thanks a lot for the very interesting link.
Regards,

Author:  kkamel [ Tue Jun 24, 2008 7:38 pm ]
Post subject:  Re: Restore the state of integrated GPS receiver after reboot

Thanks a lot for such nice tool I will try it with the R2E

Author:  Stefan [ Fri Oct 31, 2008 9:19 am ]
Post subject:  Re: Restore the state of integrated GPS receiver after reboot

Thanks a lot! That is just what I needed....
I have customized MS Autoroute on my R2H with AutoHotkey: I can zoom in/out, enable the GPS (MS AutoRoute setting) and replan the current route using the hardware keys on the R2H. The only problem I had, was the need to reenable the hardware GPS after a reboot. And that was just the only thing I can't safely do while driving...

Stefan.

Author:  Bornish [ Sun Nov 02, 2008 5:08 am ]
Post subject:  Re: Restore the state of integrated GPS receiver after reboot

Stefan wrote:
Thanks a lot! That is just what I needed....
I have customized MS Autoroute on my R2H with AutoHotkey: I can zoom in/out, enable the GPS (MS AutoRoute setting) and replan the current route using the hardware keys on the R2H. The only problem I had, was the need to reenable the hardware GPS after a reboot. And that was just the only thing I can't safely do while driving...

Stefan.

You're most welcome! I have written some code for hardware keys remapping, and except the "Login" hardware button, which sends Ctrl+Alt+Delete, I could change behavior of these other 3 buttons. Unfortunatelly, my free time to complete such tasks has diminished greatly, but I think there're quite many people whom would appreciate if you'd share your customizations.
Thanks for taking the time to reply to my post. It feels good to know that was worth spending the time in creating this.

Best regards,

Author:  kewlkiwi [ Sun Nov 23, 2008 2:21 am ]
Post subject:  Re: Restore the state of integrated GPS receiver after reboot

Many thanks for this ute!

Not being a programmer, I'd given up after attempting to work out what GPSswitch was doing, but now your program will do just what I want.

(And having the source code may help me understand what it's doing too! ;) )

Rgds, Bob

Author:  Plantje [ Sun Dec 28, 2008 9:48 pm ]
Post subject:  Re: Restore the state of integrated GPS receiver after reboot

Hi,

Would you expect this to work on Windows Vista and/or Windows 7 as well?

Thanks! This is really something that I was looking for!

Author:  hal0 [ Fri May 29, 2009 2:00 pm ]
Post subject:  Re: Restore the state of integrated GPS receiver after reboot

Hi. I tried the utility, but nothing happens. The GPS module won't show up it the Device Manager. gpsCtrl doesn't seem 2 work, neither does DEVICE_SWITCH.

Ies, i have copied the files to C:\Tools.

Author:  Plantje [ Sat Jun 13, 2009 6:38 am ]
Post subject:  Re: Restore the state of integrated GPS receiver after reboot

If you start DEVICE_SWITCH, doesn't the programm show up?
If it does show up....and you tick the check box and start a GPS application, does the GPS work (when out doors)?

First try to get that to work. Next see if you can get it automatically to start.

Page 1 of 2 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/