Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier Import alias Import alias Import alias ImportFrom alias alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Str decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list Assign NameStore Call NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Return Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list decorator_list Call NameLoad Import alias Import alias ClassDef bases NameLoad body Assign NameStore Num Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr Str Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad If BoolOpOr CompareIs NameLoad NameLoad CompareLt NameLoad NameLoad CompareGt Call AttributeLoad BinOpSub NameLoad NameLoad attr BinOpMult Num AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore AttributeLoad NameLoad attr If NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad SubscriptLoad NameLoad Index Str attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword BinOpAdd NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore AttributeLoad NameLoad attr If NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad For NameStore SubscriptLoad AttributeLoad NameLoad attr Slice body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Return NameLoad decorator_list decorator_list Call NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list decorator_list Call NameLoad ClassDef bases NameLoad body Expr Str decorator_list Call NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list decorator_list Call NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list decorator_list Call NameLoad ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list decorator_list Call NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list decorator_list Call NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str attr Return Call Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Return Call Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str decorator_list Call NameLoad ClassDef bases NameLoad body Expr Str decorator_list Call NameLoad ClassDef bases NameLoad body Expr Str decorator_list Call NameLoad ClassDef bases NameLoad body Expr Str decorator_list Call NameLoad ClassDef bases NameLoad body Expr Str decorator_list Call NameLoad ClassDef bases NameLoad body Expr Str decorator_list Call NameLoad ClassDef bases NameLoad body Expr Str decorator_list Call NameLoad ClassDef bases NameLoad body Expr Str decorator_list Call NameLoad ClassDef bases NameLoad body Expr Str decorator_list Call NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list Call NameLoad ClassDef bases NameLoad body Expr Str decorator_list Call NameLoad ClassDef bases NameLoad body Expr Str decorator_list Call NameLoad ClassDef bases NameLoad body Expr Str Assign NameStore Str decorator_list Call NameLoad ClassDef bases NameLoad body Expr Str decorator_list Call NameLoad ClassDef bases NameLoad body Expr Str decorator_list Call NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad keyword Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list Call NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Raise Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body If CompareIn Call AttributeLoad NameLoad attr ListLoad Str body Return Call AttributeLoad NameLoad attr Return Call NameLoad NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call AttributeLoad NameLoad attr Str NameLoad body Print Str Raise Call NameLoad Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Str Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad keyword NameLoad If BoolOpAnd CompareIs Call AttributeLoad NameLoad attr Str NameLoad NameLoad Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr keyword Call NameLoad Call AttributeLoad NameLoad attr Call Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str orelse If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr keyword Call NameLoad Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list decorator_list Call NameLoad ClassDef bases NameLoad body Expr Str Assign NameStore ListLoad Str Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body If UnaryOpNot CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If CompareGt Call NameLoad NameLoad Num body Return Call NameLoad keyword Str keyword NameLoad keyword Call NameLoad NameLoad Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list decorator_list Call NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list decorator_list Call NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str decorator_list decorator_list Call NameLoad ClassDef bases NameLoad body Expr Str decorator_list Call NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad keyword Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list Call NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad keyword Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Num decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list Assign NameStore Num FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpAdd NameLoad Num If CompareGt NameLoad AttributeLoad NameLoad attr body Break Return NameLoad decorator_list decorator_list Call NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list decorator_list Call NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad AttributeLoad NameLoad attr If BoolOpAnd CompareIn Str NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return IfExp CompareIn Str NameLoad Call NameLoad SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Str Assign NameStore IfExp CompareIn Str NameLoad BinOpSub Call NameLoad Call AttributeLoad NameLoad attr Call Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str NameLoad NameLoad Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIs NameLoad NameLoad body Assign NameStore BinOpSub NameLoad NameLoad If BoolOpOr CompareIs NameLoad NameLoad CompareGtE NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Break Return NameLoad decorator_list decorator_list Call NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return IfExp CompareIn Str NameLoad Call NameLoad SubscriptLoad NameLoad Index Str NameLoad decorator_list decorator_list Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list Assign NameStore ListLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BinOpAdd SubscriptLoad NameLoad Slice Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults Call NameLoad NameLoad Str AttributeLoad NameLoad attr Return NameLoad decorator_list
N/A N/A 
Medtronic - openaps driver for Medtronic
 openaps.uses.use Use openaps.uses.registry Registry openaps.configurable Configurable openaps.glucose.convert Convert GlucoseConvert N/A decocare N/A argparse N/A json decocare stick session link commands history datetime datetime dateutil relativedelta dateutil.parser parse configure_use_app N/A N/A app parser N/A N/A N/A N/A configure_add_app N/A N/A app parser N/A N/A N/A N/A N/A parser add_argument serial N/A configure_app N/A N/A app parser N/A N/A N/A N/A N/A N/A app parent name add N/A N/A 
    print "CONFIG INNER", app, app.parent.name, app.name
     N/A configure_parser N/A N/A parser N/A N/A N/A N/A main N/A N/A args app N/A N/A N/A 
  print "MEDTRONIC", args, app
  print "app commands", app.selected.name
   N/A N/A use N/A Registry scan N/A Use N/A N/A  scan for usb stick  configure_app N/A N/A self app parser N/A N/A N/A N/A scanner N/A N/A self N/A N/A decocare.scan scan N/A N/A scan N/A main N/A N/A self args app N/A N/A N/A N/A N/A self scanner N/A N/A N/A use N/A logging N/A logging.handlers MedtronicTask N/A scan N/A N/A MAX_SESSION_DURATION 10 N/A requires_session True N/A save_session True N/A record_stats True before_main N/A N/A self args app N/A N/A N/A N/A N/A self setup_medtronic N/A N/A self requires_session N/A N/A N/A N/A self check_session app N/A N/A N/A N/A N/A self pump setModel number N/A N/A N/A self device get model N/A after_main N/A N/A self args app N/A N/A N/A N/A self save_session N/A N/A N/A N/A N/A self device store N/A app config N/A N/A N/A N/A app config save N/A N/A self uart N/A N/A N/A N/A N/A self uart close N/A get_session_info N/A N/A self N/A N/A N/A expires N/A N/A N/A self device get expires None N/A N/A expires None N/A N/A expires N/A parse expires N/A now N/A N/A datetime now N/A out N/A dict device N/A N/A self device name vendor __name__ used now N/A N/A N/A expires None N/A expires now N/A N/A N/A N/A expires now total_seconds N/A 60 N/A self MAX_SESSION_DURATION N/A N/A fields N/A N/A self create_session N/A N/A N/A out update N/A N/A self update_session_info fields N/A N/A N/A out N/A expires expires N/A N/A out N/A model N/A N/A N/A self device get model None N/A out N/A update_session_info N/A N/A self fields N/A N/A N/A out N/A N/A uses_extra N/A N/A N/A self device get extra None N/A config N/A self device N/A uses_extra N/A N/A config N/A N/A self device extra N/A N/A N/A config add_option expires N/A N/A N/A fields N/A expires isoformat N/A N/A N/A config add_option model N/A fields N/A model N/A N/A out N/A expires N/A fields N/A expires N/A N/A out N/A model N/A fields N/A model N/A out N/A create_session N/A N/A self N/A N/A N/A minutes N/A int N/A N/A N/A self device get minutes 3 N/A now N/A N/A datetime now N/A N/A N/A N/A self pump power_control minutes minutes N/A model N/A N/A self get_model N/A offset N/A N/A N/A relativedelta relativedelta minutes minutes N/A N/A relativedelta relativedelta minutes -1 N/A out N/A dict device N/A N/A self device name model model vendor __name__ created_at now started now expires N/A now offset N/A out N/A check_session N/A N/A self app N/A N/A N/A N/A self session N/A N/A self get_session_info N/A model N/A N/A N/A self device get model None N/A N/A model None N/A N/A model N/A N/A self get_model N/A N/A N/A N/A self pump setModel number N/A N/A N/A self device get model N/A uses_extra N/A N/A N/A self device get extra None N/A config N/A self device N/A uses_extra N/A N/A config N/A N/A self device extra N/A N/A N/A config add_option model N/A N/A N/A self device get model model N/A get_model N/A N/A self N/A N/A N/A model N/A N/A N/A N/A N/A self pump read_model getData N/A model N/A setup_medtronic N/A N/A self N/A N/A N/A log N/A N/A logging getLogger N/A decocare __name__ N/A level N/A getattr logging N/A N/A N/A self device get logLevel WARN N/A address N/A N/A N/A self device get logAddress /dev/log N/A N/A N/A log setLevel level N/A previous N/A N/A log handlers N/A N/A N/A N/A N/A log removeHandler previous N/A N/A N/A log addHandler N/A N/A N/A logging handlers SysLogHandler address address N/A N/A self uart N/A N/A stick Stick N/A N/A link Link N/A N/A self scanner N/A N/A N/A N/A self uart open N/A serial N/A N/A N/A self device get serial N/A N/A self pump N/A N/A session Pump N/A self uart serial N/A stats N/A N/A N/A self uart interface_stats N/A main N/A N/A self args app N/A N/A N/A N/A N/A self scanner N/A N/A Session N/A MedtronicTask N/A N/A  session for pump
   N/A requires_session False configure_parser N/A N/A self parser N/A N/A N/A N/A N/A parser add_argument --minutes type int default 10 N/A setup_application N/A N/A self N/A N/A N/A N/A main N/A N/A self args app N/A N/A N/A info N/A N/A self create_session N/A N/A N/A info update N/A N/A self update_session_info info N/A info N/A N/A model N/A MedtronicTask N/A N/A  Get model number [#oref0] [#recommended] [#safe]

  This is one of the safest commands available.
   configure_app N/A N/A self app parser N/A N/A N/A N/A main N/A N/A self args app N/A N/A N/A model N/A N/A N/A N/A N/A self pump read_model getData N/A model N/A N/A N/A use read_status N/A MedtronicTask N/A N/A  Get pump status
   main N/A N/A self args app N/A N/A N/A N/A N/A N/A N/A self pump model read_status N/A N/A N/A use status N/A read_status N/A N/A  Get pump status (alias for read_status)
   N/A N/A use reservoir N/A MedtronicTask N/A N/A  Get pump remaining insulin
   main N/A N/A self args app N/A N/A N/A N/A N/A N/A N/A self pump model read_reservoir N/A N/A N/A use settings N/A MedtronicTask N/A N/A  Get pump settings
   main N/A N/A self args app N/A N/A N/A N/A N/A N/A N/A self pump model read_settings N/A N/A N/A use mytest N/A MedtronicTask N/A N/A  Testing read_settings
   N/A requires_session False main N/A N/A self args app N/A N/A N/A N/A N/A N/A N/A self pump model my_read_settings N/A N/A N/A use read_clock N/A MedtronicTask N/A N/A  Read date/time of pump [#oref0]
   main N/A N/A self args app N/A N/A N/A N/A N/A N/A N/A self pump model read_clock N/A N/A N/A use SameNameCommand N/A MedtronicTask N/A main N/A N/A self args app N/A N/A N/A name N/A N/A N/A N/A N/A N/A self __class__ __name__ split . pop N/A N/A N/A getattr N/A N/A self pump model name N/A N/A self get_params args N/A N/A SelectedNameCommand N/A MedtronicTask N/A main N/A N/A self args app N/A N/A N/A name N/A self selected N/A N/A N/A getattr N/A N/A self pump model name N/A N/A self get_params args N/A N/A read_temp_basal N/A SameNameCommand N/A N/A  Read temporary basal rates. [#oref0]  N/A N/A use read_settings N/A SameNameCommand N/A N/A  Read settings. [#oref0]  N/A N/A use read_carb_ratios N/A SameNameCommand N/A N/A  Read carb_ratios. [#oref0]  N/A N/A use read_basal_profile_std N/A SameNameCommand N/A N/A  Read default basal profile.  N/A N/A use read_basal_profile_A N/A SameNameCommand N/A N/A  Read basal profile A.  N/A N/A use read_basal_profile_B N/A SameNameCommand N/A N/A  Read basal profile B.  N/A N/A use read_selected_basal_profile N/A SameNameCommand N/A N/A  Fetch the currently selected basal profile. [#oref0]  N/A N/A use read_current_glucose_pages N/A SameNameCommand N/A N/A  Read current glucose pages.  N/A N/A use read_current_history_pages N/A SameNameCommand N/A N/A  Read current history pages.  N/A N/A use suspend_pump N/A SameNameCommand N/A N/A  Suspend pumping.  main N/A N/A self args app N/A N/A N/A result N/A N/A N/A super suspend_pump self main args app N/A N/A N/A result update enacted_at N/A N/A datetime now N/A result N/A N/A N/A use resume_pump N/A suspend_pump N/A N/A  resume pumping.  N/A N/A use read_battery_status N/A SameNameCommand N/A N/A  Check battery status. [#oref0]  N/A N/A use read_bg_targets N/A SelectedNameCommand N/A N/A  Read bg targets. [#oref0]  N/A selected read_bg_targets N/A N/A use read_insulin_sensitivies N/A SameNameCommand N/A N/A  XXX: Deprecated.  Don't use.  Use read_insulin_sensitivities instead.  N/A N/A use read_insulin_sensitivities N/A SameNameCommand N/A N/A  Read insulin sensitivities. [#oref0]  N/A N/A use read_glucose_data N/A SameNameCommand N/A N/A  Read pump glucose page
   configure_app N/A N/A self app parser N/A N/A N/A N/A N/A parser add_argument page type int default 0 N/A get_params N/A N/A self args N/A N/A N/A N/A dict page N/A int N/A args page N/A N/A N/A use InputProgramRequired N/A MedtronicTask N/A upload_program N/A N/A self program N/A N/A N/A N/A NotImplementedError N/A get_params N/A N/A self args N/A N/A N/A N/A dict input N/A args input N/A configure_app N/A N/A self app parser N/A N/A N/A N/A N/A parser add_argument input default - N/A get_program N/A N/A self args N/A N/A N/A params N/A N/A self get_params args N/A program N/A N/A json load N/A N/A N/A argparse FileType r N/A N/A params get input N/A program N/A main N/A N/A self args app N/A N/A N/A program N/A N/A self get_program args N/A results N/A N/A self upload_program program N/A N/A N/A program update timestamp N/A N/A datetime now results N/A program N/A N/A parse_clock N/A N/A candidate N/A N/A N/A N/A N/A N/A candidate lower N/A now N/A N/A N/A N/A datetime now N/A N/A parse candidate N/A set_clock N/A InputProgramRequired N/A N/A  Set clock.


  -------------------


  input should be the name of a json file, or `-` for stdin.
  The json file should contain a key named `clock` with the new
  requested value formatted as ISO 8601 including seconds.


      { "clock": "2016-03-14T14:23:40" }


  -------------------


  `--to` switch
  -------------------


  Alternatively, the `--to` switch maybe used:
  The keyword `now` may be given to automatically generate a request
  using the system's current time.  Otherwise, the value must be
  something that can be parsed as an ISO 8601 formatted time including
  the seconds.


      --to now
      --to $(date -Iseconds)
      --to 2016-03-14T14:29:41-0700

   get_params N/A N/A self args N/A N/A N/A N/A dict input N/A args input to N/A args to N/A configure_app N/A N/A self app parser N/A N/A N/A N/A N/A parser add_argument input nargs ? default None N/A N/A N/A parser add_argument --to default None N/A upload_program N/A N/A self program N/A N/A N/A N/A N/A N/A program get clock None N/A N/A Bad input N/A N/A Exception N/A N/A Bad input, missing clock definition: {0} format N/A N/A program get clock N/A N/A N/A N/A N/A self pump model set_clock program N/A get_program N/A N/A self args N/A N/A N/A params N/A N/A self get_params args N/A program N/A dict clock None N/A N/A N/A N/A N/A params get to None None N/A N/A params get input N/A N/A N/A N/A program update clock N/A parse N/A N/A json load N/A N/A N/A argparse FileType r N/A N/A params get input N/A N/A N/A N/A params get to N/A N/A N/A N/A program update clock N/A parse_clock N/A N/A params get to N/A program N/A N/A N/A use set_temp_basal N/A InputProgramRequired N/A N/A  Set temporary basal rates. [#oref0]

  Requires json input with the following keys defined:
    * `temp` - the type of temporary rate, `percent` or `absolute`
    * `rate` - The temporary rate, in units.  Examples, 0.0, 1.2, 0.1
    * `duration` - The duration in minutes of the temporary rate.  The duration must be multiples of 30 minutes.


  Eg, actively canceling a rate:
  { "temp": "absolute", "rate": 0, "duration": 0 }


  Zero basal for half hour:
  { "temp": "absolute", "rate": 0, "duration": 30 }


  One and a half units for one hour:
  { "temp": "absolute", "rate": 1.5, "duration": 60 }
   N/A required_inputs N/A duration rate upload_program N/A N/A self program N/A N/A N/A missing N/A N/A req N/A self required_inputs N/A N/A N/A N/A req program N/A N/A N/A N/A missing append req N/A N/A N/A len missing 0 N/A N/A N/A dict error missing required input fields missing missing input N/A dict program N/A N/A N/A N/A N/A self pump model set_temp_basal program N/A N/A N/A use bolus N/A InputProgramRequired N/A N/A Send bolus command. [#warning!!!]

  Beware! This is a powerful command because it can give a lot of
  insulin.  Please be careful!
  Not a part of oref0.


  -----------------------


  Requires json input with the following keys defined:
    * `units` - Number of units to bolus.


  Zero point one units:
  { "units": 0.1 }


  Two units:
  { "units": 2 }
   upload_program N/A N/A self program N/A N/A N/A N/A N/A N/A N/A self pump model bolus program N/A N/A N/A use filter_glucose_date N/A SameNameCommand N/A N/A  Search for glucose pages including begin and end dates (iso 8601).
   get_params N/A N/A self args N/A N/A N/A N/A dict begin N/A args begin end N/A args end N/A configure_app N/A N/A self app parser N/A N/A N/A N/A N/A parser add_argument begin default N/A N/A N/A parser add_argument end default N/A N/A N/A use filter_isig_date N/A filter_glucose_date N/A N/A  Search for isig pages including begin and end dates (iso 8601).
   N/A N/A use read_history_data N/A MedtronicTask N/A N/A  Read pump history page
   get_params N/A N/A self args N/A N/A N/A N/A dict page N/A int N/A args page N/A configure_app N/A N/A self app parser N/A N/A N/A N/A N/A parser add_argument page type int default 0 N/A main N/A N/A self args app N/A N/A N/A history N/A N/A N/A N/A self pump model read_history_data N/A N/A self get_params args N/A history N/A N/A N/A use iter_glucose N/A MedtronicTask N/A N/A  Read latest 100 glucose records
   get_params N/A N/A self args N/A N/A N/A N/A dict count N/A int N/A args count N/A configure_app N/A N/A self app parser N/A N/A N/A N/A N/A parser add_argument count type int default 99 N/A range N/A N/A self N/A N/A N/A N/A N/A N/A N/A self pump model iter_glucose_pages N/A N/A maxCount 99 main N/A N/A self args app N/A N/A N/A N/A self maxCount N/A N/A N/A N/A self get_params args get count N/A self maxCount N/A num 0 N/A records N/A N/A rec N/A N/A self range N/A N/A N/A N/A records append rec N/A num N/A num 1 N/A N/A num N/A self maxCount N/A N/A N/A records N/A N/A N/A use iter_pump N/A iter_glucose N/A N/A  Read latest 100 pump records
   range N/A N/A self N/A N/A N/A N/A N/A N/A N/A self pump model iter_history_pages N/A N/A N/A use iter_glucose_hours N/A MedtronicTask N/A N/A  Read latest n hours of glucose data
   get_params N/A N/A self args N/A N/A N/A params N/A dict hours N/A float N/A args hours N/A N/A N/A now args N/A N/A args now None N/A N/A N/A N/A params update now N/A args now N/A params N/A configure_app N/A N/A self app parser N/A N/A N/A N/A N/A parser add_argument hours type float help The number of hours of historical data to retrieve N/A N/A N/A parser add_argument --now help A read_clock report filename from which to offset the hours N/A range N/A N/A self N/A N/A N/A N/A N/A N/A N/A self pump model iter_glucose_pages N/A get_record_timestamp N/A N/A self record N/A N/A N/A N/A N/A date record N/A parse N/A record N/A date None N/A main N/A N/A self args app N/A N/A N/A params N/A N/A self get_params args N/A min_offset N/A N/A relativedelta relativedelta hours N/A params N/A hours N/A min_timestamp N/A N/A now params N/A N/A parse N/A N/A json load N/A N/A N/A argparse FileType r N/A params N/A now min_offset None N/A records N/A N/A rec N/A N/A self range N/A N/A timestamp N/A N/A self get_record_timestamp rec N/A N/A N/A timestamp None N/A min_timestamp None N/A N/A min_timestamp N/A timestamp min_offset N/A N/A N/A timestamp None N/A timestamp min_timestamp N/A N/A N/A N/A records append rec N/A N/A N/A records N/A N/A N/A use iter_pump_hours N/A iter_glucose_hours N/A N/A  Read latest n hours of pump records
   range N/A N/A self N/A N/A N/A N/A N/A N/A N/A self pump model iter_history_pages N/A get_record_timestamp N/A N/A self record N/A N/A N/A N/A N/A timestamp record N/A parse N/A record N/A timestamp None N/A N/A N/A use set_config N/A N/A args device N/A N/A N/A N/A N/A device add_option serial N/A args serial N/A display_device N/A N/A device N/A N/A N/A N/A N/A known_uses N/A Session get_uses N/A N/A device config N/A N/A N/A all_uses N/A N/A known_uses N/A N/A N/A use get_uses device config N/A N/A N/A all_uses sort key N/A N/A N/A usage N/A N/A getattr usage sortOrder N/A usage __name__ N/A all_uses N/A