How to init the Diamond's GPS - Touch Diamond, MDA Compact IV General

Hello all,
Iam trying to write a small program to receive the NMEA strings out of the GPS, I opened the COM4: port but the GPS is sending nothing...
does anyone how to initialize the GPS? is it connected to any GPIO?
regards,

Please give us more details like which environment you're using to code? It's very easy to get GPS co-ordinates if you're working on .net Compact Framework 2.0+ The SDK even has a sample GPS application to get started.

Carty said:
Please give us more details like which environment you're using to code? It's very easy to get GPS co-ordinates if you're working on .net Compact Framework 2.0+ The SDK even has a sample GPS application to get started.
Click to expand...
Click to collapse
Yeah I do use the .net CF, particularly C#, can u please provide me the link to that sample app?

I use AstroGPS app to init gps in HTC diamond

Update:
I got the app to work Iam getting the Latitude, longitude, speed, direction, sat counts. Update time is relatively good.
one thing is still open, the first time i start the application (after soft reset), it does need about 3-5 min to start. the same is happening with the GPS test application!
does anyone has a solution for that problem?

Related

TomTom 6 Guide for HTC Kaiser (FAQ)

Here I compiled list of question and answer about using TomTom 6 with the HTC Kaiser. Forum Mods, if this is good enough, please make it sticky topic.
*** Which version of TomTom is in the Application CD?
6.032 (8351) - as of September 15, 2007
*** Is that full version or trial version?
It is called TomTom Taster Edition and It is full version, it will not expired, and there is no feature limitation compared to retail version.
*** Is it installed in the ROM by default?
No, it is not. You need to manually install it.
*** How to install it?
Connect to ActiveSync, from the HTC Kaiser Application CD, launch:
Installer_Kaiser_ttn_6_032_8351_HTC_WWE_20070716.EXE
*** I dont have that executable file in my HTC Kaiser Application CD!
Yes, you are not alone, probably you purchased North America version.
http://forum.xda-developers.com/showthread.php?t=329957
http://forum.xda-developers.com/showthread.php?t=327917&page=2
You can also download it here:
http://rapidshare.com/files/56585274/6_032_8351.rar (this link might not be permanent)
Or here (.CAB):
http://www.sendspace.com/file/9379xf (this link might not be permanent)
*** I have TomTom 6.030 (or prior version), what's the main difference?
6.032 has "Built-in Internal GPS" setting and the HTC Kaiser also have one.
*** Can I use/install other maps?
Yes you can. You can purchase additional maps (maps only), and then activate it.
*** Warning! Do not change the external GPS setting!
You should see "external GPS" icon in the Settings->System, do not change anything there.
You might need to hard-reset your device, more info:
http://www.modaco.com/word-warning-re-GPS-se-t258943.html
*** How can I use my own TomTom software?
So, you do not want to use TomTom from the Application CD.
Basically, you just need to install your own TomTom software and use this setting for the GPS:
- Other NMEA GPS receiver
- GPS baud rate = 4800
- GPS is connected to COM4:
For detailed information, check out here:
http://www.modaco.com/TomTom-Kaiser-t256790.html
*** How good is the internal GPS? Any problems?
From my own experience, it is working fine. Signal strength may vary and it depends on the situation (cloudy, clear sky, surounding area, buildings, etc.).
On average, I got satellite fix around 30 - 60 seconds.
However, some people experienced problems which you can follow here:
http://www.modaco.com/GPS-positioning-problems-t259285.html
Paul from MoDaCo.com, reported a bug
"The GPS bug seems to occur with some applications whereby the GPS 'data stream' will pause for a few seconds at a time, which makes some apps think the GPS has gone away (e.g. Google Maps) and other apps just update in sudden jumps rather than smoothly."
http://www.modaco.com/Paul-Reviews-HTC-P45-t256569.html
But, I think that problem is intermittent (randomly occur).
*** How about TomTom PLUS service?
Check out here:
http://forum.xda-developers.com/showthread.php?t=328444
*** TomTom always start with NO SOUND, why?
It's a bug, you have to switch off the data connection before starting TomTom.
SIMPLE FIX: Roll the volume wheel and sound turns on.
Thanks to all XDA-Dev users, Paul and other users from MoDaCo.com
Feel free to add more information in here
I added this thread to the wiki.
The above is all good info.
However, if you are having problems do not believe that the above is the only setup that will work.
I happen to use a bluetooth setup from time to time and have used the external GPS settings without problems.
A working setup for me for intermal GPS uses Other NMEA on COM 9 at a Baud Rate of 19200. In the Tomtom settings.
All other GPS programmes I use are set to COM9
When I setup the bluetooth I have it set to:
Serial Port (ticked)
Outgoing Port COM 9
Authentication (unchecked)
External GPS (in System menu)
(Perform a full backup before changes here - due to reports that changes here may ruin the GPS connection requiring a hard-reset to get it going again)
GPS Programme Port COM9
Hardware (None)
Access (Manage GPS automatically - ticked)
By the way the basic freeware plotting applications I use DO NOT require the clumsy workaround of starting tomtom in order to open the internal GPS. That problem seems to be limited to an issue with Google Maps.
NB
Other ports will work - eg COM0 but you must ensure that for example if you set outgoing port in bluetooth (if you also use BT GPS) to COM0 then it will also be COM0 in tomtom or any other GPS software. Any mismatch and you'll wait forever!
NB
In the tomtom satellite screen (the one that shows aseries of columns for each satellite - there is a useful verbal comment at the top of the screen it will say one of three things:
1
No GPS Device - (always says this initially for 2/3 seconds. If things are set correctly it will move to 2 but if your ports are wrongly set it will stay on this)
2
No Valid GPS Signal - (means it has found internal GPS device and is trying to find satellites - anything from 2 or 3 seconds to couple of minutes if you have not used Quick GPS, it will then move to 3 if you are in range of satellites)
3
Other NMEA GPS Receiver - (says this when locked on to satellites and working correctly)
The above 3 steps are useful to just check whether the setup and port is correct. Even if you do not want to use tomtom it's worth running it at least once just to iron out any port problems.
Mike
gogol said:
*** Can I use/install other maps?
Yes you can. You can purchase additional maps (maps only), and then activate it.
Click to expand...
Click to collapse
How?
I copy the folders of others maps into the microsd, bit if i go to settings- change maps I can't see them! Then i can't put the code to activate them!
What i'm doing wrong?
teresa said:
How?
I copy the folders of others maps into the microsd, bit if i go to settings- change maps I can't see them! Then i can't put the code to activate them!
What i'm doing wrong?
Click to expand...
Click to collapse
Use TomTom HOME program to install maps.
Richard
Thanks, very good thread indeed.
gogol said:
*** I dont have that executable file in my HTC Kaiser Application CD!
Yes, you are not alone, probably you purchased North America version.
You can also download it here:
http://rapidshare.com/files/56585274/6_032_8351.rar (this link might not be permanent)
Click to expand...
Click to collapse
Tried to install this 6.032 version on my TyTN II but got the following error on the device upon starting the installation: "Setup Error: Unable to install application. Please update your device ROM to the required version before trying again." - any ideas? Thanks ...
Would be happy to pay for the software / maps if they wouldn't it make all that difficult to get it installed for a trial ...
Maybe this is a dumb question, but I can't get the On board GPS to kick up and when I look under settings, the only thing there is "External GPS"....
How do you get it to use the internal GPS?
trjons said:
Maybe this is a dumb question, but I can't get the On board GPS to kick up and when I look under settings, the only thing there is "External GPS"....
How do you get it to use the internal GPS?
Click to expand...
Click to collapse
Are you sure u installed 6.032 Tom Tom release? Is the version caming with CD and is not in Tom Tom web. Is the only version that works with internal GPS; but youet guy. can have problems to install it, if you have a previous version.
There is no "internal GPS" icon in the "Settings", only "external GPS"
And dont mess around with the "external GPS", you might need to hard-reset.
TomTom 6.032 has its own setting to use the "internal GPS".
trjons said:
Maybe this is a dumb question, but I can't get the On board GPS to kick up and when I look under settings, the only thing there is "External GPS"....
How do you get it to use the internal GPS?
Click to expand...
Click to collapse
galahor said:
Are you sure u installed 6.032 Tom Tom release? Is the version caming with CD and is not in Tom Tom web. Is the only version that works with internal GPS; but youet guy. can have problems to install it, if you have a previous version.
Click to expand...
Click to collapse
I would disagree with that. Other versions of tomtom DO work. But in tomtom's "configure" select other NMEA instead of internal GPS
Mike
mikechannon said:
I would disagree with that. Other versions of tomtom DO work. But in tomtom's "configure" select other NMEA instead of internal GPS
Mike
Click to expand...
Click to collapse
I agree. I wanted say is the only version capable to tune internal GPS from Tom Tom program. I know versions 6, 6.02 and 6.03 works with othen NMEA and port 4, but my impresion is with internal get satellites faster.
Is there a way for TomTom to give the vocal instruction through the Bluetooth headset ?
Thanks
Jean-Yves
Anyone get a wrong rom error when installing 6.032? UK T-Mob.
Yes me too
As I understood, the T-Mobile version does not have TomTom Taster edition included in the application CD, correct???
If that's the case, I am afraid that the TomTom 6.032 from the HTC Kaiser "unlocked" version is a special build only for that unlocked model.
Just use 6.030, it works fine (read in the FAQ).
Yeah i guess if the rom numbers dont match up, it wont let you install. Not on Taster CD.
Using 60.30 now 8)
No TOMTOM love...
My Kaiser just showed up today and there' no TOMTOM on the apps cd.
What gives?
helm
I installed the Tom Tom and the one free Map, but I still have the same issue I had with Google maps of having to run GPS Viewer to start up the GPS.
I'm sure its a configuration issue for Tom Tom but I can't figure out what the problem is.
You got problem with Google maps and you thought that is TomTom configuration issue? ...
trjons said:
I installed the Tom Tom and the one free Map, but I still have the same issue I had with Google maps of having to run GPS Viewer to start up the GPS.
I'm sure its a configuration issue for Tom Tom but I can't figure out what the problem is.
Click to expand...
Click to collapse

