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
Built Distribution
File details
Details for the file freestyle-hid-1.1.1.tar.gz
.
File metadata
- Download URL: freestyle-hid-1.1.1.tar.gz
- Upload date:
- Size: 22.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21d31b6df825aaca571491c8b72f604cdd03f4c2cab2f88a26a140a2ace2d9a4 |
|
MD5 | 95f817920f1e78b07aa037d5cac6a894 |
|
BLAKE2b-256 | 2f6bdf27c9d68fbe0085787886f45935c25e9d8b390ba1305f098bc01731afce |
File details
Details for the file freestyle_hid-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: freestyle_hid-1.1.1-py3-none-any.whl
- Upload date:
- Size: 27.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eca1b92e25a226d978928506013dad9f63553ef2767a127a29f7965a1d96f84b |
|
MD5 | 718b17a22e47c8862f0cd777e7db1faa |
|
BLAKE2b-256 | 130b5ed0dd7249de9e9ac7c552e055443380c4fa5635971ae37bb624570b3a48 |