These are chat archives for nightscout/intend-to-bolus

22nd
Jan 2015
Scott Leibrand
@scottleibrand
Jan 22 2015 00:42
@kenstack: uploading raw data is an option in the Cookie Monster uploader UI
diabeticgonewild
@diabeticgonewild
Jan 22 2015 00:59
I didn't get anything done today, or yesterday for that matter due to being sick. Yay for having rare autoimmune diseases that can't be easily controlled. Maybe tomorrow will be more productive for me.
kenstack
@kenstack
Jan 22 2015 01:37
@scottliebrand yes I have the data in mongo - I thought someone had said the iob branch would display it next too the sgv data - maybe it's a different branch ? Or is there somethjng I need to enable in the master branch ? Thanks !!!
W. Aaron Waychoff
@waaronw
Jan 22 2015 02:11
Hi all! I’m getting aquainted with the amazing work you’ve all done, specifically related to comm with the Medtronic pumps via the CareLink USB. I was wondering if any work has been done w/r/t listening directly for the CGM transmitter messages via whatever proprietary RF it’s using. Anyone know of any research out there?
Ben West
@bewest
Jan 22 2015 02:23
yes
see mmcomander for passively picking up transmitter data
W. Aaron Waychoff
@waaronw
Jan 22 2015 02:24
Oooh, awesome. I’ll go check on that now. Thanks a ton!
diabeticgonewild
@diabeticgonewild
Jan 22 2015 03:02
@bewest , are you sure you would want the artificial pancreas models in C++, not Java? That is, if I get around to programming it, given I am actually productive, after the BG prediction stuff is done with, for the time being.
I know C++ is more solid, but the potential for it to be mobile like on an airplane or something would be exciting...
Ben West
@bewest
Jan 22 2015 03:03
I think getting the first implementation, it doesn't matter what the language is
goal is getting first implementation
then if it needs to change, you can subscribe helpers
I did decoding-carelink in python, but now there's java, c++, c#, ruby, js, etc...
diabeticgonewild
@diabeticgonewild
Jan 22 2015 03:04
yeah. I just know that if it's going to be open source, that I have to use numerical methods, not symbolic solving. But numerical methods is more solid for finding an exact solution. Anyways, it has to be processor intensive, no matter what.
Ben West
@bewest
Jan 22 2015 03:05
goal is getting it into existence in the first place
diabeticgonewild
@diabeticgonewild
Jan 22 2015 03:05
Remember that I am trained to deal with data structures. And I am really good at math.
I have done it in the past, so I am not too nervous about doing it again. However, I want it to be as accurate as possible. I don't want something with even my alias on it without it working as intended as much as possible.
The models are just not updated or designed for dealing with real-time calculations.
Ben West
@bewest
Jan 22 2015 03:06
I would suggest delivering a piece rather than a working whole then
like just the model
no UI, no app or anything
just library
by itself it is impossible to be dangerous... only thing it does by default is run the test suit
diabeticgonewild
@diabeticgonewild
Jan 22 2015 03:07
yeah, I don't do apps/UI or stuff like that. Never have.
Also, is there any way of putting like math.js into my personal fork in NS for testing out? I have a feeling that is a dumb question, but if the answer is yes then I will look more into it.
Ben West
@bewest
Jan 22 2015 03:20
there is, but it's also simple/simpler to create a new app that uses your NS data but adds your model
diabeticgonewild
@diabeticgonewild
Jan 22 2015 03:25

I am assuming the BG prediction stuff (that I am currently working on) or the artificial pancreas stuff (which I am going to work on, once the BG prediction stuff is done)?

Anyways, I really need to stop being sick. Not like I have control over it, but I feel like I could have whipped something out a lot easier if I was "healthier" back when I was 21 or so...