Cool ways to use the GPS in the Kaiser

There are two apps that I have used that I must say make the GPS built into the Kaiser along with its data connectivity pretty cool. Of course, the GPS is a great tool for mapping software such as TomTom, iGuidance, Google Maps, MS Live Search, and others... but the possibilities of GPS in a connected device like the Kaiser can lead to many other great things. Two that I have found useful are Mobile Justice and 3d Tracking. Here is a quick description of what they are.
First, I have installed Mobile Justice which alerts you when a SIM card is changed and will send a text message to a number of your choosing when it is changed... for example it was stolen and a card was sent in. It can also send the current GPS location. In addition, you can send the device a text message with a keyword and request at any time, the current GPS location. You can also put a message on the device screen. I know people often cook this application into ROMs. I hope that someone does this for a future Kaiser kitchen. I learned about the new GPS features here: http://www.wmexperts.com/articles/mobile_justice_sms_your_phone.html
The other app that I have used that is kind of nifty is 3d tracking. It updates your GPS location in near real time to a website that you can use a PC to monitor. The mapping is done using Google maps. Very cool way to keep track of valuables such as your teenagers. ;-)
http://free.3dtracking.net/home.aspx
What other cool uses for the GPS have you found to use with your Kaiser?
I think the latest is the GPS photo functionality that was discovered to be built in. We were talking about this functionality at work but in an actual camera. Little did I know that i would discover this same function active in my TyTn II
y2whisper said:
I think the latest is the GPS photo functionality that was discovered to be built in. We were talking about this functionality at work but in an actual camera. Little did I know that i would discover this same function active in my TyTn II
Click to expand...
Click to collapse
I did see that in the forums which just made the camera in the phone that much more useful. Very useful when on hikes or vacationing to take a quick snapshot. Sure, the camera on the phone is not a replacement for a high quality digital camera, but it is convenient and in outdoor light, does a pretty good job. Combined with the GPS tagging, it is fun too. I hope we get to see even more uses for the integrated GPS.
Please explain
y2whisper said:
I think the latest is the GPS photo functionality that was discovered to be built in. We were talking about this functionality at work but in an actual camera. Little did I know that i would discover this same function active in my TyTn II
Click to expand...
Click to collapse
Can you please explain this function and how it can be used.
I am using Nokia's smart2go gps software in my Tytn-II and its working gr8, with Nokia's maploader u can download very detailed maps with very good databases particularly for middle-east.
Similar to your Mobile Justice product, here's one I saw the other day. Its kind of like LoJack for your phone:
http://www.pocketpc-live.com/pocketpc-softwares/ultimate-theft-alert-v3-for-pocket-pcs-2.html
It You can have your phone let you know where it is if its ever lost.
The company I work for does gps tracking for sports (running, skiing etc). I won't post the link, as i dont want to be seen as advertising.
But its pretty cool to be able to see how fast you ski (57.2mph is my fastest so far).
Someone sent me a note on this site that does something similar to 3d tracking. I will try it out now to see how it works.
http://gps.gpsxml.com/
Here is another tool that has a description with features similar to WIMP (Where Is My Phone) and Mobile Justice. Has anyone heard of it or tested it before? It is called Ultimate Theft Alert and has GPS as an add-on option.
http://www.pocketpc-live.com/pocketpc-softwares/ultimate-theft-alert-v3-for-pocket-pcs-2.html
I had no idea there were so many tools for GPS integrated mobile phones. Here is another freebie, this time from a well known PPC developer, VITO Technology. It is called FindMe
http://www.vitotechnology.com/en/products/findme.html
And for those with coding experience... here is an example with source code.
http://www.codeproject.com/useritems/FindMe.asp
swarnabhab said:
Can you please explain this function and how it can be used.
I am using Nokia's smart2go gps software in my Tytn-II and its working gr8, with Nokia's maploader u can download very detailed maps with very good databases particularly for middle-east.
Click to expand...
Click to collapse
Basic use would be if you wanted to add pictures to a map (google earth i believe supports this) you take a picture and in geomarks your pic.
It is basically done by regedit - you can read more on this in this exact forum (should be on page one or two -- easy for us to say this while the kaiser forum is still fresh)
Have a look at this..... http://www.reperion.com/
Downloaded the software, registered an account and now my handset can be tracked by anyone with a pc.
yeah the file download was down before, working now, will try this one out
ericb said:
Have a look at this..... http://www.reperion.com/
Downloaded the software, registered an account and now my handset can be tracked by anyone with a pc.
Click to expand...
Click to collapse
This is free for now it seems. I will try it out. Do you know if it is any different than 3d tracking? That one is free too.
Had a quick look t 3d tracking, reprion looks to do asimilar thing.
Both seem pretty cool anyway
Some more interesting GPS software: http://www.jgui.net/gps/index.html
Personal observation: There should be a standard for SMS messages whereby the GPS coordinates of the sender can be sent along with text or mms messages. This would be handy for location based services and when chatting with friends.
AND wth pda's
ericb said:
Have a look at this..... http://www.reperion.com/
Downloaded the software, registered an account and now my handset can be tracked by anyone with a pc.
Click to expand...
Click to collapse
AND PDA ! )
http://geocool.reperion.com
Somthing wrong with the GPS
Hi
There's something definitely wrong with the GPS happening from time to time.
Today, TomTom was off by nearly 1 kilometre using the internal GPS. Using BT GPS everything was fine.
After a restart: the location was spot on again.
It has happened to me 3-4 times now that the GPS is completely off the charts.
Wonder if this could be fixed with a Radio ROM update ..
swarnabhab said:
Can you please explain this function and how it can be used.
I am using Nokia's smart2go gps software in my Tytn-II and its working gr8, with Nokia's maploader u can download very detailed maps with very good databases particularly for middle-east.
Click to expand...
Click to collapse
Sorry to maybe possible hijack this threat a little. I am also using smart2go. But I can't download any maps to my MicroSD with the Maploader. It always complaint that there is no space in my card (which has 3.7GB free). How were you able to download the maps to your card?
Many thanks in advance!
PS. Never mind. I found out that Smart2Go probably has a problem with storage cards larger than 2GB as if I use smaller MicroSD cards, the Map Loader works fine. So the solution is to run Smart2Go with a blank 2G or smaller card, then copy the files to the 4G MicroSDHC. Then Map Loader works (with a size limit of 1.8G for map data).....
Ok so still having some problems.
As noted here
http://forum.xda-developers.com/showthread.php?t=332811
Some programs don't instal for me, WIMP did install however (haven't tested it yet) so my assumption would be some kind of security setting that is on when installing cabs, do you guys turn it off? (i remember there was a way to do this with the Hermes) or do these apps just install out of the box (per se)?
EDIT:
Looks like its some kind of problem when i transfer the file over via activesync to the card. I put it on via straight pc to another card and it installs fine.

