decoding-carelink
decoding-carelink copied to clipboard
how to run on windows?
Opening this is a discussion place holder for people wanting to run on windows.
From what I understand things should work on Windows, the trick is: a. Getting the OS to create a serial device (it can be observed in the Hardware Manager) b. Giving the correct name of the serial device to the scripts.
The name is something like \\\\USB.\\\MedtronicMMT....
or something like that.
I believe what is happening is that Medtronic's own driver automatically creates the serial device, and puts it in the system registry.
It should be possible to query the Windows registry to find/identify/locate the correct port
argument, which would allow users to use the auto-scanning feature by default.
Here are some more details:
- https://bitbucket.org/abe_k/arduino-data-logger/src/a57960c71ae52a1873f3ad84fda7820a6757f6af/datalogger/getports/wingetports.py?at=default
- http://stackoverflow.com/questions/12090503/listing-available-com-ports-with-python
- http://stackoverflow.com/questions/11303850/what-is-the-cross-platform-method-of-enumerating-serial-ports-in-python-includi
- https://github.com/makerbot/pyserial/blob/master/serial/tools/list_ports_windows.py -- looks quite promising
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.