Skip to content
Permalink
Branch: master
Commits on Jul 7, 2019
  1. Get and set the patient name on supported meters.

    Flameeyes committed Jul 7, 2019
    This includes the command line extensions to include the get/set patient
    name, as well as the driver support for all FreeStyle devices with the
    shared HID protocol, although not all will support this properly.
  2. fslibre: expose patient name if the device knows it.

    Flameeyes committed Jul 7, 2019
    This includes extension of the base info command to report this when asked
    on the command line.
Commits on Jul 1, 2019
  1. Fix type annotations.

    Flameeyes committed Jul 1, 2019
  2. Fix syntax error.

    Flameeyes committed Jul 1, 2019
  3. Introduce an explicit InvalidDateTime exception for meters with unset…

    Flameeyes committed Jul 1, 2019
    … time.
    
    At least the FreeStyle Precision Neo appears to be able to report an invalid
    date/time (255/255/255 255:255), probably when the RTC is lost (see issue #58).
    
    This returns a more precise output than N/A, and should suggest to confirm the
    date and time setting instead.
Commits on May 16, 2019
  1. freestyle support: restore correct order of parameters.

    Flameeyes committed May 16, 2019
    Also add a test so that we don't break this again in the future.
Commits on Mar 31, 2019
  1. Add SPDX license to .dir-locals.el.

    Flameeyes committed Mar 31, 2019
  2. fslibre: correct the ketone reading.

    Flameeyes committed Mar 31, 2019
    As discussed in glucometer-protocols #6, the value is actually converted
    the same way as blood glucose, despite it not having the same ratio.
Commits on Feb 8, 2019
  1. Replace epydoc metadata with SPDX identifiers.

    Flameeyes committed Feb 8, 2019
    Most of the epydoc metadata (author, copyright, email) is duplicate in
    the package's setup.py or README. These copies are more likely to get out
    of date, and increase the amount of work to keep them in line.
    
    The license information should rather be provided with an SPDX identifier,
    which is more similar to what the Linux kernel and other projects, such as
    pyserial, do.
  2. Replace flameeyes.eu with flameeyes.com.

    Flameeyes committed Feb 8, 2019
    Due to EURid threatening to suspend my domain, make sure that the
    references are updated to point at the right stable domain.
    
    This includes changes to the files as well as a mailmap to update the
    author references in the log.
Commits on Jan 29, 2019
  1. hiddevice: fix support for modern hidapi.

    Flameeyes committed Jan 29, 2019
    The value of None is not valid for current hidapi implementation, but
    anything below 0 is considered no timeout.
    
    Fixes issue #50.
Commits on Jan 28, 2019
  1. exceptions: avoid using kwargs for message, as it's not correct.

    Flameeyes committed Jan 28, 2019
    Fixes the nested exception reported in Issue #50.
Commits on Dec 19, 2018
  1. Include the OneTouch Select Plus Flex in the otverio2015 list.

    Flameeyes committed Dec 19, 2018
    Add a note that only the USB connection is supported, not the BlueTooth one.
  2. otverio2015: fix string parsing to include the full prefix.

    Flameeyes committed Dec 19, 2018
    This caused the normal ASCII-in-UTF16 strings to be misaligned, and the
    `info` output to be full of garbage.
Commits on Dec 12, 2018
  1. Fix most of the pylint output, and hide away some that is not needed.

    Flameeyes committed Dec 12, 2018
    Again, this is not ready for CI yet unfortunately :(
  2. hiddevice: split handle_ and hidapi_handle_.

    Flameeyes committed Dec 12, 2018
    This avoids confusing mypy, and is also less magical.
  3. Make GlucoseReading and KetoneReading use attrs, too.

    Flameeyes committed Dec 12, 2018
    This also adds more type annotations for them.
  4. Remove --sort-by flag.

    Flameeyes committed Dec 12, 2018
    There's nothing really meaningful beside the timestamp sorting, remove the
    flag. If for whatever analysis, a different sorting is needed, that should
    be post-processed from the generated CSV.
  5. Experimentally start adding type annotations, and mypy configs.

    Flameeyes committed Dec 12, 2018
    This cannot currently be added to CI because the lack of `construct` stubs,
    which cause "unsupported left operands" for /-constructed structs.
  6. Use [attrs](http://www.attrs.org/) instead of namedtuple for MeterInfo.

    Flameeyes committed Dec 12, 2018
    This avoids having the separate _MeterInfoBase class, and reads much nicer.
Commits on Dec 9, 2018
  1. sdcodefree: allows an arbitrary number of null-bytes before challenge.

    Flameeyes committed Dec 9, 2018
    This appears to be quite variable, and this should make it more reliable.
Commits on Nov 15, 2018
  1. Travis: make dist xenial for python 3.7 support

    Flameeyes committed Nov 15, 2018
  2. Travis: add Python 3.7 support.

    Flameeyes committed Nov 15, 2018
  3. tests: simplify and cleanup.

    Flameeyes committed Nov 15, 2018
    * Remove the __main__ blocks as the tests should not be executable by
      themselves.
    * Use absltest everywhere instead of a mixture of unittest/absltest (via
      parameterized).
    * Only modify import path once.
    * Cleanup pylint warnings, by disabling those that are not useful, and
      fixing those that are.
  4. otultraeasy: factor out the packet creation, and add tests.

    Flameeyes committed Nov 15, 2018
    This would have caught the bug fixed with the previous commit, which is a
    strict improvement.
  5. Don't fold the command prefix into the LifeScanPacket.

    Flameeyes committed Nov 15, 2018
    For the otultraeasy, there is no prefix provided in the acks at all, so
    the previous change broke the otultraeasy.
    
    Partial revert of b5784bb.
Commits on Jul 24, 2018
  1. test-requirements: add some minimum version specifications.

    Flameeyes committed Jul 24, 2018
  2. Fix sdcodefree driver, the same as the lifescan changes.

    Flameeyes committed Jul 24, 2018
    Thanks to Noel Cragg for reporting this.
Commits on Mar 17, 2018
Older
You can’t perform that action at this time.