Commits on May 24, 2014
Commits on Mar 24, 2012
  1. Fixed CSV format.

    committed Mar 24, 2012
  2. Fixed option handling.

    committed Mar 24, 2012
Commits on Mar 20, 2012
Commits on Mar 19, 2012
  1. Add copyright notices

    I, as the creator of this project, am making a decision to distribute
    this project under the GPLv2 license. Now you know it. Thank you. Live
    long and prosper.
    
    Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
    Timo Kokkonen committed Mar 19, 2012
Commits on Jun 24, 2011
  1. main: Print how many entries we have read from the meter

    This makes it easier for an inpatient user to wait until all the
    readings have been taken out from the device.
    
    Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
    Timo Kokkonen committed Jun 24, 2011
Commits on May 5, 2011
  1. Add support for printing out data to a file

    If no file is given, results are printed out to stdout, as before.
    
    Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
    Timo Kokkonen committed May 5, 2011
  2. utils: Add sanitize_ascii()

    This can be used to ensure all characters on an ascii array are
    printable.
    
    Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
    Timo Kokkonen committed May 5, 2011
Commits on May 1, 2011
  1. Separate initialization and data reading into a separate steps

    This makes it possible in future to do something useful with the data
    instead of just dumping it out to stdout.
    
    Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
    Timo Kokkonen committed May 1, 2011
  2. contour-protocol: Do not explicitly print out the proggress note

    Allow the proggress note to be only printed when a special read
    function is used.
    
    Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
    Timo Kokkonen committed May 1, 2011
  3. Refactor Contour USB communication routines into separate file

    Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
    Timo Kokkonen committed May 1, 2011
Commits on Apr 30, 2011
  1. If no suitable devices are found, wait until one is found

    This makes it more convenient to use this tool as it doesn't
    immediately bail out if it can't find a device to talk to.
    
    Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
    Timo Kokkonen committed Apr 30, 2011
Commits on Apr 29, 2011
  1. main: Print proggress percentage during device initialization

    Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
    Timo Kokkonen committed Apr 29, 2011
  2. Fix crossed vendor and product IDs

    Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
    Timo Kokkonen committed Apr 29, 2011
  3. hiddev: Coding convention fix

    Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
    Timo Kokkonen committed Apr 29, 2011
  4. hiddev: Print error message only when there is an error

    For example when device IDs don't match, there is no real error that
    needs to be printed.
    
    Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
    Timo Kokkonen committed Apr 29, 2011
  5. hiddev: Fix bug when matching incorrect device IDs

    If device IDs don't match, we must return negative error code in order
    to let the caller know about the error.
    
    Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
    Timo Kokkonen committed Apr 29, 2011
  6. main: Use default vendor and product IDs when no explicit device path…

    … is given
    
    Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
    Timo Kokkonen committed Apr 29, 2011
  7. options: Make verbose level adjustable

    Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
    Timo Kokkonen committed Apr 29, 2011
  8. hiddev: Add support for opening hid devices by vendor and product IDs.

    Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
    Timo Kokkonen committed Apr 29, 2011
  9. hiddev: Put debug traces behind trace() call

    This way user can adjust the desired tracing level and hide
    unnecessary debug messages at will.
    
    Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
    Timo Kokkonen committed Apr 29, 2011
Commits on Apr 28, 2011
  1. Read options from command line

    The usb device node and verbosity level is supported.
    
    Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
    Timo Kokkonen committed Apr 28, 2011
  2. Make excess debug messages to be hidden by default

    Only desired debug messages are shown depending on the tracing level.
    
    Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
    Timo Kokkonen committed Apr 28, 2011
Commits on Apr 27, 2011
  1. Add README file

    Anyone who is using this software should be aware that this is very
    experimental piece of software and might damage the device.
    
    Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
    Timo Kokkonen committed Apr 27, 2011
  2. Factor out misc functions into utils.[ch] files

    Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
    Timo Kokkonen committed Apr 27, 2011
  3. Refactor hiddev functions out from main.c

    Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
    Timo Kokkonen committed Apr 27, 2011
  4. Significantly reduce the delays between messages

    There only needs to be relatively short delay between the different
    messages, but the delay between different messages varies quite
    much. The delays introduced here are far from being optimal, but
    reducing the delays too much causes unexpected behaviour.
    
    Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
    Timo Kokkonen committed Apr 27, 2011
  5. Initial commit

    This version is extremely slow and prints huge amounts of verbose
    debug messages. But it is able to import the glucose readings from the
    device.
    
    Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
    Timo Kokkonen committed Apr 27, 2011