summaryrefslogtreecommitdiffstats
path: root/glucometerutils/drivers (unfollow)
Commit message (Expand)AuthorFilesLines
2023-08-03Use empty `__init__.py` files.HEADmainDiego Elio Pettenò2-6/+0
2023-08-03Update typing to PEP 585 style.Diego Elio Pettenò12-21/+32
2023-08-03Fixes for pre-commit.Diego Elio Pettenò1-6/+3
2023-08-03supporting all the stuffStefanie Tellex1-3/+6
2023-08-03working dumpStefanie Tellex1-95/+57
2023-08-03freedomlite initial commitStefanie Tellex1-0/+266
2023-08-03Initial import of FreeStyle Libre 2 driver.Diego Elio Pettenò2-235/+36
2023-04-16Reformat with the new black.Diego Elio Pettenò3-4/+0
2021-09-18Update fsprecisionneo.pyONO,Tetsuo1-2/+2
2021-09-18Update fsprecisionneo.pyONO,Tetsuo1-0/+2
2021-03-27glucomenareo: new driver added.Diego Elio Pettenò1-0/+222
2021-03-03freestyle: use freestyle-hid 1.0.2 encoding parameter.Diego Elio Pettenò1-1/+1
2021-03-01fslibre: add a debug log for the retrieved arresults.Diego Elio Pettenò1-0/+2
2021-03-01fslibre: don't drop the first and last characters of the comment.Diego Elio Pettenò1-1/+1
2021-03-01Re-add missing td42xx tests.Diego Elio Pettenò1-0/+28
2021-02-25td42xx: rename the previous td4277 driver, and support TD-4236B.Diego Elio Pettenò2-36/+16
2020-10-04Add py.typed file to mark the package as typed.Diego Elio Pettenò1-0/+3
2020-10-04Use 0BSD instead of Unlicense for copyright disclaim.Diego Elio Pettenò2-2/+2
2020-09-07Update pre-commit plugins to the latest versions as of today.Diego Elio Pettenò10-13/+34
2020-08-02Make use of modern Python ordered kwargs.Svetlana Pantelejeva5-97/+98
2020-05-16Remove f-string prefix from strings with no placeholders.Diego Elio Pettenò1-1/+1
2020-05-16Add pre-commit configuration for REUSE.software.Diego Elio Pettenò2-0/+6
2020-04-20Make the project compliant with the REUSE guidelines.Diego Elio Pettenò1-1/+2
2020-04-09Rename driver.GlucometerDriver to driver.GlucometerDevice.Diego Elio Pettenò8-8/+8
2020-04-09Move driver_base to glucometerutils.driver instead.Diego Elio Pettenò8-29/+22
2020-03-27Add missing SPDX-FileCopyrightText throughout the project.Diego Elio Pettenò16-0/+16
2020-03-27The big typing cleanup.Diego Elio Pettenò12-194/+256
2020-03-26Fix errors identified by flake8.Diego Elio Pettenò7-12/+9
2020-03-22Make HID support a "session" class rather than a base class.Diego Elio Pettenò4-13/+16
2020-03-16Move tests to be organized within the source directory.Diego Elio Pettenò6-0/+240
2020-03-14Now that Python 3.6 is the minimum supported version, use f-strings.Diego Elio Pettenò7-26/+22
2020-03-08format code with blackBen12-633/+638
2020-02-18factor out common driver methodsBen12-91/+53
2020-02-18Bugfix: get current time within the functionBen7-7/+27
2019-09-25Add driver implementation for Ascensia ContourUSB.Arvanitis Christos1-0/+81
2019-09-08fslibre: add support for factory resetting FreeStyle Libre device.Diego Elio Pettenò1-1/+5
2019-09-02fsoptium: fix error in date stirng parsing.Diego Elio Pettenò1-1/+1
2019-09-02Use the new website URL for glucometer-protocols.Diego Elio Pettenò4-4/+4
2019-09-02Replace the device_id attribute with a more generic extra_data dictionary.Diego Elio Pettenò1-3/+5
2019-09-02add internal device id to glucose measurements (and other entries) to prepare for better sortingBen1-3/+8
2019-09-01Add type: ignore comments when using lifescan_binary_protocol.Timestamp.Diego Elio Pettenò3-9/+9
2019-08-03td4277: new driver for rebranded TaiDoc TD-4277 glucometers.Diego Elio Pettenò1-0/+234
2019-07-08and patient_name supportmatmutant1-2/+4
2019-07-07Get and set the patient name on supported meters.Diego Elio Pettenò1-1/+2
2019-07-07fslibre: expose patient name if the device knows it.Diego Elio Pettenò1-1/+2
2019-05-19fsprecisionneo: Scale ketone readings to mmol/lAndreas Sandberg2-14/+8
2019-05-05new line at end of .gitignore, rename arresult entry mapBen1-2/+2
2019-05-05add time adjustments to fslibre dumpBen1-9/+26
2019-03-31fslibre: correct the ketone reading.Diego Elio Pettenò1-2/+9
2019-02-08Replace epydoc metadata with SPDX identifiers.Diego Elio Pettenò10-51/+20
2019-02-08Replace flameeyes.eu with flameeyes.com.Diego Elio Pettenò10-10/+10
2018-12-19otverio2015: fix string parsing to include the full prefix.Diego Elio Pettenò1-5/+2
2018-12-12Fix most of the pylint output, and hide away some that is not needed.Diego Elio Pettenò9-144/+157
2018-12-12Reindent all files to match the 4-spaces indentation.Diego Elio Pettenò3-464/+464
2018-12-12otverio2015: fix one remaining entry referencing the now-gone COMMAND_SUCCESS constant.Diego Elio Pettenò1-1/+1
2018-12-09sdcodefree: allows an arbitrary number of null-bytes before challenge.Diego Elio Pettenò1-6/+9
2018-11-16otultraeasy: factor out the packet creation, and add tests.Diego Elio Pettenò1-10/+19
2018-11-16Don't fold the command prefix into the LifeScanPacket.Diego Elio Pettenò3-45/+50
2018-07-24Fix sdcodefree driver, the same as the lifescan changes.Diego Elio Pettenò1-1/+1
2018-05-23change 999 to infWesley T. Honeycutt1-1/+1
2018-05-23Fix for non-integer errorsWesley T. Honeycutt1-1/+5
2018-03-17fsoptium: add debug logging when sending commands.Diego Elio Pettenò1-0/+4
2018-03-17Update sdcodefree.pyArkadiusz Bulski1-2/+2
2018-03-17CString supports UTF-16/32-LE/BEArkadiusz Bulski1-2/+1
2018-03-17SymmetricMapping was renamed to MappingArkadiusz Bulski3-4/+4
2018-03-17construct code fixed improper embeddingArkadiusz Bulski3-11/+11
2018-03-17construct-code is (almost) uptodateArkadiusz Bulski1-4/+5
2018-01-07otverioiq: remove untested marking and list supported features.Diego Elio Pettenò1-3/+9
2018-01-07otverioiq: zero log is tested, it works.Diego Elio Pettenò1-1/+1
2018-01-07otverioiq: fix up set_datetime method.Diego Elio Pettenò1-2/+4
2018-01-07otverioiq: fix definition of the reading response, fix get_reading_count method.Diego Elio Pettenò1-5/+3
2018-01-07otverioiq: fix up a couple of syntax errors, and update baud rate.Diego Elio Pettenò1-3/+3
2018-01-07otverioiq: fix up syntax.Diego Elio Pettenò1-6/+4
2018-01-07otverioiq: fix typo.Diego Elio Pettenò1-1/+1
2018-01-07otverioiq: implement full parsing of the response structure.Diego Elio Pettenò1-3/+19
2018-01-07otverioiq: link-control is not used.Diego Elio Pettenò1-1/+1
2018-01-07lifescan binary protocol: factor out _COMMAND_SUCCESS.Diego Elio Pettenò3-26/+25
2018-01-06otverioiq: update version and serial number requests.Diego Elio Pettenò1-2/+4
2018-01-06lifescan binary protocol: make the packet generator a function.Diego Elio Pettenò3-30/+34
2018-01-06otultraeasy: fix AttributeErrors after factoring out link_control struct.Diego Elio Pettenò1-4/+5
2018-01-06otverioiq: add totally untested driver.Diego Elio Pettenò1-0/+194
2018-01-06lifescan_binary_protocol: factor out glucose unit mappings.Diego Elio Pettenò2-13/+2
2018-01-06lifescan_binary_protocol: create a new module to support LifeScan drivers.Diego Elio Pettenò2-60/+21
2018-01-01otverio2015: reorder functions to match otultraeasy.Diego Elio Pettenò1-5/+5
2018-01-01otultraeasy: merge _send_request and _read_response and match otverio2015.Diego Elio Pettenò1-41/+35
2018-01-01otultraeasy: rename _ZERO_LOG_REQUEST to _MEMORY_ERASE_REQUEST.Diego Elio Pettenò1-2/+2
2018-01-01otultraeasy: wrap around construct exceptions to MalformedCommand.Diego Elio Pettenò1-11/+20
2018-01-01otverio2015: rewrite using construct.Diego Elio Pettenò1-220/+216
2018-01-01otultraeasy: factor out the construct Timestamp implementation.Diego Elio Pettenò1-13/+6
2018-01-01otultraeasy: rewrite using construct for parsing.Diego Elio Pettenò1-257/+198
2017-12-31sdcodefree: rewrite using construct and improve readability.Diego Elio Pettenò1-87/+78
2017-12-28accucheck_reports: fix bug for mg/dL native meters.Diego Elio Pettenò1-2/+4
2017-12-28Use Python3 Enum class for measurement methods.Diego Elio Pettenò1-4/+4
2017-12-28Use Python3 Enum class for meal flags.Diego Elio Pettenò4-12/+12
2017-12-28Use Python3 Enum class for glucose units.Diego Elio Pettenò9-18/+18
2017-11-14otultraeasy: fix wrong module name for shared lifescan code.Diego Elio Pettenò1-4/+4
2017-10-02Fix with_ketoneLeonard Lausen1-2/+1
2017-10-02Fix ketone readingLeonard Lausen1-1/+2
2017-10-01Fix syntax error in fsprecisionneo.pyLeonard Lausen1-1/+1
2017-09-25fsprecisionneo: add ketone reading supportSamuel Martin1-8/+19
2017-09-25fslibre: add ketone reading supportSamuel Martin1-4/+24
2017-09-25fslibre: set measure_method when parsing recordsSamuel Martin1-2/+7
2017-09-25common: rename Reading class into GlucoseReading classSamuel Martin9-10/+10
2017-09-25fslibre: fix reading-type commentSamuel Martin1-1/+1
2017-09-13fslibre: fix insulin displaySamuel Martin1-4/+4
2017-09-13otverio2015: fix _MEAL_CODES map.Diego Elio Pettenò1-3/+3
2017-09-13otverio2015: expose pre-/post-meal flags for Select Plus devices.Diego Elio Pettenò1-7/+15
2017-09-13otverio2015: fix readings on Select Plus readers (Issue #22).Diego Elio Pettenò1-3/+4
2017-09-13otverio2015: add debug logging to help track Issue #22.Diego Elio Pettenò1-2/+8
2017-06-24Fix typo on import statementRyan Jarvis1-1/+1
2017-06-03Abbott devices: add support for using hidapi library.Diego Elio Pettenò3-4/+14
2017-05-30Fix IndexError and KeyError:Dorian Scholz1-5/+9
2017-04-17All drivers: move documentation of features from README to docstring.Diego Elio Pettenò8-7/+88
2017-04-17Add support for a "help" action that prints the driver module's docstring.Diego Elio Pettenò1-1/+14
2017-04-17Serial drivers: factor out opening of the serial port to a new base class.Diego Elio Pettenò4-49/+19
2017-04-15serial drivers: if no --device parameter is given, look for default cable.Diego Elio Pettenò4-21/+21
2017-04-15fsoptium: use logging instead of writing to stderr directly.Diego Elio Pettenò1-3/+2
2017-04-15all drivers: make --device optional at the tool level.Diego Elio Pettenò6-0/+30
2017-02-24fslibre: parse and output the scan and blood tests.Diego Elio Pettenò1-19/+137
2017-02-23fslibre: new driver for Abbott FreeStyle Libre download.Diego Elio Pettenò1-0/+73
2017-02-09sdcodefree: reformat and cleanup.Diego Elio Pettenò1-135/+138
2017-01-20Open OneTouch Verio devices in readwrite mode by default.Red Daly1-1/+1
2017-01-17fsinsulinx: add untested FreeStyle InsuLinx driver.Diego Elio Pettenò1-0/+66
2017-01-17fsprecisionneo: move the version and serial number information to the common support class.Diego Elio Pettenò1-10/+2
2017-01-17fsprecisionneo: fix mistake in readings dump command.Diego Elio Pettenò1-1/+1
2017-01-16Update copyrights, cleanup whitespace where needed.Diego Elio Pettenò6-11/+15
2017-01-16Add new driver for the Abbott FreeStyle Precision Neo.Diego Elio Pettenò1-0/+65
2017-01-16Rename freestyle_optium to fsoptium.Diego Elio Pettenò1-0/+0
2017-01-16LifeScan devices: move lifescan_common to the support directory.Diego Elio Pettenò4-69/+18
2017-01-15Wrap the meter information to a namedtuple, instead of a string.Diego Elio Pettenò6-56/+39
2016-11-16Fix error in call to map() functionL. Guruprasad1-2/+2
2016-08-31freestyle_optium: ignore β-ketones results from dumps.Diego Elio Pettenò1-4/+7
2016-08-31freestyle_optium: fix reversed parameters to map().Diego Elio Pettenò1-1/+1
2016-08-31freestyle_optium: remove debugging print.Diego Elio Pettenò1-1/+0
2016-06-19sdcodefree: new driver.Diego Elio Pettenò1-0/+190
2016-05-21otverio2015: fix date/time handling, which was broken outside of UTC.Diego Elio Pettenò1-1/+1
2016-05-21otverio2015: implement proper glucose unit identification.Diego Elio Pettenò1-3/+22
2016-03-02Use a more Pythonic map(..., int) instead of list comprehension.Diego Elio Pettenò2-4/+4
2016-03-02Move the InvalidChecksum exception to the base exceptions module.Diego Elio Pettenò5-21/+6
2016-02-15accuchek_reports: add a new driver for Accu-Chek Mobile meters.Diego Elio Pettenò1-0/+129
2016-02-15otultra2: make the before/after meal constants in common module.Diego Elio Pettenò1-3/+3
2016-02-14otverio2015: new driver for OneTouch Verio (2015) and similar devices.Diego Elio Pettenò1-0/+226
2016-02-13otultraeasy: move the MalformedCommand exception to common.Diego Elio Pettenò2-11/+17
2016-02-13otultraeasy: move the crc function to lifescan_common.Diego Elio Pettenò2-14/+25
2016-02-09Update documentation, reference the new glucometer-protocols repository.Diego Elio Pettenò1-1/+8
2016-02-09freestyle_optium: implement checksum verification on results.Diego Elio Pettenò1-2/+26
2016-02-08Implement a basic driver for the FreeStyle Optium devices.Diego Elio Pettenò1-0/+249
2014-02-08otultra2: avoid using connect/disconnect to wake up the device.Diego Elio Pettenò1-3/+2
2014-01-29otultra2: move checksum function within otultra2 driver.Diego Elio Pettenò2-21/+20
2014-01-29Initial support for OneTouch Ultra Easy glucometers.Diego Elio Pettenò1-0/+326
2014-01-29Add connect/disconnect methods to otultra2 and send \x11\r on connection.Diego Elio Pettenò1-5/+8
2013-12-11Clean up the code to remove methods that should be functions and imports.Diego Elio Pettenò1-119/+113
2013-12-11Change all the internal representations to mg/dL for compatibility with LifeScan.Diego Elio Pettenò1-5/+4
2013-12-11Generalise the meal/comment handling to the Reading object.Diego Elio Pettenò1-4/+3
2013-12-11otultra2: expose the meal and comments as separate field in the CSV.Diego Elio Pettenò1-5/+1
2013-12-08Better error handling.Diego Elio Pettenò1-1/+1
2013-12-08Add a new command to dump the identification of the glucometer.Diego Elio Pettenò1-0/+18
2013-12-08otultra2: implement a zero log command to clear a device's memory.Diego Elio Pettenò1-1/+11
2013-12-08otultra2: implement decoding of meal and comment codes.Diego Elio Pettenò1-1/+31
2013-09-29Read more data out of the OTUltra2 dump lines. Return data in a Reading object.Diego Elio Pettenò1-10/+11
2013-08-03Relicense everything under MIT license.Diego Elio Pettenò2-2/+2
2013-08-03Implement the correct checksum algorithm.Diego Elio Pettenò1-30/+8
2013-08-03Add support for checksum verification for the otultra2 driver.Diego Elio Pettenò2-17/+86
2013-08-03Update function names to follow PEP8.Diego Elio Pettenò1-27/+27
2013-08-03Add utf-8 encoding specification to all files.Diego Elio Pettenò1-0/+1
2013-08-03otultra2: fix default unit handling.Diego Elio Pettenò1-1/+2