Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2017-01-15 | Move the readings-to-csv conversion to the Reading class. | Diego Elio Pettenò | 1 | -3/+1 | |
2017-01-15 | Fetch the device information in all commands. | Diego Elio Pettenò | 1 | -4/+6 | |
It's usually cheap and can provide assurance the device is connected and the right type. | |||||
2017-01-15 | Wrap the meter information to a namedtuple, instead of a string. | Diego Elio Pettenò | 1 | -1/+5 | |
This matches the gdef MeterInfo message, and produces a similar (though not identical) string as before. Importantly, it allows providing semantic information. | |||||
2014-01-29 | Add connect/disconnect methods to otultra2 and send \x11\r on connection. | Diego Elio Pettenò | 1 | -0/+4 | |
The otultraeasy requires explicit connect/disconnect so implementing this before is helpful. | |||||
2013-12-14 | Add confirmation prompt to zero log argument | jimsiff | 1 | -2/+7 | |
I’m sure there’s a cleaner way to do this, but I wanted a confirmation when zeroing the glucometer data log. | |||||
2013-12-11 | Clean up the code to remove methods that should be functions and imports. | Diego Elio Pettenò | 1 | -1/+0 | |
2013-12-11 | Allow sorting the dumped data; sort by date by default. | Diego Elio Pettenò | 1 | -1/+11 | |
This changes the dump output for otultra2 devices as they would dump data in record format, last reading first. | |||||
2013-12-11 | glucometer.py: if no unit is provided on command line, use the default of the meter. | Diego Elio Pettenò | 1 | -1/+5 | |
2013-12-11 | Generalise the meal/comment handling to the Reading object. | Diego Elio Pettenò | 1 | -2/+3 | |
While not all readers implement before/after meal notes, it's possible to implement an heuristics for that. | |||||
2013-12-08 | Better error handling. | Diego Elio Pettenò | 1 | -21/+23 | |
If any exception is thrown by the library, print an error statement and return a non-zero exit value. | |||||
2013-12-08 | Add a new command to dump the identification of the glucometer. | Diego Elio Pettenò | 1 | -4/+8 | |
This allows to get the serial number, as well as other details about the glucometer once it's installed. | |||||
2013-12-08 | otultra2: implement a zero log command to clear a device's memory. | Diego Elio Pettenò | 1 | -0/+9 | |
2013-12-08 | otultra2: implement decoding of meal and comment codes. | Diego Elio Pettenò | 1 | -1/+2 | |
This also dumps the comment with the dump command. | |||||
2013-09-29 | Read more data out of the OTUltra2 dump lines. Return data in a Reading object. | Diego Elio Pettenò | 1 | -2/+2 | |
The Reading object will be extended to cater for flags, comments and other device-specific information. | |||||
2013-08-04 | glucometer: allow providing a freeform arbitrary date to set on the meter. | Diego Elio Pettenò | 1 | -2/+10 | |
2013-08-03 | glucometer: mark executable. | Diego Elio Pettenò | 1 | -0/+0 | |
2013-08-03 | Relicense everything under MIT license. | Diego Elio Pettenò | 1 | -1/+1 | |
There is no reason for me to use GPLv3 now that I'm not using the CRC32-Sick code, so I'll go with the most liberal license out there. | |||||
2013-08-03 | glucometer: remove unused argv usage. | Diego Elio Pettenò | 1 | -2/+1 | |
2013-08-03 | Update function names to follow PEP8. | Diego Elio Pettenò | 1 | -3/+3 | |
2013-08-03 | Add utf-8 encoding specification to all files. | Diego Elio Pettenò | 1 | -0/+1 | |
2013-08-03 | glucometer: add support for selecting output units on dump. | Diego Elio Pettenò | 1 | -1/+4 | |
2013-08-03 | glucometer: fix script to actually work and provide actions. | Diego Elio Pettenò | 1 | -2/+13 | |