Mobile GMaps working on Kaiser?

Hi guys... anyone played with the application http://www.mgmaps.com/ and actually got it to work with the internal GPS unit?
I've tried, but all I get is "GPS functionality not available on this phone".
Took a look on their support forum, and lots of others seem to be having difficulty getting this baby to recognize internal GPS units.
So,,, just thought I'd ask the experts...
/drt
They have a page that talks about how to fully set it up on a Windows Mobile device.
http://www.mgmaps.com/winset/
Look at step 13. "If you have an internal GPS on WM6, you can assign a virtual serial port to it with this GPSID Configuration utility." They link to a .CAB that you can download.
Try that.
clstan said:
They have a page that talks about how to fully set it up on a Windows Mobile device.
http://www.mgmaps.com/winset/
Look at step 13. "If you have an internal GPS on WM6, you can assign a virtual serial port to it with this GPSID Configuration utility." They link to a .CAB that you can download.
Try that.
Click to expand...
Click to collapse
Thanks for the idea, but it doesn't seem to make any difference. No mater what I set the ports to, I get the same message. Do you have settings which work?
i dont get it, why not just install the free google maps software?
Because it is software that amazingly can access arieal photos from many different sources, also sets up a storage for maps so you can use them offline and reload then instead of downloading the images everytime you start google maps. I am working on this and will post as soon as I have an answer.

