Solved

GPS NMEA Input Command to trigger GPS unit

Posted on 2004-08-11
9
1,044 Views
Last Modified: 2008-03-10
I have written a bespoke software application to monitor a Leadtek GPS 9532 mouse receiver.

Before I can use my software I must first initialise the GPS unit with Winfast Navigator (the software suppied with the GPS unit).

Once the GPS has been initialised with Winfast Navigator, I can then shut Winfast Navigator down and launch my own software.

I only need to load Winfast Navigator each time I power up the GPS unit.

Whilst most GPS units blindly output the NMEA data, it appears that this Leadtek unit requires an input message to be sent to it before it will output any data.

Can someone please identify what this input message is - its driving me mad.

Regards in advance

Mike
0
Comment
Question by:mnewett
9 Comments
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 11774941
>I only need to load Winfast Navigator each time I power up the GPS unit.
I thought all GPS need to be configured only once. Will investigate...
0
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 11775143
Ok, I guess your GPS start allways in SIRF protocol, so you have to send a command to switch.
SIRF is a messy binary protocol, but have found a manual:
Command 129 will switch but you have to send extra control characters.
http://www.rayming.com/download/SiRF%20Binary%20Protocol.pdf
0
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 11775159
Also explained here:
http://www.sectron.cz/md/cz/pro/gps/download/gps_protocol.pdf

Command:
ASCII 129, or
Hex 81
0
 

Author Comment

by:mnewett
ID: 11779225
I have tried sending the following string exactly as it appears below - with no carriage returns or line feeds. Still no luck.

A0A200188102010100010501050100010001000100010001000112C0016AB0B3

Should the message be send as a single string - or should it be split up and sent as 3 strings (start sequence, payload and end sequence)?

Should I be including carriage returns or line feeds?
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 11779535
are you sending an ASCII "string"? Or you are sending true binary data?

ASCII string will have 64 bytes long, binary string will have 32 bytes. The correct answer is the sencond one.
Also you must not include CR or LF at the end


0
 
LVL 5

Expert Comment

by:vilia
ID: 11827392
Hi mnewett,

Have you found a solution for the GPS initialization? If the question is open, please let us know so we can help you.
0
 

Author Comment

by:mnewett
ID: 11887372
Thanks for the advice guys - but I've finally found the problem.

The flow control within my application was defaulting to ON instead of OFF - hence the need to run Winfast Navigator in order to initialise the flow control correctly first

I have now found a way of fixing the problem
0
 
LVL 1

Accepted Solution

by:
DarthMod earned 0 total points
ID: 12026937
Submitted to PAQ with points refunded (500)

DarthMod
Community Support Moderator
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

I feel like more and more people want to know how to programmatically convert addresses into geospatial locations. So in this article, I will show you how you can do it with Bing Maps. I'm going to use PowerShell, which is a nice scripting language,…
Introduction This article is designed to assist GIS (Geographic Information System) and GPS (Global Positioning System) developers using ESRI ArcGIS and other spatial information management systems.   For the uninitiated the concept of projectio…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now