pazaan / 600SeriesAndroidUploader

Your Medtronic 600-series pump data, direct to Nightscout
http://pazaan.github.io/600SeriesAndroidUploader/
MIT License
189 stars 312 forks source link

Minimed 770G / 780G communication protocol implementation, how to get started ? #296

Open ondrej1024 opened 3 years ago

ondrej1024 commented 3 years ago

Hi all,

Medtronic has started distributing the Minimed 770G and 780G insulin pumps. Their communication protocol is based on Bluetooth. I would like to start implementing an open source protocol stack for these pumps. Anyone here knows if someone has already started with this ? Is their any documentation on the new protocol available ?

Cheers, Ondrej

benceszasz commented 3 years ago

@ondrej1024 maybe someone has started it, but not sure: NightscoutFoundation/xDrip#1473

mohammed-nep-group commented 3 years ago

Hi ondrej,

I was also already looking into this look over my issue otherwise : https://github.com/nightscout/cgm-remote-monitor/issues/6568

Would love to look it over with everyone, because I think there should be space to accomplish this.

lynass commented 3 years ago

There is a USB blue adapter 1003910 that connects to the 780G pump for users without a phone to upload data to carelink. This would seem like a good place to start. I have one of these devices and I could try to look at the data going over the usb connection so avoiding any of the bluetooth layer. If someone could give me a few pointers how to do this, it would be helpful.

pazaan commented 3 years ago

I originally used Wireshark for USB to inspect the traffic going over USB while chatting to CareLink.

ondrej1024 commented 2 years ago

@lynass I would be interested to know if you have started looking into the BLE communication between the 780G and a PC and could share your results.

I think it would be worth the effort to develop an open source library which allows to communicate directly with the pump. I am not aware of any work going on to achieve this.

To get started I have developed a prototype of the M5Stack Minimed Monitor, which is based on the minimed-connect-to-nightscout project. While this seems like the easiest way to go, it is not the best solution. It relies on the entire Carelink Cloud infrastructure, which is not always a good thing.