My GPS app only works if another GPS app is running.

This is my first "real" app for Windows Mobile. I've got a HTC Touch Diamond(Alltel). I've been programming in VB .net for a year or so but I'm NOT an good programmer. I'm a noob that is stumbling along. It's a tribute to .net that I'm able to produce the apps I have.
I've got a basic app working using the sample .dll from MSDN.
Working is relative though - it only works if I start some other application that uses GPS like google earth.
I've went through serveral ways of getting the positon information including this one that I leeched from someones explaination:
-------------------------------
Dim gps As Microsoft.WindowsMobile.Samples.Location.Gps
Try
' -- opens GPS device connected to GPS API
gps = New Microsoft.WindowsMobile.Samples.Location.Gps
gps.Open()
Dim pos As Microsoft.WindowsMobile.Samples.Location.GpsPosition = _
gps.GetPosition()
'call invoke process
UpdateLAT(pos.Latitude)
UpdateLON(pos.Longitude)
gps.Close()
Catch ex As Exception
' -- position is unavailable
Finally
If gps IsNot Nothing AndAlso gps.Opened Then gps.Close()
End Try
--------------------------------
It pulls a positon fine - I used a TImer to run that code once a second and it'll post a empty positon till I open some other app - and then it updates fine. Once I stop the other app - it stops updating the position. It looks like the positon values I'm reading only get updated if some other process has the gps running.
What am I missing? I've googled and found all sorts of C# stuff. but NO examples besides in C# that doesn't work after using one of the C# translators to convert it.
So much of the "help" for this type of stuff is theory or high-level and assumes more knowledge than I posess - I need an actual EXAMPLE to build on.
Can any of you guys help?
BTW: Here is a VERY good example of "help" that leaves a huge gap of explaination before you actually have an idea how to code for it: http://msdn.microsoft.com/en-us/library/bb202050.aspx

