projects:gpstrack
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
projects:gpstrack [2008/09/09 21:55] – created rharrison1971 | projects:gpstrack [2008/09/09 22:17] (current) – rharrison1971 | ||
---|---|---|---|
Line 2: | Line 2: | ||
gpstrack is a small c programme designed to listen to a port with a GPS receiver connected to it generating NMEA 0183 strings. gpstrack will parse these strings and generated a track string suitable for email or url passing to the AJAX tracker. | gpstrack is a small c programme designed to listen to a port with a GPS receiver connected to it generating NMEA 0183 strings. gpstrack will parse these strings and generated a track string suitable for email or url passing to the AJAX tracker. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
====== Usage ====== | ====== Usage ====== | ||
+ | |||
+ | < | ||
+ | /* | ||
+ | * Robert Harrison | ||
+ | * rharrison (email at sign) hgf.com | ||
+ | * August 2008 | ||
+ | * | ||
+ | * Version 0.1 Beta | ||
+ | * | ||
+ | * This is a small C program to pass NMEA 0183 output on the GPS serial port | ||
+ | * and produce sentences used by the tracker on the UKHAS wiki. | ||
+ | * | ||
+ | * NMEA Protocol | ||
+ | * | ||
+ | * NMEA data is sent in 8-bit ASCII where the MSB is set to zero (0). | ||
+ | * The specification also has a set of reserved characters. These characters | ||
+ | * assist in the formatting of the NMEA data string. | ||
+ | * | ||
+ | * The specification also states valid characters and gives a table of | ||
+ | * these characters ranging from HEX 20 to HEX 7E. | ||
+ | * | ||
+ | * As stated in the NMEA 0183 specification version 3.01 the maximum number | ||
+ | * of characters shall be 82, consisting of a maximum of 79 characters between | ||
+ | * start of message $ and terminating delimiter < | ||
+ | * (HEX 0D and 0A). The minimum number of fields is one (1). | ||
+ | * | ||
+ | * Basic sentence format: | ||
+ | * | ||
+ | * $aaccc, | ||
+ | * | ||
+ | * $ Start of sentence | ||
+ | * aaccc | ||
+ | * “, | ||
+ | * c--c Data sentence block | ||
+ | * * | ||
+ | * hh Checksum field (the hexadecimal value represented in ASCII) | ||
+ | * < | ||
+ | * | ||
+ | * | ||
+ | * Usage : gpstrack -i <ID> -P < | ||
+ | * | ||
+ | * -i --id The identification tag to attach to the track string. | ||
+ | | ||
+ | | ||
+ | | ||
+ | * | ||
+ | * -P --password | ||
+ | | ||
+ | * | ||
+ | * -p --port | ||
+ | | ||
+ | * | ||
+ | * -f --freqency | ||
+ | | ||
+ | | ||
+ | * | ||
+ | * -e --email | ||
+ | | ||
+ | * | ||
+ | * -d --decimal | ||
+ | | ||
+ | * | ||
+ | * -r --repeat | ||
+ | | ||
+ | | ||
+ | * | ||
+ | * TODO | ||
+ | * | ||
+ | */ | ||
+ | </ | ||
+ | |||
+ | ====== Download ====== | ||
+ | {{projects: | ||
+ | |||
projects/gpstrack.1220997349.txt.gz · Last modified: 2008/09/09 21:55 by rharrison1971