Home PageFacebookRSS News Feed
PocketGPS
Web
SatNav,GPS,Navigation
SurfShark Antivirus
Pocket GPS World - SatNavs | GPS | Speed Cameras: Forums

Pocket GPS World :: View topic - Review Comments: Talking to TomTom Navigator via Perl
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in for private messagesLog in for private messages   Log inLog in 

Review Comments: Talking to TomTom Navigator via Perl
Goto page 1, 2, 3, 4  Next
 
Post new topic   Reply to topic    Pocket GPS World Forum Index -> TomTom Software-Only Products
View previous topic :: View next topic  
Author Message
lbendlin
Pocket GPS Staff
Pocket GPS Staff


Joined: 02/11/2002 22:41:59
Posts: 11878
Location: Massachusetts, USA

PostPosted: Sat Oct 21, 2006 1:14 am    Post subject: Review Comments: Talking to TomTom Navigator via Perl Reply with quote

Vehicle tracking is a hot topic nowadays. Most of the solutions are pretty expensive, yet do not exactly deliver the functionality that you as an individual need from them. With some sort of scripting language, the TomTom communications API and a Internet connection you could create your own individual solution, at a fraction of the cost.

That's exacly what PocketGPSWorld user Richard Thomas did on his TomTom equipped PDA, and he was kind enough to share the details of his project with the PocketGPSWorld community. So, without much further ado, here he comes:

http://www.pocketgpsworld.com/TomTomViaPerl.php
_________________
Lutz

Report Map Errors here:
TomTom/TeleAtlas NAVTEQ
Back to top
View user's profile Send private message Send e-mail
mcwarre
Regular Visitor


Joined: Mar 25, 2004
Posts: 157

PostPosted: Sat Oct 21, 2006 12:42 pm    Post subject: Reply with quote

Richard,


Excellent! Well the next question is can you put it into a cab file???????? Smile
Back to top
View user's profile Send private message
rich_d_thomas
Occasional Visitor


Joined: Jan 25, 2004
Posts: 46

PostPosted: Sat Oct 21, 2006 5:50 pm    Post subject: Reply with quote

Hi mcwarre,

If someone could give me some points about how to put it all in a cab file, I'll give it a go.

For it to be useful, I would have to put the PERL executable, the PERL script and a few other files in the cab file.

The other useful thing would be for the registry settings to be made when unpacking the cab file, I'm not sure if this is possible.

Any advice would be appreciated, as I said, I'm happy to give it a go.

Richard.
Back to top
View user's profile Send private message
lbendlin
Pocket GPS Staff
Pocket GPS Staff


Joined: 02/11/2002 22:41:59
Posts: 11878
Location: Massachusetts, USA

PostPosted: Sat Oct 21, 2006 7:47 pm    Post subject: Reply with quote

yes, registry entries can be part of the CAB file creation

http://www.codeproject.com/ce/pocketpc_deploy.asp
_________________
Lutz

Report Map Errors here:
TomTom/TeleAtlas NAVTEQ
Back to top
View user's profile Send private message Send e-mail
rich_d_thomas
Occasional Visitor


Joined: Jan 25, 2004
Posts: 46

PostPosted: Sat Oct 21, 2006 10:20 pm    Post subject: Reply with quote

Hi,

I've been looking at how to use cabwiz.exe, as a way of creating a cab file that contains the necessary files and registry settings to be deployed on the PDA.

I notice that it is part of Microsoft eMbedded Visual C++ 4.0, so I've been downloading it over the last half an hour.

When I came to install this, it asked for the product number and user ID.

As I do not have any Microsoft development tools or any licences, I am unable to progress the cabwiz method.

Unless anybody has any other ideas, it's looking like the installation of this solution will have to remain being a manual process.

Richard.
Back to top
View user's profile Send private message
lbendlin
Pocket GPS Staff
Pocket GPS Staff


Joined: 02/11/2002 22:41:59
Posts: 11878
Location: Massachusetts, USA

PostPosted: Sat Oct 21, 2006 11:37 pm    Post subject: Reply with quote

The product ID for eVC4 is public.

http://www.microsoft.com/downloads/details.aspx?familyid=1DACDB3D-50D1-41B2-A107-FA75AE960856&displaylang=en

Quote:
Note: Use the following CD key when installing this software: TRT7H-KD36T-FRH8D-6QH8P-VFJHQ

_________________
Lutz

Report Map Errors here:
TomTom/TeleAtlas NAVTEQ
Back to top
View user's profile Send private message Send e-mail
rich_d_thomas
Occasional Visitor


Joined: Jan 25, 2004
Posts: 46

PostPosted: Sun Oct 22, 2006 12:21 am    Post subject: Reply with quote

Hi Lutz,

Good spotting, I didn't notice the key to be used for public use.

I managed to install this, using the key on the web page.

I'm still not much further, as when I try and run it, I get the following error message:

Microsoft eMBedded Visual C++ has discovered no CE platform SDK installed in the desktop.
Please install at least one CE platform SDK before launching Microsoft eMBedded Visual C++

Also, the path it's installed in is "Program Files\Microsoft eMbedded C++ 4.0" and the one that http://www.codeproject.com/ce/pocketpc_deploy.asp shows it to be installed in is "Program Files\Microsoft eMbedded Tools".

I then searched all sub folders for cabwiz.exe and couldn't find it.

Then I noticed that what I have downloaded and what you gave me the link for is version 4. The codeproject review refers to version 3.

