1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338
|
2008-07-16 James R. Van Zandt <jrv@vanzandt.comcast.net>
* src/include/defs.h (ProgramVersion): version 0.41
* src/gps/getgpsinfo.c (getGPSVersion): make protocol parsing
robust to bogus count read from the device.
* README: My modifications are released under the GPL.
2006-05-08 James R. Van Zandt <jrv@vanzandt.comcast.net>
* Makefile (VERSION): use $(shell ), so it's only evaluated once.
(distdir): simplify evaluation (would probably fail for some
corner cases which don't occur here).
2006-05-07 James R. Van Zandt <jrv@vanzandt.comcast.net>
* Makefile (dist): new target, to make .tar.gz file
* src/main.c (InfoAboutGPS): Exit with nonzero status if GPS
doesn't respond.
* src/include/protocols.h: omit bogus "packed" attribute for
struct D100_Wpt_Type.
* src/gps/getgpsinfo.c (getGPSVersion): New calling sequence:
return nonzero status on error.
* src/gps/sendgpsinfo.c (sendGPSInfo): use new calling sequence for getGPSVersion.
* src/gps/getgpsinfo.c (getGPSInfo): use new calling sequence for getGPSVersion.
* src/include/defs.h (ProgramVersion): version 0.40
2005-06-05 James R. Van Zandt <jrv@debian.org>
* src/gps/getgpsinfo.c (doAlmanac): leave health flag ~1 if not
set in the packet.
2005-05-31 James R. Van Zandt <jrv@debian.org>
* src/gps/sendgpsinfo.c (sendGPSInfo): Report the number of tracks
uploaded.
2005-05-30 James R. Van Zandt <jrv@debian.org>
* src/main.c (usage): consolidate several calls to fprintf.
Document --help, --debug, and --verbose.
2005-05-12 James R. Van Zandt <jrv@debian.org>
* src/gps/garmincomm.c (CheckGPS): Fix wording of some messages
and comments.
* src/sendgpsinfo.c: move error messages to just after a test.
(saveFormat): add ";" after last case label, to silence gcc warning.
(field): If input line doesn't have enough tabs, fail with error
message.
(getFileFormat): rename buffer "data" -> "first". Test the input
file rather than relying on input switch to determine file format.
* src/main.c (main): recognize "--debug" switch even if more
letters are appended (e.g. "--debugging").
* src/include/protocols.h (enum): Add hex packet IDs as comments.
* src/main.c (PrintHeadLine): add to copyright printout
* src/Makefile (CFLAGS): remove -pedantic (unhelpful)
2005-05-08 James R. Van Zandt <jrv@debian.org>
* src/util.c (GetLine): lines starting with '#' in input file are
comments.
2005-05-05 James R. Van Zandt <jrv@debian.org>
* src/main.c (main): check whether specified input or output file
could be opened, and complain if not.
2005-05-02 James R. Van Zandt <jrv@debian.org>
* src/gps/getgpsinfo.c (doTrack_xmap): functionality moved into
doWaypoint.
(doTrack): functionality moved into doWaypoint.
(doWaypoint): factored function into read-from-device (loading a
struct) then write-to-file. For CSV, supporting waypoint, route,
and track formats. For MAYKO, supporting route and track formats.
* src/include/defs.h (ProgramYear): update from 1995 to 2005.
(Apparently had not been noticed by previous maintainers.)
2005-05-01 James R. Van Zandt <jrv@debian.org>
* src/main.c (main): Prevent buffer overflow when copying
filename. Allow FILENAME_MAX (POSIX value) characters in
filename. Added command line options --debug (replacing #define
DEBUG) and --verbose. New variable file_format selects format of
output file, default is TSV (tab separated value), otherwise
MAYKO. (Planning for comma separated value (CSV), and others.)
2005-04-22 James R. Van Zandt <jrv@debian.org>
* src/gps/garmincomm.c (getGPSack): If expecting an ACK and packet
ID for received packet is neither ACK nor NAK, just discard it.
(Sometimes getting packet with ID=9, which isn't even listed in
the ICD).
2005-04-15 James R. Van Zandt <jrv@debian.org>
* src/gps/getgpsinfo.c (saveFormat): If format isn't recognized,
use DDD.
2005-04-10 James R. Van Zandt <jrv@debian.org>
* src/util.c (xmalloc): safely allocate memory from heap.
* src/gps/sendgpsinfo.c (getFileFormat): rename
getFileData->getFileFormat for clarity.
* src/gps/getgpsinfo.c (doAlmanac): Read almanac data in any of
the Garmin formats. Print time of applicability (AKA almanac data
reference time) from packet (was always printing 32768). Print
satellite ID from packet if available (was assuming packets are
read in satellite order, starting at 001). Print health from
packet if available (was always printing 000).
2005-04-09 James R. Van Zandt <jrv@debian.org>
* src/gps/sendgpsinfo.c (sendGPSInfo): fix spelling of "transferred".
2005-04-08 James R. Van Zandt <jrv@debian.org>
* src/include/protocols.h (enum): adjust spacing of L001 enum
and "packed" attribute declarations.
* src/gps/getgpsinfo.c (doWaypoint): Handle route and track
packets as well as waypoint packets.
2005-04-07 James R. Van Zandt <jrv@debian.org>
* src/gps/getgpsinfo.c (doWaypoint): waypoint name can be up to 15
characters (for models with zero-terminated strings).
(getGPSInfo): reformat code for compactness.
2005-04-06 James R. Van Zandt <jrv@debian.org>
* src/include/protocols.h (struct): Add "packed" attribute to all
structs, so compiler doesn't add padding.
2005-04-02 James R. Van Zandt <jrv@debian.org>
* src/gps/garmincomm.c (sendGPSMessage): added separate buffer for
outgoing message, so it won't be necessary to write the ACK before
reading the corresponding packet.
(getGPSack): new function to read and validate the ACK packets.
* src/gps/sendgpsinfo.c: records() accepts file pointer as a
parameter instead of via a global variable. Rename variables
"refNum" and "FileRefNum" to "ifile".
* src/gps/getgpsinfo.c (getGPSVersion): If the device doesn't
implement the protocol capability protocol, deduce its
capabilities from the product ID and software version.
* src/main.c (main): Allow serial device to be either part of the
switch ("-p/dev/ttyS0") or in the next argument ("-p /dev/ttyS0").
2005-03-31 James R. Van Zandt <jrv@debian.org>
* src/gps/getgpsinfo.c (getGPSVersion): If the device implements
the protocol capability protocol, save the protocols supported in
a string.
* document the waypoint packet formats implemented so far (D100
and D108).
* util.c: save the Garmin product ID from the product data packet.
2005-03-27 James R. Van Zandt <jrv@debian.org>
* getgpsinfo.c (getGPSInfo): Calculate total (=number of records)
in endian-neutral fashion.
Revision History:
=================
GPStrans (version 0.39) - release 01/06/16
------------------------------------------
Changed by Joao Seabra
* Changed code to GNU GPL (with Carsten Tschach's permission)
This and future releases will be totally under GNU GPL
* Added altitude support for etrex waypoint download
* man page corrections and changes ( Thanks to James R. Van Zandt )
* Changed default model to n to avoid misterious failures after
upgrades ( Thanks to James R. Van Zandt )
* Removed deb dir ( Thaks to James R. Van Zandt )
* Source code indented (GNU style)
Changed by David Gesswein djg@pdp8online.com
* Fixed waypoints to work with GPSII+.
* Fixed calculation of UTM zone and conversion from UTM to
lat-lon
* Wrote comments for waypoints left justified in file since the
upload code sent the comment with all the extra spaces right
justifying added (gps/sendgpsinfo.c)
* Code cleanup (warnings from gps/dms.c and grid/kkj.c). Don't
know if kkj.c fix is really correct.
GPStrans (version 0.38) - release 01/03/03
------------------------------------------
* Code clean-up and minor code correction
* -z command line option added
* setup config support for etrex and other models
* prepared the setup to support all garmin models (code)
* removed the -tm option. Use setup or -z option
* Correct download of waypoints for etrex and other models
* Corrected the isblank() to be fully ANSI comliant
* Updated the uninstall to remove the ~/.gpstrans
GPStrans (version 0.37) - release 01/02/19
------------------------------------------
* Code clean-up and some minor code correction.
* Added command line time support for etrex (and other models like)
* Added install/uninstall
* Documentation updated
* Added a TODO
Matthias Kattanek <mattes@ugraf.com> has not answered my mails about
gpstrans update.I would like to know if he plans to keep up with gpstrans
or not.
Since i have permission from the author i've decided to post a new version...
Bug reports are welcome to <seabra@ci.aac.uc.pt>
GPStrans (version 0.36) - release 00/07/15
------------------------------------------
* Thanks to "Andreas Lange" <Andreas.Lange@Rhein-Main.de>
to implementing the german grid (aka Gauss-Krueger Grid)
and adding the potsdam map datum.
GPStrans (version 0.35) - release 00/03/06
------------------------------------------
* Thanks to "Anders Lennartsson" <abel@mech.kth.se>
for providing a patch for swedish grid .
GPStrans (version 0.34a) - release 98/08/17
------------------------------------------
* Thanks to "Jim R. Van Zandt" <jrv@vanzandt.mv.com>
for the modified man page.
GPStrans (version 0.34) - release 98/08/15
------------------------------------------
* Up and download routes (*.xrou) in Mayko mXmap format
* Correct route upload counter (could cause segmentation fault)
GPStrans (version 0.33-mk) - release 98/07/28
---------------------------------------------
Thanks to "Jim R. Van Zandt" <jrv@vanzandt.mv.com>,
who send a patch which addresses several problems in addition to the
broken "extract model name and software version" function:
* Added wait, to allow receiver time to respond with model name and
software version.
* Increased maximum record length read from device, to suit Garmin 90
(bug reported by Klaus Wacker <wacker@Physik.Uni-Dortmund.DE>)
* Maximum length line read from data file now limited to size of
available buffer.
* ascii/gps/garminserial.c: setting CLOCAL, so /dev/ttyS? works
(formerly, only /dev/cua? worked)
* ascii/main.c: Modified byte order conversions to work correctly on
either big endian or little endian machine.
* The format for a time should be %ld.
* fix some English spelling and usage errors.
* latlong.c: Under Linux, PI is already #defined in math.h.
* gpstrans.1: Added circuit diagrams, added highlighting, noted that
-s saves the values in ~/.gpstrans.
GPStrans (version 0.32b-mk) - release 98/04/23
--------------------------------------------------
- hacked to save track data Mayko-Xmap format (.xlog)
- version 0.32b-mk (versa 0.32-mk) will calculate speed
based on distance and time between two gps points.
GPStrans (version 0.31beta-js1) - release 12/10/96
--------------------------------------------------
- Contains only the ascii version, hacked to
work with Garmin 45XL in Linux.
- A Finnish national grid (one-zone KKJ called
yhtenaiskoordinaatisto, Grid 27E) implemented.
GPStrans (version 0.31beta) - release 06/07/95
---------------------------------------------
- Bugfix: Input-file will be opened for writing.
GPStrans (version 0.3beta) - release 06/05/95
---------------------------------------------
- A full working ASCII-Version comes with gpstrans: with extra features
like adjusting unix-clock from GPS.
- Fix a bug in UTM convertion
- The X11-Version is now called 'xgpstrans' and the ASCII-Version is
'gpstrans'
GPStrans (version 0.2beta) - release 05/23/95
---------------------------------------------
- Identify GPS Model in about-window
- Menu on Quit: Let decide to Cancel, Just Quit and Turn of GPS and
Quit.
GPStrans (version 0.1beta) - release 05/18/95
---------------------------------------------
- First public release of GPStrans
|