summaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Fix syntax error.Diego Elio Pettenò2019-07-011-1/+2
* Introduce an explicit InvalidDateTime exception for meters with unset time.Diego Elio Pettenò2019-07-013-4/+18
* handle device.get_datetime() value error exceptionmatmutant2019-07-011-0/+2
* common: Correctly show ketone sample type in csvAndreas Sandberg2019-05-191-1/+1
* fsprecisionneo: Scale ketone readings to mmol/lAndreas Sandberg2019-05-193-14/+18
* freestyle support: restore correct order of parameters.Diego Elio Pettenò2019-05-162-1/+24
* new line at end of .gitignore, rename arresult entry mapBen2019-05-052-3/+3
* add time adjustments to fslibre dumpBen2019-05-053-9/+45
* Bug fix: incorrect argument order in call to construct.Const.André Caldas2019-05-051-1/+1
* Add SPDX license to .dir-locals.el.Diego Elio Pettenò2019-03-311-0/+1
* fslibre: correct the ketone reading.Diego Elio Pettenò2019-03-311-2/+9
* Replace epydoc metadata with SPDX identifiers.Diego Elio Pettenò2019-02-0827-126/+55
* Replace flameeyes.eu with flameeyes.com.Diego Elio Pettenò2019-02-0828-29/+30
* hiddevice: fix support for modern hidapi.Diego Elio Pettenò2019-01-291-3/+3
* exceptions: avoid using kwargs for message, as it's not correct.Diego Elio Pettenò2019-01-281-2/+2
* Include the OneTouch Select Plus Flex in the otverio2015 list.Diego Elio Pettenò2018-12-191-16/+18
* otverio2015: fix string parsing to include the full prefix.Diego Elio Pettenò2018-12-191-5/+2
* Fix most of the pylint output, and hide away some that is not needed.Diego Elio Pettenò2018-12-1217-202/+228
* Simplify exceptions hierarchy.Diego Elio Pettenò2018-12-121-14/+10
* Reindent all files to match the 4-spaces indentation.Diego Elio Pettenò2018-12-126-630/+630
* hiddevice: split handle_ and hidapi_handle_.Diego Elio Pettenò2018-12-121-9/+15
* Sprinkle more type annotations throughout the codebase.Diego Elio Pettenò2018-12-126-7/+30
* Fix indentation of common.py.Diego Elio Pettenò2018-12-121-83/+86
* Make GlucoseReading and KetoneReading use attrs, too.Diego Elio Pettenò2018-12-121-44/+24
* Remove --sort-by flag.Diego Elio Pettenò2018-12-121-9/+1
* Experimentally start adding type annotations, and mypy configs.Diego Elio Pettenò2018-12-125-13/+38
* otverio2015: fix one remaining entry referencing the now-gone COMMAND_SUCCESS constant.Diego Elio Pettenò2018-12-121-1/+1
* Use [attrs](http://www.attrs.org/) instead of namedtuple for MeterInfo.Diego Elio Pettenò2018-12-122-18/+21
* sdcodefree: allows an arbitrary number of null-bytes before challenge.Diego Elio Pettenò2018-12-091-6/+9
* Travis: make dist xenial for python 3.7 supportDiego Elio Pettenò2018-11-161-0/+2
* Travis: add Python 3.7 support.Diego Elio Pettenò2018-11-161-0/+1
* tests: simplify and cleanup.Diego Elio Pettenò2018-11-166-41/+26
* otultraeasy: factor out the packet creation, and add tests.Diego Elio Pettenò2018-11-162-10/+49
* Don't fold the command prefix into the LifeScanPacket.Diego Elio Pettenò2018-11-164-53/+53
* test-requirements: add some minimum version specifications.Diego Elio Pettenò2018-07-241-3/+3
* Fix sdcodefree driver, the same as the lifescan changes.Diego Elio Pettenò2018-07-241-1/+1
* fix invalid self-referenceNoel Cragg2018-07-241-1/+1
* change 999 to infWesley T. Honeycutt2018-05-231-1/+1
* Fix for non-integer errorsWesley T. Honeycutt2018-05-231-1/+5
* Add double quotes according to @arvchristos suggestion on 'Example Usage' sectionNaokazu Terada2018-04-171-1/+1
* freestyle support: add debug logging of commands sent and received.Diego Elio Pettenò2018-03-171-0/+4
* fsoptium: add debug logging when sending commands.Diego Elio Pettenò2018-03-171-0/+4
* Update lifescan_binary_protocol.pyArkadiusz Bulski2018-03-171-2/+2
* Update sdcodefree.pyArkadiusz Bulski2018-03-171-2/+2
* CString supports UTF-16/32-LE/BEArkadiusz Bulski2018-03-171-2/+1
* SymmetricMapping was renamed to MappingArkadiusz Bulski2018-03-174-5/+5
* corected timestamp commentArkadiusz Bulski2018-03-171-1/+1
* construct code fixed improper embeddingArkadiusz Bulski2018-03-174-15/+13
* construct-code is (almost) uptodateArkadiusz Bulski2018-03-176-16/+17
* construct: the construct API is significantly unstable, fix to 2.8.22 only.Diego Elio Pettenò2018-02-113-9/+9
* Until Issue #38 is fixed, expect construct 2.8, and not 2.9.Diego Elio Pettenò2018-02-112-8/+8
* otverioiq: remove untested marking and list supported features.Diego Elio Pettenò2018-01-072-4/+10
* otverioiq: zero log is tested, it works.Diego Elio Pettenò2018-01-071-1/+1
* otverioiq: fix up set_datetime method.Diego Elio Pettenò2018-01-071-2/+4
* otverioiq: fix definition of the reading response, fix get_reading_count method.Diego Elio Pettenò2018-01-071-5/+3
* otverioiq: fix up a couple of syntax errors, and update baud rate.Diego Elio Pettenò2018-01-071-3/+3
* otverioiq: fix up syntax.Diego Elio Pettenò2018-01-071-6/+4
* otverioiq: fix typo.Diego Elio Pettenò2018-01-071-1/+1
* otverioiq: add to the list and to the dependency file.Diego Elio Pettenò2018-01-072-0/+2
* otverioiq: implement full parsing of the response structure.Diego Elio Pettenò2018-01-071-3/+19
* otverioiq: link-control is not used.Diego Elio Pettenò2018-01-071-1/+1
* lifescan binary protocol: factor out _COMMAND_SUCCESS.Diego Elio Pettenò2018-01-074-26/+27
* otverioiq: update version and serial number requests.Diego Elio Pettenò2018-01-061-2/+4
* lifescan binary protocol: make the packet generator a function.Diego Elio Pettenò2018-01-064-56/+65
* otultraeasy: fix AttributeErrors after factoring out link_control struct.Diego Elio Pettenò2018-01-061-4/+5
* otverioiq: add totally untested driver.Diego Elio Pettenò2018-01-061-0/+194
* lifescan_binary_protocol: factor out glucose unit mappings.Diego Elio Pettenò2018-01-063-13/+11
* lifescan_binary_protocol: create a new module to support LifeScan drivers.Diego Elio Pettenò2018-01-063-60/+73
* tests: improve code quality by passing the linter.Diego Elio Pettenò2018-01-013-6/+7
* test_lifescan: rename from test_otultraeasy, and cleanup.Diego Elio Pettenò2018-01-011-12/+1
* otverio2015: reorder functions to match otultraeasy.Diego Elio Pettenò2018-01-011-5/+5
* otultraeasy: merge _send_request and _read_response and match otverio2015.Diego Elio Pettenò2018-01-011-41/+35
* otultraeasy: rename _ZERO_LOG_REQUEST to _MEMORY_ERASE_REQUEST.Diego Elio Pettenò2018-01-011-2/+2
* otultraeasy: wrap around construct exceptions to MalformedCommand.Diego Elio Pettenò2018-01-011-11/+20
* otverio2015: rewrite using construct.Diego Elio Pettenò2018-01-013-236/+232
* otultraeasy: factor out the construct Timestamp implementation.Diego Elio Pettenò2018-01-014-13/+115
* otultraeasy: rewrite using construct for parsing.Diego Elio Pettenò2018-01-014-277/+201
* sdcodefree: rewrite using construct and improve readability.Diego Elio Pettenò2017-12-313-103/+94
* serial devices: disable xonxoff by default.Diego Elio Pettenò2017-12-311-1/+1
* freestyle: rename miscopied constant name.Diego Elio Pettenò2017-12-301-2/+2
* Run test and build on Travis CIMuhammad Kaisar Arkhan2017-12-302-0/+16
* Use pytest to run testsMuhammad Kaisar Arkhan2017-12-304-1/+41
* Add more tests to cover the basic translation of objects to strings.Diego Elio Pettenò2017-12-291-0/+74
* Fix error in meter info output, after conversion of Unit to enum.Diego Elio Pettenò2017-12-291-1/+1
* Fix dependency name for absl-py.Diego Elio Pettenò2017-12-281-1/+1
* freestyle: replace the custom struct and bytemangling with construct.Diego Elio Pettenò2017-12-283-26/+30
* deps: correct dependency for fsoptium.Diego Elio Pettenò2017-12-281-1/+1
* Add driver dependencies to setup.py, and document how to install this.Diego Elio Pettenò2017-12-282-0/+25
* Rewrite setup.py to use setuptools.Diego Elio Pettenò2017-12-281-22/+33
* Rename the shim to match the old name.Diego Elio Pettenò2017-12-281-0/+0
* Move the binary script to glucometerutils/ and create a starting shim.Diego Elio Pettenò2017-12-282-3/+7
* Remove misleading MANIFEST template.Diego Elio Pettenò2017-12-281-1/+0
* Update Python version target in the README as well.Diego Elio Pettenò2017-12-281-1/+1
* Update documentation to be more useful.Diego Elio Pettenò2017-12-281-13/+21
* test: use byte constants instead of encoding on the fly.Diego Elio Pettenò2017-12-281-2/+2
* tests: fix OneTouch tests to use Python's own mock, and leverage absl-py.Diego Elio Pettenò2017-12-282-53/+26
* Fix up link to the site.Diego Elio Pettenò2017-12-281-1/+1
* test_common: use absl-py to increase coverage, and simplify.Diego Elio Pettenò2017-12-281-8/+23
* accucheck_reports: fix bug for mg/dL native meters.Diego Elio Pettenò2017-12-283-17/+11
* Use Python3 Enum class for measurement methods.Diego Elio Pettenò2017-12-282-10/+11
* Use Python3 Enum class for meal flags.Diego Elio Pettenò2017-12-285-18/+19
* Use Python3 Enum class for glucose units.Diego Elio Pettenò2017-12-2812-43/+36
* Raise minimum Python version to 3.4, to allow using the enum module.Diego Elio Pettenò2017-12-282-2/+3
* otultraeasy: fix wrong module name for shared lifescan code.Diego Elio Pettenò2017-11-141-4/+4
* Fix with_ketoneLeonard Lausen2017-10-024-9/+4
* Fix ketone readingLeonard Lausen2017-10-024-4/+9
* Fix syntax error in fsprecisionneo.pyLeonard Lausen2017-10-011-1/+1
* glucometer.py: add --with-ketone option to the dump actionSamuel Martin2017-09-251-0/+7
* fsprecisionneo: add ketone reading supportSamuel Martin2017-09-251-8/+19
* fslibre: add ketone reading supportSamuel Martin2017-09-251-4/+24
* fslibre: set measure_method when parsing recordsSamuel Martin2017-09-251-2/+7
* common: introduce the KetoneReading classSamuel Martin2017-09-251-3/+32
* common: rename Reading class into GlucoseReading classSamuel Martin2017-09-2510-12/+12
* glucometer.py: restrict sorting choices to the common reading fieldsSamuel Martin2017-09-251-1/+1
* common: add measure_method field to _ReadingBase classSamuel Martin2017-09-251-5/+10
* common: add constants for measure methodsSamuel Martin2017-09-251-0/+4
* fslibre: fix reading-type commentSamuel Martin2017-09-251-1/+1
* add udev rulesSamuel Martin2017-09-251-0/+30
* fslibre: fix insulin displaySamuel Martin2017-09-131-4/+4
* otverio2015: fix _MEAL_CODES map.Diego Elio Pettenò2017-09-131-3/+3
* otverio2015: expose pre-/post-meal flags for Select Plus devices.Diego Elio Pettenò2017-09-131-7/+15
* otverio2015: fix readings on Select Plus readers (Issue #22).Diego Elio Pettenò2017-09-131-3/+4
* otverio2015: add debug logging to help track Issue #22.Diego Elio Pettenò2017-09-131-2/+8
* Remove the gdef submodule import.Diego Elio Pettenò2017-09-042-3/+0
* Tested with FreeStyle Optium NeoWarren Moore2017-07-241-1/+1
* Fix typo on import statementRyan Jarvis2017-06-241-1/+1
* Use python3 in the shebang to mark this as not Python 2-compatible.Diego Elio Pettenò2017-06-181-1/+1
* Raise an exception right away if the Python version is unsupported.Diego Elio Pettenò2017-06-151-0/+4
* freestyle: add some debugging information.Diego Elio Pettenò2017-06-151-0/+3
* hiddevice: default to no timeout, like before.Diego Elio Pettenò2017-06-151-5/+5
* fsprecisionneo: FreeStyle Optium Neo H has been tested workingDiego Elio Pettenò2017-06-071-1/+1
* hiddevice: make hidapi calls take a timeout, default to 1 second.Diego Elio Pettenò2017-06-061-1/+8
* Add new model name to list of supported devices.Diego Elio Pettenò2017-06-051-0/+1
* Update message and fix line length.Diego Elio Pettenò2017-06-051-1/+2
* hiddevice: add a 1-second timeout to reads.Diego Elio Pettenò2017-06-051-1/+6
* Add a ne support class for HID-based devices.Diego Elio Pettenò2017-06-043-36/+90
* Abbott devices: add support for using hidapi library.Diego Elio Pettenò2017-06-036-14/+49
* Merge pull request #13 from DorianScholz/make_dateutil_optionalDiego Elio Pettenò2017-05-301-2/+4
|\
| * Make dateutil optional:Dorian Scholz2017-05-301-2/+4
* | Merge pull request #12 from DorianScholz/show_import_errorDiego Elio Pettenò2017-05-301-3/+3
|\ \
| * | Show import error when loading driver, so the actual cause of the problem can be seenDorian Scholz2017-05-301-3/+3
| |/
* | Merge pull request #11 from DorianScholz/fix_encoding_infoDiego Elio Pettenò2017-05-303-0/+2
|\ \
| * | Fix encoding info and add missing __init__.py fileDorian Scholz2017-05-303-0/+2
| |/
* | Merge pull request #10 from DorianScholz/fix_fslibre_parsingDiego Elio Pettenò2017-05-301-5/+9
|\ \ | |/ |/|
| * Fix IndexError and KeyError:Dorian Scholz2017-05-301-5/+9
|/
* Add the Optium Neo as an untested supported device.Diego Elio Pettenò2017-04-171-1/+4
* All drivers: move documentation of features from README to docstring.Diego Elio Pettenò2017-04-179-44/+101
* Add support for a "help" action that prints the driver module's docstring.Diego Elio Pettenò2017-04-172-1/+24
* Serial drivers: factor out opening of the serial port to a new base class.Diego Elio Pettenò2017-04-175-49/+85
* Remove unused constants.Diego Elio Pettenò2017-04-151-4/+0
* serial drivers: if no --device parameter is given, look for default cable.Diego Elio Pettenò2017-04-154-21/+21
* fsoptium: use logging instead of writing to stderr directly.Diego Elio Pettenò2017-04-151-3/+2
* glucometer: make the error fatal and more clear when setting an invalid date.Diego Elio Pettenò2017-04-151-2/+4
* glucometer: log a better error if the driver name is not found.Diego Elio Pettenò2017-04-151-1/+8
* all drivers: make --device optional at the tool level.Diego Elio Pettenò2017-04-159-2/+45
* Add a --vlog option to enable verbose logging.Diego Elio Pettenò2017-02-251-0/+8
* fslibre: parse and output the scan and blood tests.Diego Elio Pettenò2017-02-241-19/+137
* fslibre: new driver for Abbott FreeStyle Libre download.Diego Elio Pettenò2017-02-232-0/+75
* sdcodefree: reformat and cleanup.Diego Elio Pettenò2017-02-091-135/+138
* Merge pull request #8 from gonzojive/masterDiego Elio Pettenò2017-01-201-1/+1
|\
| * Include glucometerutils.support in setup.py.Red Daly2017-01-201-1/+1
* | Merge pull request #7 from gonzojive/masterDiego Elio Pettenò2017-01-201-1/+1
|\|
| * Open OneTouch Verio devices in readwrite mode by default.Red Daly2017-01-201-1/+1
|/
* freestyle: error out if hidraw device does not exist.Diego Elio Pettenò2017-01-171-0/+4
* fsinsulinx: add untested FreeStyle InsuLinx driver.Diego Elio Pettenò2017-01-172-1/+68
* fsprecisionneo: move the version and serial number information to the common support class.Diego Elio Pettenò2017-01-172-10/+10
* fsprecisionneo: fix mistake in readings dump command.Diego Elio Pettenò2017-01-171-1/+1
* freestyle: improve error message on command failure, fix comment.Diego Elio Pettenò2017-01-171-2/+2
* freestyle: raise NotImplementedError when trying to zero-log.Diego Elio Pettenò2017-01-171-0/+4
* fsprecisionneo: add support for setting date and time.Diego Elio Pettenò2017-01-172-16/+30
* Update copyrights, cleanup whitespace where needed.Diego Elio Pettenò2017-01-169-13/+22
* Fix README to share the same Markdown syntax.Diego Elio Pettenò2017-01-161-10/+6
* Add new driver for the Abbott FreeStyle Precision Neo.Diego Elio Pettenò2017-01-163-11/+271
* Rename freestyle_optium to fsoptium.Diego Elio Pettenò2017-01-162-3/+3
* LifeScan devices: move lifescan_common to the support directory.Diego Elio Pettenò2017-01-166-25/+25
* Add an emacs local configuration file.Diego Elio Pettenò2017-01-161-0/+4
* Move the readings-to-csv conversion to the Reading class.Diego Elio Pettenò2017-01-152-3/+7
* Fetch the device information in all commands.Diego Elio Pettenò2017-01-151-4/+6
* Wrap the meter information to a namedtuple, instead of a string.Diego Elio Pettenò2017-01-158-57/+78
* Add a submodule pointing at gdef, to start implementing gdef export.Diego Elio Pettenò2017-01-152-0/+3
* Merge pull request #6 from lgp171188/map_func_call_fixDiego Elio Pettenò2016-11-171-2/+2
|\
| * Fix error in call to map() functionL. Guruprasad2016-11-161-2/+2
|/
* freestyle_optium: ignore β-ketones results from dumps.Diego Elio Pettenò2016-08-311-4/+7
* freestyle_optium: fix reversed parameters to map().Diego Elio Pettenò2016-08-311-1/+1
* freestyle_optium: remove debugging print.Diego Elio Pettenò2016-08-311-1/+0
* sdcodefree: fix brainfart in README.Diego Elio Pettenò2016-06-191-1/+1
* sdcodefree: new driver.Diego Elio Pettenò2016-06-192-0/+193
* otverio2015: fix date/time handling, which was broken outside of UTC.Diego Elio Pettenò2016-05-211-1/+1
* otverio2015: implement proper glucose unit identification.Diego Elio Pettenò2016-05-211-3/+22
* Add backup files to .gitignore.Diego Elio Pettenò2016-03-021-0/+1
* Use a more Pythonic map(..., int) instead of list comprehension.Diego Elio Pettenò2016-03-022-4/+4
* Move the InvalidChecksum exception to the base exceptions module.Diego Elio Pettenò2016-03-028-23/+15
* accuchek_reports: add a new driver for Accu-Chek Mobile meters.Diego Elio Pettenò2016-02-152-0/+131
* doc: use tables for devices, drivers, features and dependencies.Diego Elio Pettenò2016-02-151-13/+33
* otultra2: make the before/after meal constants in common module.Diego Elio Pettenò2016-02-152-4/+9
* otverio2015: new driver for OneTouch Verio (2015) and similar devices.Diego Elio Pettenò2016-02-142-0/+231
* Make the ConnectionFailed exception more generic.Diego Elio Pettenò2016-02-131-2/+2
* otultraeasy: move the MalformedCommand exception to common.Diego Elio Pettenò2016-02-132-11/+17
* otultraeasy: move the crc function to lifescan_common.Diego Elio Pettenò2016-02-133-16/+27
* Update documentation, reference the new glucometer-protocols repository.Diego Elio Pettenò2016-02-092-5/+20
* freestyle_optium: implement checksum verification on results.Diego Elio Pettenò2016-02-091-2/+26
* Implement a basic driver for the FreeStyle Optium devices.Diego Elio Pettenò2016-02-082-0/+256
* otultra2: avoid using connect/disconnect to wake up the device.Diego Elio Pettenò2014-02-081-3/+2
* Add a note that the Ultra Easy is also known as Ultra Mini.Diego Elio Pettenò2014-01-291-2/+3
* otultra2: move checksum function within otultra2 driver.Diego Elio Pettenò2014-01-294-49/+28
* Initial support for OneTouch Ultra Easy glucometers.Diego Elio Pettenò2014-01-293-3/+398
* common: fix namedtuple usage to allow for optional parameters.Diego Elio Pettenò2014-01-291-3/+3
* Add connect/disconnect methods to otultra2 and send \x11\r on connection.Diego Elio Pettenò2014-01-292-5/+12
* Merge pull request #1 from jimsiff/masterDiego Elio Pettenò2013-12-141-2/+7
|\
| * Add confirmation prompt to zero log argumentjimsiff2013-12-141-2/+7
|/
* Update documentation for the dump format and options.Diego Elio Pettenò2013-12-111-0/+20
* Clean up the code to remove methods that should be functions and imports.Diego Elio Pettenò2013-12-113-122/+115
* Allow sorting the dumped data; sort by date by default.Diego Elio Pettenò2013-12-112-6/+18
* Change all the internal representations to mg/dL for compatibility with LifeScan.Diego Elio Pettenò2013-12-112-15/+12
* glucometer.py: if no unit is provided on command line, use the default of the meter.Diego Elio Pettenò2013-12-111-1/+5
* Generalise the meal/comment handling to the Reading object.Diego Elio Pettenò2013-12-113-8/+18
* otultra2: expose the meal and comments as separate field in the CSV.Diego Elio Pettenò2013-12-111-5/+1
* Better error handling.Diego Elio Pettenò2013-12-082-22/+24
* Add a new command to dump the identification of the glucometer.Diego Elio Pettenò2013-12-082-4/+26
* otultra2: implement a zero log command to clear a device's memory.Diego Elio Pettenò2013-12-082-1/+20
* otultra2: implement decoding of meal and comment codes.Diego Elio Pettenò2013-12-083-3/+35
* Read more data out of the OTUltra2 dump lines. Return data in a Reading object.Diego Elio Pettenò2013-09-293-12/+32
* Fix style for tests.Diego Elio Pettenò2013-09-293-68/+60
* test_otultra2: factor out setting of returned serial string.Diego Elio Pettenò2013-08-101-9/+9
* glucometer: allow providing a freeform arbitrary date to set on the meter.Diego Elio Pettenò2013-08-041-2/+10
* setup.py: update license specification.Diego Elio Pettenò2013-08-031-1/+1
* glucometer: mark executable.Diego Elio Pettenò2013-08-031-0/+0
* Relicense everything under MIT license.Diego Elio Pettenò2013-08-0310-684/+27
* Implement the correct checksum algorithm.Diego Elio Pettenò2013-08-033-34/+13
* Add support for checksum verification for the otultra2 driver.Diego Elio Pettenò2013-08-035-29/+139
* glucometer: remove unused argv usage.Diego Elio Pettenò2013-08-031-2/+1
* Update function names to follow PEP8.Diego Elio Pettenò2013-08-036-43/+54
* Add utf-8 encoding specification to all files.Diego Elio Pettenò2013-08-037-0/+8
* glucometer: add support for selecting output units on dump.Diego Elio Pettenò2013-08-031-1/+4
* glucometer: fix script to actually work and provide actions.Diego Elio Pettenò2013-08-031-2/+13
* Add tests for the glucose unit conversion.Diego Elio Pettenò2013-08-031-0/+53
* test_otultra2: add header.Diego Elio Pettenò2013-08-031-0/+7
* otultra2: fix default unit handling.Diego Elio Pettenò2013-08-031-1/+2
* Add a link to README.md to try rendering it on GitHub.Diego Elio Pettenò2013-08-031-0/+1
* Initial import of the raw data.Diego Elio Pettenò2013-08-0312-0/+1142