Medtronic Others Driver



>>>> Medtronic pump driver is from 2.5 version part of AndroidAPS (master). While this is the case, Medtronic driver should still be considered beta software. Please install only if you are expirenced user. At the moment we are still fighting with double Bolus issue (We get 2 boluses in treatments, which throws IOB calculation (if you experience this bug, please enable Double Bolus Logging in Medtronic configuration and provide your logs)), this should be fixed with upcomming release. <<<<

Works only with older Medtronic pumps (details see below). Does not work with Medtronic 640G or 670G.

If you started using Medtronic driver please add yourself to this list. This is just so that we can see which Phones are good and which are not so good (or bad) for this driver. There is one column called “BT restart”. This is to check if yourPhone supports BT enable/disable, which can be used when pump is no longer able to connect, that happens from time to time. If you notice any other problem, please write that in Comments column.

Attention Medtronic Customers HAVE YOU CHECKED YOUR UPGRADE ELIGIBILITY? If you have an in-warranty MiniMed ™ insulin pump, you may be eligible to upgrade to the newest MiniMed ™ system for low or no cost. Support Overview. MiniMed™ 770G System. MiniMed™ 670G System. MiniMed™ 630G System. MiniMed™ 530G System. Guardian™ Connect System. CareLink™ Software.

Hardware and software requirements¶

  • Phone: Medtronic driver should work with any phone supporting BLE. IMPORTANT: While driver works correctly on all phones, enabling/disabling Bluetooth doesn’t (this is required when you loose connection to RileyLink and system can’t recover automatically - happens from time to time). So you need to get device with Android 7.0 - 8.1, in worst case scenario you can install LinegaeOS 15.1 (required 15.1 or lower) on your phone. We are looking into problem with Android 9, but so far we haven’t found resolution (it seems to work on some models and not on others, and on also works sometimes on some models).
  • RileyLink/Gnarl: For communication with Pump you need device that converts BT commands from Phone into RF commands that Pump understands. Device that does is called RileyLink (you can get it here getrileylink.org). You need stable version of device, which is for older models firmware 0.9 (older versions might not work correctly) or for newer models 2.2 (there are options to upgrade available on RL site). If you are feeling adventurous you can also try Gnarl (here), which is sort-of RileyLink-clone.
  • Pump: Driver works only with following models and firmware versions:
    • 512/712
    • 515/715
    • 522/722
    • 523/723 (firmware 2.4A or lower)
    • 554/754 EU release (firmware 2.6A or lower)
    • 554/754 Canada release (firmware 2.7A or lower)
  • Check for firmware is described in OpenAPS docs and LoopDocs.

