decocare - a pure python module for serial communication with insulin pumps.
This module implements the communication protocol necessary to audit or command MM insulin pumps. Tested with 515, and 522.
See:
Bases: decocare.errors.StickError
Bases: decocare.errors.AckError
Bases: decocare.records.bolus.BolusWizard
# page 17, RECORD 11 >>> parse_date( big_days(0) ).isoformat( ) ‘2012-11-20T21:53:41’
# page 17, ~ RECORD 12 >>> parse_date( big_days(1) ).isoformat( ) ‘2012-11-20T22:07:38’
>>> parse_date( big_days(2) ).isoformat( )
'2012-11-20T21:53:41'
>>> parse_date( big_days(3) ).isoformat( )
'2012-11-20T22:07:38'
# page 16, RECORD ~15 >>> parse_date( big_days(4) ).isoformat( ) ‘2012-11-25T16:41:34’
>>> parse_date( big_days(5) ).isoformat( )
'2012-11-25T13:54:32'
# page 15 >>> parse_date( big_days(6) ).isoformat( ) ‘2012-11-29T20:25:37’
# page 0 >>> parse_date( big_days(7) ).isoformat( ) ‘2012-12-20T14:59:02’
>>> parse_date( big_days(8) ).isoformat( )
'2012-12-20T15:28:25'