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

FreeStyle Libre unit of measure recognition #10

Open
Flameeyes opened this issue Sep 8, 2019 · 4 comments
Open

FreeStyle Libre unit of measure recognition #10

Flameeyes opened this issue Sep 8, 2019 · 4 comments

Comments

@Flameeyes
Copy link
Collaborator

In 0efe89f I added some of the commands from the FreeStyle reader updater software. One of them $uom? might be the right one to identify the unit of measure.

@pascalfribi any chance you have a device at hand to try the $uom? command? I wrote a (Linux) tool to send arbitrary commands to FreeStyle HID devices at https://github.com/Flameeyes/glucometerutils/blob/master/reversing_tools/abbott/freestyle_hid_console.py

@pascalfribi
Copy link
Contributor

pascalfribi commented Sep 9, 2019 via email

@pascalfribi
Copy link
Contributor

I can confirm that the command $uom? returns 0 for my device. My device is set to mmol/l. I will try to reach one of my users so he can check it with a mg/dL device.

@steve8x8
Copy link

steve8x8 commented Jan 6, 2020

I've got a mg/dL Libre2 reader which doesn't return anything useful (yet) to freestyle_hid_console.py (https://github.com/Flameeyes/glucometerutils/issues/68) but I'd be willing to dig into it if someone lends me a hand...

@Flameeyes
Copy link
Collaborator Author

This is now easily tested on Windows as well as Linux, as long as Python 3.7+ is installed (Microsoft Store includes Python 3.8).

For this to work, you need to run the following commands (PS > is meant to represent the prompt):

PS > pip install --user freestyle-hid[tools] hidapi
PS > freestyle-hid-console -p 13904
>>> $uom?
0

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

No branches or pull requests

3 participants