Skip to main content

Python implementation of the HID protocol used by Abbott FreeStyle devices

Project description

Python library to interact with Abbott FreeStyle devices

This repository includes a library and some tools to interact with Abbott FreeStyle devices that use their shared HID protocol.

Tools

There are a number of tools that interact with either the devices or with USB session captures that are installed together when selecting the tools extra:

  • freestyle-hid-console allows sending direct text messages to a compatible device on the console;
  • freestyle-extract-chatter can produce a "chatter" file based on a capture of an USB session, either from Linux or Windows.
  • freestyle-encrypted-setup-extract is an experimental tool to extract the encryption parameters of devices using the encrypted protocol (e.g. Libre2).

Development

If you want to contribute code, please note that the target language is Python 3.9, and that the style to follow is for the most part PEP8 compatible.

To set up your development environment follow these guidelines:

$ git clone https://github.com/glucometers-tech/freestyle-hid.git
$ cd freestyle-hid
$ python3 -m venv --python=python3.7
$ . venv/bin/activate
$ pip install -e .[dev,tools]
$ pre-commit install

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

freestyle-hid-1.1.1.tar.gz (22.3 kB view hashes)

Uploaded Source

Built Distribution

freestyle_hid-1.1.1-py3-none-any.whl (27.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page