Configuration of the pump¶

  • Enable remote mode on Pump (Utilities -> Remote Options, Select Yes, and on next screen do Add ID and add dummy id (111111 or something). You need to at least one ID on that Remote IDs list. This options might look differently on different model of pump. This step is important, because when set, Pump will listen more often for remote communication.
  • Set Max Basal on your Pump to your “max basal entry in your STD profile” * 4 (if you want to have 400% TBR as max). This number must be under 35 (as you can see in pump).
  • Set Max Bolus on your Pump (max is 25)
  • Set profile to STD. This will be the only profile we will use. You can also disable.
  • Set TBR type to Absolute (not Percent)

Configuration of Phone/AndroidAPS¶

  • Do not pair RileyLink with your Phone. If you paired your RileyLink, then AndroidAPS won’t be able to find it in configuration.
  • Disable Auto-rotate on your phone (on some devices Auto-rotate restarts BT sessions, which is not something we would want).
  • You can configure pump in AndroidAPS two ways:
  1. Use of Wizard (on new install)
  2. Directly in Config tab (Cog icon on Medtronic driver)

If you do new install you will be thrown directly into wizard. Sometimes if your BT connection is not working fully (unable to connect to pump), you might not be able to complete configuration. In such case select virtual pump and after wizard is finished, you can go with option 2, which will bypass pump detection.

You need to set following items: (see picture above)

  • Pump Serial Number: You can find that on back side, entry SN. You need to get only number, your serial is 6 numbers.
  • Pump Type: Which pump type you have (i.e. 522).
  • Pump Frequency: According to pump frequency there were two versions of Medtronic pump made (if you are not sure what frequency your pump uses, look at FAQ):
    • for US & Canada, frequency used is 916 Mhz
    • for Worldwide, frequency used is 868 Mhz
  • Max Bolus on Pump (U) (in an hour): This needs to be set to same as on the pump. It limits how much insulin you can Bolus. If you go over this, Bolus won’t be set and error will be returned. Max that can be used is 25, please set correct value for yourself here so that you don’t overdose.
  • Max Basal on Pump (U/h): This needs to be set to same as on the pump. It limits how much basal you can get in an hour. So for example, if you want to have max TBR set to 500% and highest of your Basal patterns is 1.5 U, then you would need to set Max Basal to at least 7.5. If this setting is wrong (for example, if one of your basal pattern would go over this value, pump would return error).
  • Delay before Bolus is started (s): This is delay before bolus is sent to pump, so that if you change your mind you can cancel it. Canceling bolus when bolus is running is not supported by pump (if you want to stop bolus when running, you have to suspend pump and then resume).
  • Medtronic Encoding: This is setting which determines, if 4b6b encoding that Medtronic devices do will be done in AndroidAPS or on RileyLink. If you have a RileyLink with 2.x firmware, default value will be to use Hardware encoding (= done by RileyLink), if you have 0.x firmware this setting will be ignored.
  • Battery Type (Power View): If you want to see battery power in your pump, you need to select type of battery you use (currently supported Lithium or Alkaline), this will in turn change display to display calculated percent and volts.
  • RileyLink Configuration: This will find your RileyLink/GNARL device.
  • Set neutral temp basals is an option which can help prevent Medtronic pumps from beeping on the hour. If enabled if will cancel a temp basal before the hour end to prevent this from happening.

MEDTRONIC (MDT) Tab¶

On pump tab you can see several lines that are showing pumps (and connections) current status.

  • RileyLink Status: It shows status of RileyLink connection. Phone should be connected to RileyLink all the time.
  • Pump Status: Status of pump connection, this can have several values, but mostly we will see sleep icon (when pump connection is not active), when command is beeing executed, we might see “Waking Up”, which is AAPS trying to make connection to your pump or description of any command that might be running on pump (ex.: Get Time, Set TBR, etc.).
  • Battery: Shows battery status depening on your configuration. This can be simple icon showing if battery is empty or full (red if battery is getting critical, under 20%), or percent and voltage.
  • Last connection: Time when last connection to pump was successful.
  • Last Bolus: When last bolus was given.
  • Base Basal Rate: This is the base basal rate that runs on pump at this hour.
  • Temp basal: Temp basal that is running or empty.
  • Reservoir: How much insulin is in reservoir (updated at least every hour).
  • Errors: Error string if there is problem (mostly shows if there is error in configuration).

On lower end we have 3 buttons:

  • Refresh is for refreshing state. This should be used only after connection was not present for long time, as this action will reset data about pump (retrieve history, get/set time, get profile, get battery status, etc).
  • Pump History: Shows pump history (see bellow)
  • RL Stats: Show RL Stats (see bellow)

Pump History¶

Pump history is retrieved every 5 minutes and stored localy. We keep history only for last 24 hours, so older entries are removed when new are added. This is simple way to see the pump history (some entries from pump might not be displayed, because they are not relevant - for example configuration of functions that are not used by AndroidAPS).

RL Status (RileyLink Status)¶

Others

Dialog has two tabs:

  • Settings: Shows settings about RileyLink: Configured Address, Connected Device, Connection Status, Connection Error and RileyLink Firmware versions. Device Type is always Medtronic Pump, Model would be your model, Serial number is configured serial number, Pump Frequency shows which frequency you use, Last Frequency is last frequency used.
  • History: Shows communication history, items with RileyLink shows state changes for RileyLink and Medtronic shows which commands were sent to pump.

Actions¶

When Medtronic driver is selected, 3 possible actions can be added to Actions Tab:

  • Wake and Tune Up - If you see that your AndroidAPS hasn’t contacted your pump in a while (it should contact it every 5 minutes), you can force Tune Up. This will try to contact your pump, by searching all sub frequencies on which Pump can be contacted. If it finds one it will set it as your default frequency.
  • Reset RileyLink Config - If you reset your RileyLink/GNARL, you need to use this action, so that device can be reconfigured (frequency set, frequency type set, encoding configured).
  • Clear Bolus Block - When you start bolus, we set Bolus Block, which prevents any commands to be issued to pump. If you suspend your pump and resume (to cancel bolus), you can then remove that block. Option is only there when bolus is running...

Important notes¶

OpenAPS users¶

When you start using AndroidAPS, primary controller is AndroidAPS and all commands should go through it. Sending boluses should go through AAPS and not be done on pump. We have code in place that will detect any command done on pump, but if you can you should avoid it (I think we fixed all the problems with pump history and AAPS history synchronization, but small issues still may arrise, especially if you use the “setup” as it was not intended to be used). Since I started using AndroidAPS with my pump, I haven’t touched the pump, except when I have to change the reservoir, and this is the way that AndroidAPS should be used.

Logging¶

Since Medtronic driver is very new, you need to enable logging, so that we can debug and fix problems, if they should arise. Click on icon on upper left corner, select Maintainance and Log Settings. Options Pump, PumpComm, PumpBTComm need to be checked.

RileyLink/GNARL¶

When you restart RileyLink or GNARL, you need to either do new TuneUp (action “Wake and Tune Up”) or resend communication parameters (action “Reset RileyLink Config”), or else communication will fail.

Manual use of pump¶

You should avoid manually doing treatments things on your pump. All commands (bolus, TBR) should go through AndroidAPS, but if it happens that you will do manual commands, do NOT run commands with frequency less than 3 minutes (so if you do 2 boluses (for whatever reason), second should be started at least 3 minutes after first one).

Timezone changes and DST (Daylight Saving Time) or Traveling with Medtronic Pump and AndroidAPS¶

Important thing to remember is that you should never disable loop when you are traveling (unless your CGMS can’t do offline mode). AAPS will automatically detect Timezone changes and will send command to Pump to change time, when time on Phone is changed.

Now if you travel to East and your TZ changes with adding hours (ex. from GMT+0 to GMT+2), pump history won’t have problem and you don’t have to worry... but if you travel to West and your TZ changes by removing hours (GMT+2 to GMT-0), then sychronization might be little iffy. In clear text, that means that for next x hours you will have to be careful, because your IOB, might be little weird.

We are aware of this problem, and we are already looking into possible solution (see https://github.com/andyrozman/RileyLinkAAPS/issues/145), but for now, have that info in mind when traveling.

FAQ¶

Can I see the power of RileyLink/GNARL?¶

No. At the moment none of this devices support this and it probably won’t even in the future.

Is GNARL full replacement for RileyLink?¶

Yes. Author of GNARL added all functions used by Medtronic driver. All Medtronic communication is supported (at time of the writing (June/2019). GNARL can’t be used for Omnipod communication. Downside of GNARL is that you have to build it yourself, and you have to have compatible version of hardware.

Note from author: Please note that the GNARL software is still experimental and lightly tested, and should not be considered as safe to use as a RileyLink.

Where can I get RileyLink or GNARL?¶

Like mentioned before you can get devices here:

  • RileyLink - You can get device here - getrileylink.org.
  • GNARL - You can get info here, but device needs to be ordered elsewhere (github.com/ecc1/gnarl).

What to do if I loose connection to RileyLink and/or pump?¶

  1. Run “Wake Up and Tune” action, this will try to find right frequency to communicate with pump.
  2. Disable Bluetooth, wait 10s and enable it again. This will force reconnecting to RileyLink.
  3. Reset RileyLink, after you do that do not forget to run “Reset RileyLink Config” action.
  4. Try 3 and 2 together.
  5. Reset RileyLink and reset phone.

How to determine what Frequency my pump uses¶

If you turn your pump around in first line on right side you will see special 3 letter code. First two letters determine frequency type and last one determines color. Here are possible values for Frequency:

  • NA - North America (in frequency selection you need to select “US & Canada (916 MHz)”)
  • CA - Canada (in frequency selection you need to select “US & Canada (916 MHz)”)
  • WW - Worldwide (in frequency selection you need to select “Worldwide (868 Mhz)”)

INTRODUCTION

Privacy is very important to us. We also understand that privacy is very important to you. This Privacy Statement tells you how we protect and use information that we gather through this Medtronic website based in the United States. Medtronic and some of its affiliates, including Medtronic Minimed, and our international affiliates, also operate other websites. This Privacy Statement does not apply to the other Medtronic websites. You should review the privacy statement posted on other Medtronic websites when you visit them. This website and this Privacy Statement are intended for a U.S. audience.

By using this website, you agree to the terms of the most recent version of this Privacy Statement. Please read our Terms of Use to understand the general rules about your use of this website. Except as written in any other disclaimers, policies, terms of use, or other notices on this website, this Privacy Statement and the Terms of Use are the complete agreement between you and Medtronic with respect to your use of this website. You may be subject to additional terms that may apply when you access specific services or materials on certain areas in this website, or when you follow a link from this website.

WHAT IS PERSONAL INFORMATION?

Personal information is information that we can use to specifically identify you, such as your:

  • Name
  • Address
  • Unique personal identifier (e.g., device ID, online identifier)
  • Internet Protocol address
  • Email address
  • Account name
  • for U.S. healthcare providers, a National Provider Identifier# (NPI) and/or a state license number
  • Social security number
  • Driver’s license number, or
  • Other similar identifiers
  • Characteristics of protected classifications under state/federal law (e.g., age, race, sex, medical condition, etc.)
  • Medical information
  • Health insurance information
  • Financial information, including credit card numbers
  • Biometric information (e.g., imagery of the iris, retina, fingerprint, face, or other data that contain identifying information)
  • Commercial information (e.g., purchase history)
  • Internet or other electronic network activity information (e.g., browsing history, interaction with our website, etc.)
  • Geolocation data
  • Audio, electronic, visual, thermal, olfactory, or similar information (e.g., call recordings)
  • Professional, employment-related, or other similar information

In some places on this website you have the opportunity to send us personal information about yourself, to elect to receive particular information, or to participate in an activity. For example, you may fill out a registration form, a survey, or an e-mail form and you may elect to receive educational material about our products and therapies.

You also may choose to allow us to personalize your visits to the website, in which case we will ask you for certain personal information to make your visits to our website more helpful to you. When this information is combined with the information that we collect through cookies (described below), we will be able to tell that you have visited our website before and can personalize your access to our website, for example, by telling you about new features that may be of interest to you.

HOW DOES MEDTRONIC KEEP AND USE PERSONAL INFORMATION?

We may keep and use personal information we collect from you through this website to provide you with access to this website. In addition, we may keep and use your personal information:

  • to respond to your requests
  • to personalize your access to our website, for example, by telling you about new features that may be of interest to you
  • to develop records, including records of your personal information
  • to contact you with information that might be of interest to you, including information about clinical trials and about products and services of ours and of others
  • for analytical purposes and to research, develop and improve programs, products, services and content
  • for U.S. healthcare providers, to link your name, National Provider Identifier (NPI), state license number, and/or your IP address to web pages you visit, for compliance, marketing, and sales activities
  • to remove your personal identifiers (your name, e-mail address, social security number, etc.). In this case, you would no longer be identified as a single unique individual. Once we have de-identified information, it is non-personal information and we may treat it like other non-personal information.
  • to enforce this Privacy Statement and other rules about your use of this website
  • to protect someone's health, safety or welfare
  • to protect our rights or property
  • to comply with a law or regulation, court order or other legal process

DOES MEDTRONIC EVER SHARE PERSONAL INFORMATION WITH THIRD PARTIES?

Medtronic will not share your personal information collected from this website with an unrelated third-party without your permission, except as otherwise provided in this Privacy Statement.

In the ordinary course of business, we will share some personal information with companies that we hire to perform services or functions on our behalf. For example, we may use different vendors or suppliers to ship you products that you order on our website. In these cases, we provide the vendor with information to process your order such as your name and mailing address. In cases in which we share your personal information with a third-party, we will not authorize them to keep, disclose or use your information with others except for the purpose of providing the services we asked them to provide.

Medtronic Others Driver Interview

We may be legally compelled to release your personal information in response to a court order, subpoena, search warrant, law or regulation. We may cooperate with law enforcement authorities in investigating and prosecuting website visitors who violate our rules or engage in behavior which is harmful to other visitors (or illegal).

We may disclose your personal information to third parties if we feel that the disclosure is necessary to:

  • enforce this Privacy Statement and the other rules about your use of this website
  • protect our rights or property
  • protect someone's health, safety or welfare
  • fulfill obligations relating to a corporate sale, merger, dissolution, or acquisition
  • comply with a law or regulation, court order or other legal process

Please note: In addition to the ways that we may keep, disclose, and use information described in this Privacy Statement, we also may keep, disclose, and use personal information in ways that we believe are consistent with FDA and other governmental guidance, directions, regulations, and laws, including HIPAA, where applicable.

COLLECTING ONLINE INFORMATION

If you visit our web site to read or download information, such as information about a health condition or about one of our products, we may collect certain information about you from your computer. This information is collected from your computer's web browser. This information may include:

  • The name of the domain from which you access the Internet
  • The Internet Protocol address (“IP Address”) of the computer you are using
  • The type of browser and operating system you are using
  • The date and time you access our web site
  • The internet address of the site from which you linked directly to our web site
  • Which pages you have visited on our web site (note: U.S. healthcare providers, please see the 'uses of personal information' described below)
  • The search terms you use
  • The links on which you click

Cookies: We also may collect this information through cookies, pixels, web beacons, and similar technologies (“cookies”), that work through placing a small file (like a text file or graphic) in the browser files of your computer when you visit. The cookie may be stored on your computer's hard drive. Cookies are used to collect information for business purposes, such as enabling essential website functions and improving the user experience. You are free to decline our cookies if your browser permits, but some parts of our website may not work properly for you if you do so. Medtronic may use third-party tracking and advertising providers to act on our behalf to track and analyze your usage of our sites. These third parties may collect, and share with us, as we may request, website usage information about visits to our sites, measure and research the effectiveness of our advertisements, and track page usage and paths followed during visits through our sites. Also, these third-party providers may place our Internet banner advertisements on other sites that you visit, and track use of our Internet banner advertisements and other links from our marketing partners' sites to our sites. To the extent the information collected on Medtronic's behalf by these third parties contains any personally identifiable information, we will protect it in accordance with this privacy statement.

Medtronic Others Driver Portal

We will not allow third parties other than those companies that we hire to perform services or functions on our behalf to place cookies on our website. Please refer to your browser Help instructions to learn more about managing cookies. And see below for an explanation of our use of cookies as well as how to opt out of our use of cookies.

CHOICES ABOUT COOKIES AND OPT-OUT OPTIONS

For more information on third-party advertising-related cookies and how to opt out of some cookies as you choose, see the descriptions and links below.

Click here to visit the Network Advertising Initiative site to set preferences and opt out of third-party targeting cookies.

EU visitors can find general information and opt-out resources at youronlinechoices.eu and US visitors can visit aboutads.info and allaboutcookies.org.

WHAT DOES MEDTRONIC DO WITH NON-PERSONAL INFORMATION?

Non-personal information is information that cannot identify you or be tied to you. We are always looking for ways to better serve you and improve this website. We will use non-personal information from you to help us make this website more useful to visitors. We also will use non-personal information for other business purposes. For example, we may use non-personal information or aggregate non-personal information to:

  • create reports for internal use to develop programs, products, services or content
  • customize the information or services that are of interest to you
  • share it with or sell it to third parties
  • provide aggregated information on how visitors use our site, such as 'traffic statistics' and 'response rates,' to third parties

HOW DOES MEDTRONIC PROTECT MY ACCOUNT INFORMATION? (ONLY APPLICABLE ON WEBPAGES OFFERING USER ACCOUNT LOGINS)

Certain of our webpages permit you to create a user account and login to that account. The information in this section applies to those webpages:

Viewing/Editing Personal Information: You may change the information you have provided by logging into your account and editing the information. If you are the patient, your personal information will be viewable by all persons you have invited and registered on your account (e.g., Friends and Family Members). If you are registered on a patient’s account, your personal information will be viewable by the patient as well as others registered on that account.

Storage of Personal Information: Medtronic may store your personal information on servers in countries where Medtronic operates, including a server(s) located in the United States of America. If you choose to close your account, we will maintain copies of your information in our internal records, systems, and databases, in accordance with our data retention schedules. We will continue to treat your personal information in accordance with this Privacy Statement.

Protecting Personal Information: We take security seriously and take a number of steps to protect your personal information. You also play a big part in protecting the privacy of your personal information. When you create an account, we ask you to select a password that is unique to you. To protect your personal information from unwanted disclosure, you should not give your password to anyone with whom you would not share your personal information. Our website may also log you out after a period of inactivity and require you to log in again. When you are ready to leave this website, always “log off” and close your browser to help protect the confidentiality of your information.

WHAT HAPPENS IF THE PRIVACY STATEMENT CHANGES?

If we decide to make a significant change to our Privacy Statement, we will post a notice on the homepage of our website for a period of time after the change is made. Significant changes are also described below.

Recent revisions to the Privacy Statement:

This Privacy Statement was last revised and the Supplemental Privacy Notice for California Residents was added on December 6, 2019. Our Privacy Statement was significantly expanded on October 31, 2001. You can read the previous version of our Privacy Statement here. In addition, we made minor revisions to the Privacy Statement in July 2008, April 2009, June 2013, September 2013, July 2014, and January 2015, but these revisions did not change the privacy principles.

WHAT ABOUT PRIVACY ON OTHER WEB SITES?

This web site may contain links to other web sites. Some of those web sites may be operated by Medtronic, and some may be operated by third parties. We provide the links for your convenience, but we do not review, control, or monitor the privacy practices of web sites operated by others. This Privacy Policy does not apply to any other web site, even the other Medtronic web sites. We are not responsible for the performance of web sites operated by third parties or for your business dealings with them. Therefore, whenever you leave this website, we recommend that you review each website's privacy practices and make your own conclusions regarding the adequacy of these practices.

DOES MEDTRONIC EVER COMMUNICATE DIRECTLY WITH VISITORS TO THIS WEBSITE?

We may contact you periodically by e-mail, mail or telephone if you agree to that contact to provide information regarding programs, products, services and content that may be of interest to you. In addition, some of the features on this website allow you to communicate with us using an online form. If your communication requests a response from us, we will send you a response via e-mail. The e-mail response or confirmation may include your personal information, including personal information about your health, your name, address, etc. We cannot guarantee that our e-mails to you will be secure from unauthorized interception.

Medtronic Others Driver

ARE THERE SPECIAL RULES ABOUT CHILDREN'S PRIVACY?

We care about protecting the online privacy of children. We will not intentionally collect any personal information (such as a child's name or e-mail address) from children under the age of 13. If you think that we have collected personal information from a child under the age of 13, please contact us.

WHAT ABOUT WEBSITE SECURITY?

Security is very important to us. We also understand that security is important to you. We take reasonable steps to protect your personal information from loss, misuse, and unauthorized access, disclosure, alteration, or destruction. You should keep in mind that no Internet transmission is ever 100% secure or error-free. In particular, e-mail sent to or from this site may not be secure, and you should therefore take special care in deciding what information you send to us via e-mail.

HOW TO CONTACT MEDTRONIC

If you have questions or comments about this Privacy Statement, please contact us here.





Comments are closed.