PODCAST
True Metrix Linux Hacking
I'm a newly diagnosed Type 2 diabetic. My health insurance provider approved a True Metrix blood glucose monitor for measuring my blood sugar levels. However, it did not come with any cables/docking stations to connect to a computer, and even if it did, there are (apparently) no Linux drivers for the monitor and/or docking station. So I'm going to try putting my EE hat back on and hacking some drivers together for this device. I want to be able to periodically upload my data to my computer. I figure this is a good learning opportunity, so I intend to write the drivers in multiple languages: C, Rust, and Python. This peertube instance will, in theory, have videos documenting my process of hacking these drivers together. I know there's TidePool (which apparently supports the True Metrix with docking station), but it doesn't support linux and requires account sign-up. I'm going to do my best to not look at TidePool's source code, since this is supposed to be a learning experience.
Episodes
-
#010:2022-05-21 Analyzing the USB Data 5: Potential Breakthrough
I think I've finally made a meaningful breakthrough on how the data on the device is getting encoded and sent over usb to be read by a host computer 😃 Watch all about it here. Read all about it on GitHub I guess: https://github.com/aggroskater...
-
#009:2022-05-12 Analyzing the USB Data 4: The First 10 Bytes
I'm finally in enough of a groove at $dayJob that I feel like I have some extra energy to devote to this effort again! But I'm certainly off to a rough start. I was thinking a single hexadecimal number gave you a whole byte and not half a byte. Re...
-
#008:2021-12-27 Analyzing the USB Data Packets part 3
I say early on in the video that there "are no Windows drivers". I meant there are no "Linux" drivers 😃 This project is me trying to write Linux drivers for the True Metrix blood glucose monitor, based off of USB traffic I intercepted when readin...
-
#007:2021-12-09 Analyzing the USB Data Packets Part 2
I've got an initial python script up and running that confirms my original observation inside of Wireshark about most of the bytes being similar and only the first handful being unique. Subsequent investigation will dig deeper into the early bytes...
-
#006:2021-12-08 Analyzing the USB data packets part 1
Here, I take an initial stab at interpreting the raw binary data that's going across the wire. I can't really find much to start with, though there are a few patterns to take note of before employing python to more thoroughly analyze the data.
-
#005:2021-12-08 Getting a USB Dump with Wireshark
I muddle my way through some Wireshark hiccups and some confusion on how to isolate the specific USB traffic I'm interested in. At the end, I've got a dump of USB traffic from syncing the data in the official software in the Windows VM that I'll a...
-
#004:2021-12-04 The Tale of the VirtualBox USB Stack
At this point, I went backwards, having trouble getting lsusb to even recognize the device. Eventually, I discovered it was a power problem and got it recognized again. Then, I troubleshot VirtualBox USB until I got it working. Finally, I was ab...
-
#003:2021-12-04 The Actual USB Docking Station
The docking station arrived in the mail today. This entry shows an overview of the dock and some initial attempts to get it recognized by Linux at all. After recognizing it in lsusb, I moved on to (trying) to get it seen by a Windows 11 Guest VM...
-
#002:2021-12-01 The TRUEmanager Diabetes Management Software
In this entry, I give a brief overview of my not-a-lawyer take on the legality of reverse engineering USB traffic for my particular purposes, and then install the Windows drivers/software on a Windows virtual machine and poke around in it.
-
#001:2021-11-30 The True Metrix Blood Glucose Monitor
An initial thought process overview on where to start with trying to write drivers on Linux for the True Metrix blood glucose monitor.
-
Meta Info on Setting up OBS to record everything
I haven't used OBS before. But... it's pretty intuitive, all things considered. Had a couple things I needed to tweak around PulseAudio, but I believe this set up should serve me well for documenting this little adventure of mine.
We're indexing this podcast's transcripts for the first time — this can take a minute or two. We'll show results as soon as they're ready.
No matches for "" in this podcast's transcripts.
No topics indexed yet for this podcast.
Loading reviews...
ABOUT THIS SHOW
I'm a newly diagnosed Type 2 diabetic. My health insurance provider approved a True Metrix blood glucose monitor for measuring my blood sugar levels. However, it did not come with any cables/docking stations to connect to a computer, and even if it did, there are (apparently) no Linux drivers for the monitor and/or docking station. So I'm going to try putting my EE hat back on and hacking some drivers together for this device. I want to be able to periodically upload my data to my computer. I figure this is a good learning opportunity, so I intend to write the drivers in multiple languages: C, Rust, and Python. This peertube instance will, in theory, have videos documenting my process of hacking these drivers together. I know there's TidePool (which apparently supports the True Metrix with docking station), but it doesn't support linux and requires account sign-up. I'm going to do my best to not look at TidePool's source code, since this is supposed to be a learning experience.
Loading similar podcasts...