Skip to content

paul1956/CareLink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CareLink™ For Windows

Download Latest Release from

https://GitHub.com/paul1956/CareLink/releases/

Description

This application is designed to show all the available pump data in a visual version that mimics the one on iPhone and in tables that can be exported to Microsoft Excel or the Clipboard.

Same display

Some data is filtered out by default because I could not see any use for it. You can turn off filters from Options Menu. but performance will suffer.

Disclaimer And Warning

This project is intended for educational and informational purposes only. It relies on a series of fragile components and assumptions, any of which may break at any time. It is not FDA approved and should not be used to make medical decisions. It is neither affiliated with nor endorsed by Medtronic, and may violate their Terms of Service. Use of this code is without warranty or formal support of any kind. Try it out and send feedback.

Required Settings

A directory MyDocuments/CareLink/Settings contains a Settings File which is initially blank it will contain information about your pump that is not available from CareLink™.

  • Pump AIT
  • Insulin Type from drop down List, currently limited to 5 popular pump insulin type open issue it yours is missing and one listed isn't close
  • A check box to allow selection of AIT decay algorithm (one uses pump value for 770G only and an advanced one that is based on Insulin Type).
  • For MiniMed™ 780G it allows setting you pump Target SG for MiniMed™ 770G its fixed at 120
  • Lastly is an area where you can enter your Carb Ratio by time.

Updated

07/20/2025

What's New

New in 5.0.4.0

  • Improve navigation and usability of the application.
  • Improve the display of time units like "hours" and "minutes" in the UI.

New in 5.0.3.9

  • Add support for Time in Tight Range (TiTR) thresholds in Settings file.
  • Display Carb Ratio in SummaryPage when mouse hovers over the Carb Ratio label.

New in 5.0.3.8

  • Fix issue with Speech to Text.

New in 5.0.3.7

  • Improved accuracy of TiTR results through session-specific adjustments the adjustments are made based on the specific session data.

New in 5.0.3.6

  • Enhance performance for Time in Range and TITR calculations.
  • Add support of Time In Tight Range (TITR) calculation.

New in 5.0.3.6

  • Enhance performance for Time in Range and TITR calculations.
  • Add support of Time In Tight Range (TITR) calculation

New in 5.0.3.5

  • Use NET9_0 test instead of Not Full FullDarkModeSupport to support Dark Mode in .NET 9.0
  • Improve Summary Page formatting
  • Fix crash when No Data From Pump
  • Show UI when using TestData

New in 5.0.3.4

  • Make Basal Per Hour table easier to read.

New in 5.0.3.3

  • Reorganize "Last 24 Hour Totals".
  • Improve responsiveness of the application while loading data.

New in 5.0.3.2

  • Fix handling of DataGridView Controls, where once a control had a row it would not display the empty message.

New in 5.0.3.1

  • Update table names and other logic so that "Return to Summary Page" works correctly
  • Fix display of user notifications after data loading.

New in 5.0.3.0

  • Fix IsMinBasal algorithm
  • Cleanup formatting for all the tables, including update function names to better reflect what they do
  • Enhanced feature for better user experience in DataGrid view.

New in 5.0.2.6

  • All Table columns are not sortable except the RecordNumber column on Sensor Glucose Table

New in 5.0.2.5

  • Code cleanup and refactoring
  • Rename decimalDigits to digits in arguments
  • Rename listOfClass to classCollection
  • After cancelled login attempt and then successfully logging in make TabControlPages Visible

New in 5.0.2.4

  • Improved user interface for settings management.
  • Enhanced data visualization options for better user experience.

New in 5.0.2.3

  • Fixed creation of CareLinkErrorReportFile and loading of it caused by incorrect removal of personal information.

New in 5.0.2.2

  • Optimized data loading speed for improved performance.

New in 5.0.2.1

  • Added support if .Net 9.0 with DarkMode Tabs and StatusStrip.
  • Fixed error where login was failing because Python Login Client could not be found

New in 5.0.2.0

  • Cleanup and address many formatting issues where titles were cut off
  • Improved handling of edge cases in title formats.

New in 5.0.1.5

  • Offer to delete stale login file
  • Update text in notificationMessages for 801
  • Update s_sensorUpdateTimes to correct times
  • Fix login error messages and support deleting LoginDataFile on errors

New in 5.0.1.4

  • Fixed sizing of TableLayoutPanelNotificationsCleared

New in 5.0.1.2

  • Exclude Login Code that is not currently used
  • Pass Form1 as a Function parameter wherever possible, when not possible use My.Forms.Form1
  • Update NuGet packages

New in 5.0.1.1

  • Many fixes in formatting
    • Add some Usings
    • Autosize Rows in DgvSGs
    • Improve Wrap support of last column
    • Remove old code from ColumnAdded handlers
    • Revamp DarkMode handling
    • Improve empty DGV display
    • Improve Meal Record matching
    • Add support for message 113
    • Reorganize and improve Insulin display
    • Fix lowLimit variable names
    • Fix GetCarbRatio

New in 5.0.1.0

  • Suspend Layout while creating Notification Tables

New in 5.0.0.11

  • Hide patient name and other personal information in Snapshots
  • Use PatientDataElement for all stored files and make it Global
  • Move CleanPatientData to new helper file
  • Rename MenuStartHereSnapshotSave to MenuStartHereSaveSnapshotFile
  • Fix missing hardwareRevision string

New in 5.0.0.10

  • Improve formatting of summary data
  • Fix and simplify Summary formatting
  • Fix DGV copy without header text.

New in 5.0.0.9

  • Fix for crash in tab navigation

New in 5.0.0.8

  • Fix Status Bar text color' this is a temporary fix until I can find a better way to handle Dark Mode with controls that don't support it like StatusStrip

New in 5.0.0.7

  • Parse Json data using CurrentCulture
  • Fix processing of export data
  • Add new fault codes
  • Fix TIR Calculation

New in 5.0.0.5

  • Fixes handling of Manual Mode Suspend

New in 5.0.0.3

  • Fixes plotting of TIR and other values

New in 5.0.0.2

  • Supports new V11 Medtronic API

New in 4.0.2.0

  • Limited dark mode support

Requires for running

  • .NET Core 9.0 or later
  • Windows 10 or later

Requires for development

  • Visual Studio 2022 Version 17.14.0 Preview 2.0
  • .NET Core 9.0.0 or later
  • Windows 10 or later

License

  • MIT

Technologies

  • Windows Forms
  • dotnet-core

Topics

  • Medtronic CareLink™ data display

Known Issue for developers only

For the visualization layer I use the open source System.Windows.Forms.DataVisualization library https://GitHub.com/Kirsan31/WinForms-DataVisualization

  • If you get the error below

"System.Configuration.ConfigurationErrorsException: 'Configuration system failed to initialize'" will need to edit CareLink\src\CareLink\bin\Debug\net7.0-windows\CareLink.dll.config and remove the following lines

<system.diagnostics>
    <sources>
        <!-- This section defines the logging configuration for My.Application.Log -->
        <source name="DefaultSource" switchName="DefaultSwitch">
            <listeners>
                <add name="FileLog"/>
                <!-- Uncomment the below section to write to the Application Event Log -->
                <!--<add name="EventLog"/>-->
            </listeners>
        </source>
    </sources>
    <switches>
        <add name="DefaultSwitch" value="Information" />
    </switches>
    <sharedListeners>
        <add name="FileLog"
                type="Microsoft.VisualBasic.Logging.FileLogTraceListener, Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"
                initializeData="FileLogWriter"/>
        <!-- Uncomment the below section and replace APPLICATION_NAME with the name of your application to write to the Application Event Log -->
        <!--<add name="EventLog" type="System.Diagnostics.EventLogTraceListener" initializeData="APPLICATION_NAME"/> -->
    </sharedListeners>
</system.diagnostics>

About

Repo for CareLink Windows App

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •