Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Freestyle Libre 3 #131

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

isotherm
Copy link

@isotherm isotherm commented Jan 14, 2025

The Libre 3 reports results in a different way:

  • The history reports are missing a column of unknown meaning.
  • The reading reports are missing custom comments and error values.

The workaround in this pull request manipulates the Libre 3 results to look like the results for earlier models and is for demonstration and documentation purposes only. A better implementation would abstract the difference in reporting format into the drivers for each device.

This pull request is meant to start discussion on the changes, the best way to accomplish them, and also eventually to produce documentation for glucometer-protocols

@isotherm
Copy link
Author

Here are two sample lines from $history?:

243,12,1,11,25,10,23,43,1,0,0,0,85,60,0
233,12,1,11,25,10,18,44,1,0,0,0,0,55,32768

Here are two sample lines from $arresult?:

7429,2,1,13,25,20,22,12,1,2,0,0,88,1,3,1,1,1,1,1,0,3,4,0,1,3,0,3538,7,1,13,25,20,22,12,1,2
7415,2,1,13,25,20,15,47,1,2,0,0,93,1,3,0,0,0,0,0,0,3,0,0,0,0,0,3532

The first entry was marked with all checkboxes, and with entries of 1 unit rapid-acting insulin, 2 units long-acting insulin, 3g carbs (also 1hr and 2hr reminders), exercise, medication.

The Libre 3 reports results in a different way:
* The history reports are missing a column of unknown meaning.
* The reading reports are missing custom comments and error values.

The current workaround makes the Libre 3 results to look like the
results for earlier models and is for demonstration and documentation
purposes only. A better implementation would abstract the difference in
reporting format into the drivers for each device.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant