obdgpslogger(1) Log OBD and GPS data to sqlite


obdgpslogger [ options ]


-s|--serial <serialport>
Open this serial port device to connect to the elm327 device.
-c|--count <count>
Take this many samples at most. Leaving this option out defaults to incessant sampling.
-u|--output-log <filename>
Redirect stdout and stderr to this file
-l|--serial-log <filename>
Log all serial comms into this file.
-a|--samplerate <samples-per-second>
Sample at most this many times a second. The software will sleep temporarily at the end of each loop if appropriate. Keep in mind there is an upper limit to samplerate, typically capped by I/O on your serial port. Set this to zero to sample as fast as possible. BE WARNED. Values greater than ten here are forbidden for cars predating April 2002. If you think your car postdates early 2002, and you'd like to sample as fast as possible, the -o option may help
Enable certain elm327 optimisations. This will [usually] make sampling faster [not a noticeable amount if you're only sampling once a second], but makes it much easier to accidentally disobey the standard if you're sampling as fast as possible.
Dump the commands your OBD device claims to support to stdout, then exit.
Convert the program to a background daemon after successfully initialising.
-B|--modifybaud [rate]
Attempt to upgrade baudrate to rate. If rate isn't specified, we'll just take a few guesses and go with what works.
-b|--baud <rate>
Attempt to set serial port baudrate to this after launching. Passing zero tells it to try and guess, or -1 to not try changing at all.
-d|--db <database>
Open this database to log data to. The software will create the database if it does not exist, and create the tables it needs.
-i|--log-columns <column names>
Comma-separated list of column names. These are the short names listed when you use "-p" to get your car's capabilities
Print out version number and exit.
Print out help and exit.


Gary "Chunky Ks" Briggs <[email protected]>