]> git.itanic.dy.fi Git - glucose/log
glucose
13 years agoRead options from command line
Timo Kokkonen [Thu, 28 Apr 2011 18:49:18 +0000 (21:49 +0300)]
Read options from command line

The usb device node and verbosity level is supported.

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
13 years agoMake excess debug messages to be hidden by default
Timo Kokkonen [Thu, 28 Apr 2011 18:22:14 +0000 (21:22 +0300)]
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>
13 years agoAdd README file
Timo Kokkonen [Wed, 27 Apr 2011 19:14:22 +0000 (22:14 +0300)]
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>
13 years agoFactor out misc functions into utils.[ch] files
Timo Kokkonen [Wed, 27 Apr 2011 19:01:14 +0000 (22:01 +0300)]
Factor out misc functions into utils.[ch] files

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
13 years agoRefactor hiddev functions out from main.c
Timo Kokkonen [Wed, 27 Apr 2011 18:09:18 +0000 (21:09 +0300)]
Refactor hiddev functions out from main.c

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
13 years agoSignificantly reduce the delays between messages
Timo Kokkonen [Wed, 27 Apr 2011 17:59:31 +0000 (20:59 +0300)]
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>
13 years agoInitial commit
Timo Kokkonen [Wed, 27 Apr 2011 15:25:49 +0000 (18:25 +0300)]
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>