For any coders, we've mostly finally decoded the carelink protocol.

I've tried to simplify the tools to a kind of minimal set of scripts which should reproduce results in a predictable way.

You can see the kind of output you might get from attempting to decode your pump over carelink here:

As-is, it's stuck in a state that at least does not seem to produce error states for me and are reproducible, but do not allow me to continue the protocol as expected. I believe this has something special to do either with either the short length of the initial PowerControl command or something about the PowerControl command itself.

I've tried documenting the protocol a bit, as well as show other output, including attempts at decoding bolus histories, etc....

You can find attempts at finding records in https://github.com/bewest/decoding-carelink/blob/rewriting/find_dat... which is useful to analyze the experiments I've performed: https://github.com/bewest/decoding-carelink/blob/rewriting/new-year...

If anyone has suggestions on how to improve the handling to be more reliable, or on how to better parse records out of the HistoryData, please let me know. :-)

HTH

Views: 137

Replies to This Discussion

Have you tried the python library "hachoir"?

https://bitbucket.org/haypo/hachoir/wiki/Home

It hasn't been too active lately, but it looks promising. There are also links to other binary file analysis projects.

RSS

Advertisement



REsources

From the Diabetes Hands Foundation blog...

Helmsley Charitable Trust Renews Support for DHF

HELMSLEY CHARITABLE TRUST GRANTS SUPPORT TO DIABETES HANDS FOUNDATION FOR FOURTH YEAR  Funding in 2015 to support major transitions in programs and leadership at Diabetes Hands Foundation BERKELEY, CA: February 18, 2015 – The Leona M. and Harry B. Helmsley Read on! →

Spare A Rose, Save A Child for Valentines Day

Here’s a new way to celebrate Valentines Day: Buy a dozen roses, spare the cost of one (about $5) and donate to IDF’s Life for a Child program. By doing this, you will help children in need of life saving insulin. Those of Read on! →

Diabetes Hands Foundation Team

DHF TEAM

Melissa Lee
(Interim Executive Director, Editor, has type 1)


Manny Hernandez
(Co-Founder, has LADA)

Emily Coles (Head of Communities, has type 1)

Mila Ferrer
(EsTuDiabetes Community Manager, mother of a child with type 1)

Mike Lawson
(Head of Experience, has type 1)

Corinna Cornejo
(Director of Operations and Development, has type 2)

Desiree Johnson  (Administrative and Programs Assistant, has type 1)

DHF VOLUNTEERS


Lead Administrator

Brian (bsc) (has type 2)


Administrators

Lorraine (mother of type 1)
Marie B (has type 1)

DanP (has Type 1)

Gary (has type 2)

David (has type 2)

 

LIKE us on Facebook

Spread the word

Loading…

This website is certified by Health On the Net Foundation. Click to verify. This site complies with the HONcode standard for trustworthy health information: verify here.

© 2015   A community of people touched by diabetes, run by the Diabetes Hands Foundation.

Badges  |  Contact Us  |  Terms of Service