summaryrefslogtreecommitdiffstats
path: root/freestyle_hid/tools/hid_console.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-08-03console: allow sending a single command to the device.HEADfreestyle-hid-1.1.1mainDiego Elio Pettenò1-0/+14
This avoids having to open the session and makes scripting a lot easier particularly when changing the settings of the device and needing a restart to continue.
2023-08-03Don't depend on product ID to enable encrypted protocol.Diego Elio Pettenò1-1/+15
This is a little less automatic in the way it works, but it allows the caller to decide whether to enable the encrypted protocol for the session or not. It also raises earlier in case the encryption keys are not found.
2021-03-03Allow selecting which encoding to use for decoding text commands.Diego Elio Pettenò1-1/+9
The FreeStyle Libre at least allows patient names and other strings to be set in UTF-8 so there is no reason to force ascii everywhere. Instead, allow the session to define an encoding for ease of integration with downstream tools.