So if I'm to produce the cab files, I need to find a way of getting cabwiz.exe somehow.

I can't understand why it's in version 3 and not in 4.

??????
Back to top
View user's profile Send private message
butt
Occasional Visitor


Joined: Jul 19, 2005
Posts: 10

PostPosted: Sun Oct 22, 2006 10:30 am    Post subject: Reply with quote

Richard

Would it be popssible to also extract lat,long heading and speed this way ????
Back to top
View user's profile Send private message
rich_d_thomas
Occasional Visitor


Joined: Jan 25, 2004
Posts: 46

PostPosted: Sun Oct 22, 2006 11:35 am    Post subject: Reply with quote

Hi Butt,

It certainly would be possible.

You can get any information out of TomTom that is available through the TomTom SDK API's.

The information I chose to extract is simulating a call to the GetRouteInfo() function.

The information that you are after can be extracted by simulating a call to the GetCurrentPosition() function.

The structure of the files to create and the files that TomTom will reply with are detailed in http://www.opentom.org/FileInterface

Just scroll down to where is says:

Quote:
echo –e " GetCurrentPosition....


Please let me know how you get on.

Richard.
Back to top
View user's profile Send private message
lbendlin
Pocket GPS Staff
Pocket GPS Staff


Joined: 02/11/2002 22:41:59
Posts: 11878
Location: Massachusetts, USA

PostPosted: Sun Oct 22, 2006 4:22 pm    Post subject: Reply with quote

Looks like Cabwiz is also packaged with the Theme Generator.

http://www.microsoft.com/windowsmobile/downloads/themegenerator.mspx
_________________
Lutz

Report Map Errors here:
TomTom/TeleAtlas NAVTEQ
Back to top
View user's profile Send private message Send e-mail
butt
Occasional Visitor


Joined: Jul 19, 2005
Posts: 10

PostPosted: Sun Oct 22, 2006 5:51 pm    Post subject: Reply with quote

i can probly do this in wincabcemanager when i get in to work during the week much easier thsn cabwiz ... drag and drop no nastyy inf file .
Back to top
View user's profile Send private message
milesmowbray
Occasional Visitor


Joined: May 22, 2006
Posts: 1

PostPosted: Mon Oct 23, 2006 11:16 am    Post subject: Reply with quote

You need the SDK for the relevant platform to go along with the eVC.

Pocket PC 2003:

http://www.microsoft.com/downloads/details.aspx?FamilyID=9996b314-0364-4623-9ede-0b5fbb133652&DisplayLang=en

These are free to download as well. CABWIZ will then be found at:

C:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Tools

This will also enable eVC to compile for PPC2003. If need other platforms just download the relevant SDK.

Good luck.
Back to top
View user's profile Send private message
captaincaveman
Occasional Visitor


Joined: Oct 23, 2006
Posts: 14

PostPosted: Mon Oct 23, 2006 5:06 pm    Post subject: Reply with quote

Hi,

Been viewing the forums for a couple of weeks now, and there's loads of useful info on here. But it was this thread that finally made me register!

I must say, fantastic work Richard! I've been following your procedure to replicate your success, and I can get everything running, EXCEPT for the SDK files you say are required to communicate with Tomtom. Are they obtainable without having to purchase the SDK from Tomtom, i.e. can they be distributed 'royalty free' or some other similar mechanism?

Cheers!
Back to top
View user's profile Send private message
captaincaveman
Occasional Visitor


Joined: Oct 23, 2006
Posts: 14

PostPosted: Mon Oct 23, 2006 5:37 pm    Post subject: Reply with quote

Hmm, are the 'message' and 'finished' files actually ones that I can create my self and drop into my scripts directory?
Back to top
View user's profile Send private message
rich_d_thomas
Occasional Visitor


Joined: Jan 25, 2004
Posts: 46

PostPosted: Mon Oct 23, 2006 8:16 pm    Post subject: Reply with quote

Hi captaincaveman,

Thanks for you interest and welcome aboard this great community :D

The SDK files can be created from scratch using any hex editor.

The SDK.TomTomNavigationServer.1050229.1.message is the one that specifies what function call we are simulating. It's got the name of the function, which ends in "V1" and then the last two characters are hex 7c and hex 00.

The SDK.TomTomNavigationServer.1050229.1.finished is just one that tells TomTom that there is a message with a function for it to process. The content of it is the word "finish", followed by three hex characters of hex 2e, hex 0a and hex 00.

If you need, just google for "hex editor" and you'll find free ones.

Once you’ve created these files, then yes, just place them into the scripts directory.

Please let me know how you get on and shout if you need any more help.

Lutz, if you're reading this, would it be possible to put links to these example files please?
Back to top
View user's profile Send private message







Posted: Today    Post subject: Pocket GPS Advertising

Back to top
Display posts from previous:   
Post new topic   Reply to topic    Pocket GPS World Forum Index -> TomTom Software-Only Products All times are GMT + 1 Hour
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Make a Donation



CamerAlert Database

Click here for the PocketGPSWorld.com Speed Camera Database

Download Speed Camera Database
22.113 (20 Nov 24)



WORLDWIDE SPEED CAMERA SPOTTERS WANTED!

Click here to submit camera positions to the PocketGPSWorld.com Speed Camera Database


12mth Subscriber memberships awarded every week for verified new camera reports!

Submit Speed Camera Locations Now


CamerAlert Apps



iOS QR Code






Android QR Code







© Terms & Privacy


GPS Shopping