diabeticgonewild
@diabeticgonewild
Jan 22 2015 03:37
The problem with numerical methods though is that you have know the properties of each problem-solving method you use in your model, like backwards and forwards. It involves a lot of reading and trial and error. That's why I prefer MATLAB, but it's obviously not open-source. But somebody, no matter what, has to do the dirty work.
Sulka Haro
@sulkaharo
Jan 22 2015 18:00
640 now out. Mentions "Bayer CONTOUR(R) NEXT LINK 2.4" - the new model that uses 2.4 GHz to communicate with the pump. Does anyone know if that's BLE or another protocol? Probably proprietary? http://www.marketwatch.com/story/medtronic-launches-minimed-640g-system-breakthrough-in-artificial-pancreas-technology-outside-the-us-2015-01-21
diabeticgonewild
@diabeticgonewild
Jan 22 2015 18:24
fcc has the 640 manual partially published...I think...I need to do an FCC ID search on it, but I saw a new model there.
Yeah, here is the 640G FCC ID: OH21510
If you click on "advanced search" and you enter in Minimed for applicant name you pretty much will find all of the applications back until like the dark ages (90s)
Sulka Haro
@sulkaharo
Jan 22 2015 18:28
I checked the FCC docs - only talks about the frequency, not the protocol. 2.4 can be proprietary, BLE or even WiFi.
diabeticgonewild
@diabeticgonewild
Jan 22 2015 18:29
If I were to take a wild guess (emphasis on just a guess...) it would be BLE. I found this: The equipment operates at a power level below the threshold requiring RF exposure evaluation. This equipment is
exempted from RF exposure review
My cousin worked at Medtronic on defibrillators as an EE, and he said they were filthy rich and they can afford to do proprietary protocols though. The company he works at now uses protocols. But he is tight lipped about what they are working on specifically.
It's some sort of a physical activity monitor...I do know that. He had me put together like FCC IDs of a bunch of medical devices with links for his team to cross-reference. I am not really related to him though. He is my cousin by marriage.
*standard protocols
diabeticgonewild
@diabeticgonewild
Jan 22 2015 18:39
I don't think he knows anyone specifically that works in diabetes, so keep that in mind. But they do tend to "brand" their devices a certain way, including with proprietary protocols, but that's only really what I have heard from him and others. I don't know much else. @bewest or @bustavo might know more. TMI, but I have 2 medtronic neurostimulators inside of me. :/
Tyler Rhodes
@trhodeos
Jan 22 2015 18:44
pretty sure the next-link is not BLE. just plain ol' RF at 2.4Ghz. Not sure how much @bewest has worked on decoding it, but his repo is here https://github.com/bewest/decoding-bayer
diabeticgonewild
@diabeticgonewild
Jan 22 2015 18:45
Are you sure that is the one that works with the 640G?
Tyler Rhodes
@trhodeos
Jan 22 2015 18:45
i don't know why they would release another next-link without renaming it. Seems like a recipe for confusion.
diabeticgonewild
@diabeticgonewild
Jan 22 2015 18:48
There are differences in frequencies between North America and Europe, for example. I am pretty sure at least the Paradigm series (which does not include the 530G) is locked into the 916.5 MHz frequency.
W. Aaron Waychoff
@waaronw
Jan 22 2015 18:48
Medtronic already lists three seperate Next Link meters - for each of the X22, X23 and X51 pumps. My understanding was that it’s not the wireless but the data formatting/protocol that’s different. I’m unsure as to whether they are actually different in any meaninful way.
diabeticgonewild
@diabeticgonewild
Jan 22 2015 18:48
I do have to look up more information though to confirm the 640G stuff, though.
Tyler Rhodes
@trhodeos
Jan 22 2015 18:50
@waaronw where do they list them? Just curious.
W. Aaron Waychoff
@waaronw
Jan 22 2015 18:51
In their storefront, at least here in the US. Each has a diff part number even. It does occur to me that the difference might be in the documentation only, but they list only the single meter line as being compatible with each version.
I'm probably missing something obvious...
diabeticgonewild
@diabeticgonewild
Jan 22 2015 18:54
If you go to the medtronic store, you will see two different meter versions. One for the Paradigm series, one for the 530G series.
W. Aaron Waychoff
@waaronw
Jan 22 2015 18:54
diabeticgonewild
@diabeticgonewild
Jan 22 2015 18:54
Let me retrieve the links
@waaronw , right on.
Tyler Rhodes
@trhodeos
Jan 22 2015 18:54
ughh, hate the medtronic site
man, if the next-links are per-device, that is miserable.
@waaronw thanks for the link btw
W. Aaron Waychoff
@waaronw
Jan 22 2015 18:57
n/p Agreed, by the way. I won’t have to worry about it, though, as I have to go to a OneTouch meter for stupid insurance reasons… :)
diabeticgonewild
@diabeticgonewild
Jan 22 2015 18:59
LOL.
Technically, you could even do a DIY MySentry for like 50 bucks. I talked about it with somebody who was a practicing engineer who worked on medical devices. Basically, you design a device/circuit using op-amps, to take in the native frequency (916.5 MHz is what we are all generally using on the Medtronic devices) modulate it to another, more long-distance frequency, and remodulate it back to the 916.5 MHz frequency. You cannot just "amplify the signal" as it would cause unnecessary interference. Unfortunately, I have not took a class in circuit design (although I did well in circuit analysis--analog and digital) so I am kind of limited. Anyways, math and programming (with data structures) is more of my thing right now.
Tyler Rhodes
@trhodeos
Jan 22 2015 18:59
In the same boat.. That said, I own a next-link.. just no strips :'(
diabeticgonewild
@diabeticgonewild
Jan 22 2015 19:01
Also, that could be applied to get longer distance with the CareLink stick in a #DIYPS, especially in the home environment, but I would only use it for redundancy and not for dosing (e.g. adjusting temp basals), due to riskiness.
Anyways, I am still looking for the Bayer meter device.
On FCC ID search.
diabeticgonewild
@diabeticgonewild
Jan 22 2015 19:07
Actually, I am going to go to the good ol' Medtronic diabetes site. It has the FCC ID printed of the paradigm series Contour Next Link somewhere in that manual.
diabeticgonewild
@diabeticgonewild
Jan 22 2015 19:15
OK, bingo. Pretty sure I found it all. It does (no surprise) look like the 640G requires the 2.4 GHz meter, which is new. Type in "VN5" into the first search box in the FCC ID search on this page (FCC.gov doesn't allow direct links to FCC IDs, so you have to search manually) http://transition.fcc.gov/oet/ea/fccid/
Put in "VN5" under grantee code
For more info via google, put in exactly this into Google.com : "contour next link" AND "fcc*"
diabeticgonewild
@diabeticgonewild
Jan 22 2015 19:21
Oh, and btw, the Bayer Contour Link, may be an awesome interface, but the meter itself is flimsy. I had one that had a cracked plastic casing near the "power" button, which likely was not sustained from a drop or anything...most likely from normal "wear and tear" force. I have mixed feelings towards Medtronic pumps too, as I went through 7 replacements in 3 years as a kid.
But Medtronic replaced all of it, so I can't complain too much.