Bayer Contour USB (Blood Sugar, USB, Medical Device)
Review of Linux Compatibility
The “Bayer Contour USB” measures the blood sugar level and stores it internally. These measured values can be read out from a PC via the USB port. The Bayer Contour USB has the USB ID 1a79:6002
Bus 001 Device 011: ID 1a79:6002 Bayer Health Care LLC
and is recognized by the Linux kernel in the following way:
usb 1-9: new full-speed USB device number 11 using xhci_hcd usb 1-9: New USB device found, idVendor=1a79, idProduct=6002 usb 1-9: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-9: Product: Contour USB usb 1-9: Manufacturer: Bayer HealthCare LLC usb 1-9: SerialNumber: 0000000000012345 hid-generic 0003:1A79:6002.0009: hiddev0,hidraw6: USB HID v10.10 Device [Bayer HealthCare LLC Contour USB] on usb-0000:00:14.0-9/input0
Although Bayer provides a Java based software for download at http://www.diabetes.bayer.de/produkte/software/systemvoraussetzung this Bayer GLUCOFACTS® DELUXE-Software uses native DLL libraries and therefore can not be used under Linux.
To access the stored values also under Linux an experimental software is available at https://github.com/CodeMonkeySteve/contour-glucose. This software can be downloaded and compiled by:
cd /tmp wget https://github.com/CodeMonkeySteve/contour-glucose/archive/master.zip unzip master.zip cd contour-glucose-master/ make
Eventually it might be necessary to install some build-essentials before carrying out the compilation. Under Ubuntu this can be achieved by
sudo apt-get install build-essential sudo apt-get install libusb-dev
IF compiling fails with the error message
LINK glucose /usr/bin/ld: cannot find -lusb-1.0
the file “Makefile” needs to ba adapted. The Linker entry to the USB library has to be changed in order not to exlicitly link the 1.0 version:
glucose: $(GLUCOSE_OBJS) $(QUIET_LINK)$(CC) -lusb $(CFLAGS) -o $@ $^
Afterwards, the compiled program can read out the data from the Bayer Contour USB:
Initializing 100% Done! Reading data ABC3.1R|1|^^^Glucose|111|mg/dL^P||A||2015012345676... ABC3.0R|2|^^^Glucose|115|mg/dL^P||A||2015012347890... ABC3.5R|2|^^^Glucose|105|mg/dL^P||A||2015012349867...
and these data can be further processed in other programs like OpenOffice for data analysis or data visualization.
Identified Hardware Configurations (1 Result)This hardware component was used by Linux users under the following system configurations. These results were collected by our LHG Scan Tool: