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

Support for Libre 2 #903

Open
DreadRoberts opened this issue Jul 13, 2019 · 9 comments
Open

Support for Libre 2 #903

DreadRoberts opened this issue Jul 13, 2019 · 9 comments

Comments

@DreadRoberts
Copy link

I have a libre 2 device and would like to upload my data in Tidepool. Do you have any plans to support the Libre 2?

@gniezen
Copy link
Member

gniezen commented Jul 16, 2019

We would love to support the Libre 2, but after some initial investigation it seems Abbott has made significant changes to the device protocol, so this will not be easy to implement. I hope that we'll get there eventually, but don't have any estimate on availability yet.

@DreadRoberts
Copy link
Author

Is there any way I could help?

@gniezen
Copy link
Member

gniezen commented Aug 19, 2019

Do you have experience with decoding packets using Wireshark?

@DreadRoberts
Copy link
Author

Sorry for the late response! I am not very experienced but had a look at the communication and it looks like abbott is using the serial number of the device to do some sort of encryption of the packages

@gniezen
Copy link
Member

gniezen commented Oct 15, 2019

@DreadRoberts Yeah, I looked into this myself last month, and while the Libre 2 reader appears to use the same HID protocol and initialization sequence as the Libre 1 reader, all communications after the initialization sequence appears to be encrypted. What makes you think they're using the serial number as an encryption key?

@DreadRoberts
Copy link
Author

The last and only message which is transmited unencrypted is the serial number.

@DreadRoberts
Copy link
Author

I commented on another project what my current findings are, if you are interested:
glucometers-tech/glucometer-protocols#8

@tolot27
Copy link

tolot27 commented Aug 2, 2020

I'll have a look on it.

@MPM1107
Copy link

MPM1107 commented Jun 24, 2023

I've recently written an implementation of the encrypted protocol for a python library called freestyle-hid. I found this repo through that one because this issue was linked in one of the issues from that library that was also about the libre 2. While I don't have the time to get into this codebase, I'd be happy to provide some guidance if someone else wants to implement support.

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

4 participants