summaryrefslogtreecommitdiffstats
path: root/glucometerutils (follow)
Commit message (Expand)AuthorAgeFilesLines
* format code with blackBen2020-03-0823-931/+1026
* FreeStyle: fix keepalive message handling for non-Libre devices.Diego Elio Pettenò2020-03-061-1/+1
* Fix typo.Diego Elio Pettenò2020-03-061-2/+2
* factor out common driver methodsBen2020-02-1814-101/+114
* Bugfix: get current time within the functionBen2020-02-188-8/+30
* contourusb: fix mypy typing.Diego Elio Pettenò2020-01-251-6/+9
* freestyle: add some (rough) support for encrypted messages.Diego Elio Pettenò2020-01-251-17/+80
* freestyle: raise exceptions if a command returned an error state.Diego Elio Pettenò2020-01-251-0/+7
* freestyle: simplify the code for initialization further.Diego Elio Pettenò2020-01-251-9/+3
* freestyle: only send command 0x01 to initialize the device.Diego Elio Pettenò2020-01-241-1/+1
* Make InvalidChecksum parameters and message harder to misunderstand.Diego Elio Pettenò2019-09-261-3/+3
* Add driver implementation for Ascensia ContourUSB.Arvanitis Christos2019-09-252-0/+409
* Remove try/except around typing imports.Diego Elio Pettenò2019-09-244-20/+4
* freestyle: fix return type for empty log.Diego Elio Pettenò2019-09-211-1/+1
* fslibre: add support for factory resetting FreeStyle Libre device.Diego Elio Pettenò2019-09-081-1/+5
* freestyle devices: don't error out if there are no readings.Diego Elio Pettenò2019-09-081-0/+4
* fsoptium: fix error in date stirng parsing.Diego Elio Pettenò2019-09-021-1/+1
* Drop support for Python 3.4.Diego Elio Pettenò2019-09-021-2/+2
* Use the new website URL for glucometer-protocols.Diego Elio Pettenò2019-09-025-9/+8
* Use type= parameters in attr.ib() declarations.Diego Elio Pettenò2019-09-021-16/+18
* Replace the device_id attribute with a more generic extra_data dictionary.Diego Elio Pettenò2019-09-022-6/+8
* add internal device id to glucose measurements (and other entries) to prepare for better sortingBen2019-09-022-3/+11
* Add type: ignore comments when using lifescan_binary_protocol.Timestamp.Diego Elio Pettenò2019-09-013-9/+9
* td4277: new driver for rebranded TaiDoc TD-4277 glucometers.Diego Elio Pettenò2019-08-031-0/+234
* FreeStyle devices: don't error out for non-ASCII patient names.Diego Elio Pettenò2019-07-301-15/+27
* and patient_name supportmatmutant2019-07-081-2/+4
* Get and set the patient name on supported meters.Diego Elio Pettenò2019-07-073-1/+33
* fslibre: expose patient name if the device knows it.Diego Elio Pettenò2019-07-073-4/+19
* Fix type annotations.Diego Elio Pettenò2019-07-011-4/+4
* 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-161-1/+1
* new line at end of .gitignore, rename arresult entry mapBen2019-05-051-2/+2
* add time adjustments to fslibre dumpBen2019-05-052-9/+43
* Bug fix: incorrect argument order in call to construct.Const.André Caldas2019-05-051-1/+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-0819-96/+39
* Replace flameeyes.eu with flameeyes.com.Diego Elio Pettenò2019-02-0819-19/+19
* 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
* 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-1216-202/+216
* 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-123-11/+21
* 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-121-18/+18
* sdcodefree: allows an arbitrary number of null-bytes before challenge.Diego Elio Pettenò2018-12-091-6/+9
* otultraeasy: factor out the packet creation, and add tests.Diego Elio Pettenò2018-11-161-10/+19
* Don't fold the command prefix into the LifeScanPacket.Diego Elio Pettenò2018-11-164-53/+53
* 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
* 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-174-8/+9
* otverioiq: remove untested marking and list supported features.Diego Elio Pettenò2018-01-071-3/+9
* 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: 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
* 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-011-220/+216
* otultraeasy: factor out the construct Timestamp implementation.Diego Elio Pettenò2018-01-012-13/+39
* otultraeasy: rewrite using construct for parsing.Diego Elio Pettenò2018-01-011-257/+198
* sdcodefree: rewrite using construct and improve readability.Diego Elio Pettenò2017-12-311-87/+78
* 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
* Fix error in meter info output, after conversion of Unit to enum.Diego Elio Pettenò2017-12-291-1/+1
* freestyle: replace the custom struct and bytemangling with construct.Diego Elio Pettenò2017-12-281-8/+11
* Move the binary script to glucometerutils/ and create a starting shim.Diego Elio Pettenò2017-12-281-0/+147
* accucheck_reports: fix bug for mg/dL native meters.Diego Elio Pettenò2017-12-282-7/+9
* 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-2810-35/+27
* otultraeasy: fix wrong module name for shared lifescan code.Diego Elio Pettenò2017-11-141-4/+4
* Fix with_ketoneLeonard Lausen2017-10-023-8/+3
* Fix ketone readingLeonard Lausen2017-10-023-3/+8
* Fix syntax error in fsprecisionneo.pyLeonard Lausen2017-10-011-1/+1
* 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
* 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
* 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
* Fix typo on import statementRyan Jarvis2017-06-241-1/+1
* 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
* hiddevice: make hidapi calls take a timeout, default to 1 second.Diego Elio Pettenò2017-06-061-1/+8
* 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-034-10/+43
* 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
* | Fix IndexError and KeyError:Dorian Scholz2017-05-301-5/+9
|/
* All drivers: move documentation of features from README to docstring.Diego Elio Pettenò2017-04-178-7/+88
* Add support for a "help" action that prints the driver module's docstring.Diego Elio Pettenò2017-04-171-1/+14
* 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
* all drivers: make --device optional at the tool level.Diego Elio Pettenò2017-04-158-0/+42
* 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-231-0/+73
* sdcodefree: reformat and cleanup.Diego Elio Pettenò2017-02-091-135/+138
* 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-171-0/+66
* 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-171-15/+29
* Update copyrights, cleanup whitespace where needed.Diego Elio Pettenò2017-01-168-12/+21
* Add new driver for the Abbott FreeStyle Precision Neo.Diego Elio Pettenò2017-01-162-0/+257
* Rename freestyle_optium to fsoptium.Diego Elio Pettenò2017-01-161-0/+0
* LifeScan devices: move lifescan_common to the support directory.Diego Elio Pettenò2017-01-164-18/+18
* Move the readings-to-csv conversion to the Reading class.Diego Elio Pettenò2017-01-151-0/+6
* Wrap the meter information to a namedtuple, instead of a string.Diego Elio Pettenò2017-01-157-56/+73
* 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: new driver.Diego Elio Pettenò2016-06-191-0/+190
* 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
* 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-026-21/+13
* accuchek_reports: add a new driver for Accu-Chek Mobile meters.Diego Elio Pettenò2016-02-151-0/+129
* 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-141-0/+226
* 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-132-14/+25
* Update documentation, reference the new glucometer-protocols repository.Diego Elio Pettenò2016-02-091-1/+8
* 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
* otultra2: move checksum function within otultra2 driver.Diego Elio Pettenò2014-01-292-21/+20
* Initial support for OneTouch Ultra Easy glucometers.Diego Elio Pettenò2014-01-291-0/+326
* 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-291-5/+8
* Clean up the code to remove methods that should be functions and imports.Diego Elio Pettenò2013-12-112-121/+115
* Allow sorting the dumped data; sort by date by default.Diego Elio Pettenò2013-12-111-5/+7
* Change all the internal representations to mg/dL for compatibility with LifeScan.Diego Elio Pettenò2013-12-112-15/+12
* Generalise the meal/comment handling to the Reading object.Diego Elio Pettenò2013-12-112-6/+15
* 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-081-1/+1
* Add a new command to dump the identification of the glucometer.Diego Elio Pettenò2013-12-081-0/+18
* otultra2: implement a zero log command to clear a device's memory.Diego Elio Pettenò2013-12-081-1/+11
* otultra2: implement decoding of meal and comment codes.Diego Elio Pettenò2013-12-082-2/+33
* Read more data out of the OTUltra2 dump lines. Return data in a Reading object.Diego Elio Pettenò2013-09-292-10/+30
* Relicense everything under MIT license.Diego Elio Pettenò2013-08-034-4/+4
* Implement the correct checksum algorithm.Diego Elio Pettenò2013-08-031-30/+8
* Add support for checksum verification for the otultra2 driver.Diego Elio Pettenò2013-08-033-25/+91
* Update function names to follow PEP8.Diego Elio Pettenò2013-08-032-28/+28
* Add utf-8 encoding specification to all files.Diego Elio Pettenò2013-08-033-0/+3
* otultra2: fix default unit handling.Diego Elio Pettenò2013-08-031-1/+2
* Initial import of the raw data.Diego Elio Pettenò2013-08-035-0/+334