GPS with Google map is not working

Hi,
I try to use Google map with GPS but it's success! Seem Google map can't detect any satellites. Anyone has the same problem? Who has experience to fix it?
Thanks.
Works OK for me, the first time took a while to lock on but OK after that. Make sure you run QuickGPS as well
Thanks for your reploy! I did enable A-GPS by Advanced Configure and run QuickGPS but the google did not work! It tried to seek satellites but nothing found!
The first time I ran the program it had to have a clear line of sight to the sky for a few minutes - between 5-10 i think.
After that it should be a bit quicker, but of course it doesn't often work inside a house so you may need to stand in your garden
Try this : Menu / Options / GPS setting / Manual setting (approximately, I have it in czech),and I have in other application COM4 and Baud-rate 4800
I've had the same problem in the beginning. GMaps couldn't connect to GPS at all.. I then set the GPS settings to manual, but it didn't work.. Reverted to automatic and got the gps working within 15 seconds!
Hope this helps
Hi
Thanks for your reploy! I did enable A-GPS by Advanced Configure and run QuickGPS but the google did not work! It tried to seek satellites but nothing found!
Click to expand...
Click to collapse
This setting is a waste of time, as you need your mobile operator to support A-GPS for a start, and then you must have the correct settings entered which are not exposed in Advanced Configuration. By default the phone will be trying to contact an HTC test server which can't be reached from any mobile network.
Disable A-GPS for best results unless you have the settings required and it is supported by your mobile operator.
Regards
Phil

Categories

Resources