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

25th
Nov 2014
kenstack
@kenstack
Nov 25 2014 04:31
thanks ben for kicking this off. I read your docs and just finished some background docs. Regardless of whether we are actually covered by the FDA on these sorts of things (we are not delivering a finished product or standalone SW app, but rather pieces and instructions to DIY, which seems to be a grey area - though I am not a lawyer) I am in full agreement to get something going with the FDA in terms of a conversation. Do you have any background on other open source medical efforts? Im keen to read up on similar situations in other parts of the medical industry but I dont know of any off the top of my head
Scott Leibrand
@scottleibrand
Nov 25 2014 05:56
@bewest got another data error with @danamlewis's 523:

response: ReadRTC:size[64]:data:'2000-0-0T3:53:50'
hexdump:

0000   0x03 0x35 0x32 0x32 0x00 0x00 0x00 0x00    .522....
0008   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0010   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0018   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0020   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0028   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0030   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0038   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........

decoded:

'2000-0-0T3:53:50'

Traceback (most recent call last):
File "/usr/local/bin/mm-latest.py", line 150, in <module>
app.run(None)
File "/home/pi/decoding-carelink/decocare/helpers/cli.py", line 104, in run
self.main(args)
File "/usr/local/bin/mm-latest.py", line 137, in main
self.report_clock( )
File "/usr/local/bin/mm-latest.py", line 69, in report_clock
self.time = lib.parse.date(self.clock.getData( ))
File "/home/pi/decoding-carelink/decocare/lib.py", line 101, in date
return dateutil.parser.parse( data )
File "/usr/local/lib/python2.7/dist-packages/python_dateutil-2.2-py2.7.egg/dateutil/parser.py";, line 748, in parse
return DEFAULTPARSER.parse(timestr, kwargs)
File "/usr/local/lib/python2.7/dist-packages/python_dateutil-2.2-py2.7.egg/dateutil/parser.py";, line 320, in parse
ret = default.replace(
repl)
ValueError: month must be in 1..12

what should I collect (using decoding-carelink tools: I can't do carelink java) when I see one of these?
Ben West
@bewest
Nov 25 2014 19:16
yeah
hmmm
ok
that is special
looks like.... commands changed or something
dunno
that looks like the response for "read pump model"
not "read RTC"
so... that's unexpected by a lot
can you use the send-comm.py tweak commands?
the tweak command allows sending an arbitrary "known" command
you can do ReadRTC, like ./bin/mm-send-comm.py tweak ReadRTC --save