# `mmeowlink-send.py` ## Help usage: mmeowlink-send.py [-h] [--serial SERIAL] [--port PORT] [--no-op] [--skip-prelude] [--no-rf-prelude] [--skip-postlude] [-v] [--rf-minutes SESSION_LIFE] [--auto-init] [--init] [--radio_type {mmcommander,subg_rfspy}] [--mmcommander] [--subg_rfspy] [--prefix-path PREFIX_PATH] [--saveall] [--prefix {BaseCommand,Bolus,Experiment_OP161,Experiment_OP162,FilterGlucoseHistory,FilterHistory,FilterISIGHistory,GuardianSensorAlarmSilence,GuardianSensorDemoGraphTimeout,GuardianSensorRateChangeAlerts,GuardianSensorSettings,GuardianSensorSettings,KeypadPush,ManualCommand,Model511_ExperimentOP125,Model511_ExperimentOP126,Model511_Experiment_OP119,Model511_Experiment_OP120,Model511_Experiment_OP121,Model511_Experiment_OP122,Model511_Experiment_OP123,Model511_Experiment_OP124,Model511_Experiment_OP125,Model511_Experiment_OP126,Model511_Experiment_OP127,Model511_Experiment_OP128,Model511_Experiment_OP129,Model511_Experiment_OP130,Model511_Experiment_OP165,Model512Experiment_OP150,PowerControl,PowerControlOff,PumpCommand,PumpDisableDetailTrace,PumpEnableDetailTrace,PumpExperiment_OP69,PumpExperiment_OP70,PumpExperiment_OP71,PumpExperiment_OP72,PumpExperiment_OP73,PumpExperiment_OP75,PumpResume,PumpSuspend,PumpTraceSelect,PushACT,PushDOWN,PushEASY,PushESC,PushUP,Read128KMem,Read256KMem,ReadAlarms,ReadBGAlarmCLocks,ReadBGAlarmEnable,ReadBGReminderEnable,ReadBGTargets,ReadBGTargets515,ReadBGUnits,ReadBasalTemp,ReadBasalTemp508,ReadBatteryStatus,ReadBolusHistory,ReadBolusReminderEnable,ReadBolusReminders,ReadBolusWizardSetupStatus,ReadCalibrationFactor,ReadCarbRatios,ReadCarbRatios512,ReadCarbUnits,ReadContrast,ReadCurGlucosePageNumber,ReadCurPageNumber,ReadDailyTotals,ReadDetailTrace,ReadErrorStatus,ReadErrorStatus508,ReadFactoryParameters,ReadFirmwareVersion,ReadGlucoseHistory,ReadHistoryData,ReadISIGHistory,ReadInsulinSensitivities,ReadLanguage,ReadLogicLinkIDS,ReadNewTraceAlarm,ReadOldTraceAlarm,ReadOtherDevicesIDS,ReadPrimeBoluses,ReadProfileSets,ReadProfile_A512,ReadProfile_B512,ReadProfile_STD512,ReadProfiles511_A,ReadProfiles511_B,ReadProfiles511_STD,ReadPumpID,ReadPumpModel,ReadPumpState,ReadPumpStatus,ReadPumpTrace,ReadRTC,ReadRadioCtrlACL,ReadRemainingInsulin,ReadRemainingInsulin523,ReadRemoteControlID,ReadReservoirWarning,ReadSavedSettingsDate,ReadSensorHistoryData,ReadSensorSettings,ReadSettings,ReadSettings511,ReadSettings512,ReadSettings523,ReadTodayTotals508,ReadTotalsToday,ReadUserEvents,ReadVCNTRHistory,SelectBasalProfile,SelectBasalProfileA,SelectBasalProfileB,SelectBasalProfileSTD,SetAutoOff,SetBasalType,SetEnabledEasyBolus,SetSuspend,TempBasal,TempBasalPercent,WriteGlucoseHistoryTimestamp}] [--postfix {BaseCommand,Bolus,Experiment_OP161,Experiment_OP162,FilterGlucoseHistory,FilterHistory,FilterISIGHistory,GuardianSensorAlarmSilence,GuardianSensorDemoGraphTimeout,GuardianSensorRateChangeAlerts,GuardianSensorSettings,GuardianSensorSettings,KeypadPush,ManualCommand,Model511_ExperimentOP125,Model511_ExperimentOP126,Model511_Experiment_OP119,Model511_Experiment_OP120,Model511_Experiment_OP121,Model511_Experiment_OP122,Model511_Experiment_OP123,Model511_Experiment_OP124,Model511_Experiment_OP125,Model511_Experiment_OP126,Model511_Experiment_OP127,Model511_Experiment_OP128,Model511_Experiment_OP129,Model511_Experiment_OP130,Model511_Experiment_OP165,Model512Experiment_OP150,PowerControl,PowerControlOff,PumpCommand,PumpDisableDetailTrace,PumpEnableDetailTrace,PumpExperiment_OP69,PumpExperiment_OP70,PumpExperiment_OP71,PumpExperiment_OP72,PumpExperiment_OP73,PumpExperiment_OP75,PumpResume,PumpSuspend,PumpTraceSelect,PushACT,PushDOWN,PushEASY,PushESC,PushUP,Read128KMem,Read256KMem,ReadAlarms,ReadBGAlarmCLocks,ReadBGAlarmEnable,ReadBGReminderEnable,ReadBGTargets,ReadBGTargets515,ReadBGUnits,ReadBasalTemp,ReadBasalTemp508,ReadBatteryStatus,ReadBolusHistory,ReadBolusReminderEnable,ReadBolusReminders,ReadBolusWizardSetupStatus,ReadCalibrationFactor,ReadCarbRatios,ReadCarbRatios512,ReadCarbUnits,ReadContrast,ReadCurGlucosePageNumber,ReadCurPageNumber,ReadDailyTotals,ReadDetailTrace,ReadErrorStatus,ReadErrorStatus508,ReadFactoryParameters,ReadFirmwareVersion,ReadGlucoseHistory,ReadHistoryData,ReadISIGHistory,ReadInsulinSensitivities,ReadLanguage,ReadLogicLinkIDS,ReadNewTraceAlarm,ReadOldTraceAlarm,ReadOtherDevicesIDS,ReadPrimeBoluses,ReadProfileSets,ReadProfile_A512,ReadProfile_B512,ReadProfile_STD512,ReadProfiles511_A,ReadProfiles511_B,ReadProfiles511_STD,ReadPumpID,ReadPumpModel,ReadPumpState,ReadPumpStatus,ReadPumpTrace,ReadRTC,ReadRadioCtrlACL,ReadRemainingInsulin,ReadRemainingInsulin523,ReadRemoteControlID,ReadReservoirWarning,ReadSavedSettingsDate,ReadSensorHistoryData,ReadSensorSettings,ReadSettings,ReadSettings511,ReadSettings512,ReadSettings523,ReadTodayTotals508,ReadTotalsToday,ReadUserEvents,ReadVCNTRHistory,SelectBasalProfile,SelectBasalProfileA,SelectBasalProfileB,SelectBasalProfileSTD,SetAutoOff,SetBasalType,SetEnabledEasyBolus,SetSuspend,TempBasal,TempBasalPercent,WriteGlucoseHistoryTimestamp}] {sleep,tweak,ManualCommand} ... mmeowlink adapter to decocare's SendMsgApp positional arguments: {sleep,tweak,ManualCommand} Main thing to do between --prefix and--postfix sleep Just sleep between command sets tweak Tweak a builtin command ManualCommand Customize a command optional arguments: -h, --help show this help message and exit --serial SERIAL serial number of pump [default: ] --port PORT Path to device [default: scan] --no-op Dry run, don't do main function --skip-prelude Don't do the normal prelude. --no-rf-prelude Do the prelude, but don't query the pump. --skip-postlude Don't do the normal postlude. -v, --verbose Verbosity --rf-minutes SESSION_LIFE How long RF sessions should last --auto-init Send power ctrl to initialize RF session. --init Send power ctrl to initialize RF session. --radio_type {mmcommander,subg_rfspy} --mmcommander --subg_rfspy --prefix-path PREFIX_PATH Prefix to store saved files when using --save or --saveall. --saveall Whether or not to save all responses. --prefix {BaseCommand,Bolus,Experiment_OP161,Experiment_OP162,FilterGlucoseHistory,FilterHistory,FilterISIGHistory,GuardianSensorAlarmSilence,GuardianSensorDemoGraphTimeout,GuardianSensorRateChangeAlerts,GuardianSensorSettings,GuardianSensorSettings,KeypadPush,ManualCommand,Model511_ExperimentOP125,Model511_ExperimentOP126,Model511_Experiment_OP119,Model511_Experiment_OP120,Model511_Experiment_OP121,Model511_Experiment_OP122,Model511_Experiment_OP123,Model511_Experiment_OP124,Model511_Experiment_OP125,Model511_Experiment_OP126,Model511_Experiment_OP127,Model511_Experiment_OP128,Model511_Experiment_OP129,Model511_Experiment_OP130,Model511_Experiment_OP165,Model512Experiment_OP150,PowerControl,PowerControlOff,PumpCommand,PumpDisableDetailTrace,PumpEnableDetailTrace,PumpExperiment_OP69,PumpExperiment_OP70,PumpExperiment_OP71,PumpExperiment_OP72,PumpExperiment_OP73,PumpExperiment_OP75,PumpResume,PumpSuspend,PumpTraceSelect,PushACT,PushDOWN,PushEASY,PushESC,PushUP,Read128KMem,Read256KMem,ReadAlarms,ReadBGAlarmCLocks,ReadBGAlarmEnable,ReadBGReminderEnable,ReadBGTargets,ReadBGTargets515,ReadBGUnits,ReadBasalTemp,ReadBasalTemp508,ReadBatteryStatus,ReadBolusHistory,ReadBolusReminderEnable,ReadBolusReminders,ReadBolusWizardSetupStatus,ReadCalibrationFactor,ReadCarbRatios,ReadCarbRatios512,ReadCarbUnits,ReadContrast,ReadCurGlucosePageNumber,ReadCurPageNumber,ReadDailyTotals,ReadDetailTrace,ReadErrorStatus,ReadErrorStatus508,ReadFactoryParameters,ReadFirmwareVersion,ReadGlucoseHistory,ReadHistoryData,ReadISIGHistory,ReadInsulinSensitivities,ReadLanguage,ReadLogicLinkIDS,ReadNewTraceAlarm,ReadOldTraceAlarm,ReadOtherDevicesIDS,ReadPrimeBoluses,ReadProfileSets,ReadProfile_A512,ReadProfile_B512,ReadProfile_STD512,ReadProfiles511_A,ReadProfiles511_B,ReadProfiles511_STD,ReadPumpID,ReadPumpModel,ReadPumpState,ReadPumpStatus,ReadPumpTrace,ReadRTC,ReadRadioCtrlACL,ReadRemainingInsulin,ReadRemainingInsulin523,ReadRemoteControlID,ReadReservoirWarning,ReadSavedSettingsDate,ReadSensorHistoryData,ReadSensorSettings,ReadSettings,ReadSettings511,ReadSettings512,ReadSettings523,ReadTodayTotals508,ReadTotalsToday,ReadUserEvents,ReadVCNTRHistory,SelectBasalProfile,SelectBasalProfileA,SelectBasalProfileB,SelectBasalProfileSTD,SetAutoOff,SetBasalType,SetEnabledEasyBolus,SetSuspend,TempBasal,TempBasalPercent,WriteGlucoseHistoryTimestamp} Built-in commands to run before the main one. --postfix {BaseCommand,Bolus,Experiment_OP161,Experiment_OP162,FilterGlucoseHistory,FilterHistory,FilterISIGHistory,GuardianSensorAlarmSilence,GuardianSensorDemoGraphTimeout,GuardianSensorRateChangeAlerts,GuardianSensorSettings,GuardianSensorSettings,KeypadPush,ManualCommand,Model511_ExperimentOP125,Model511_ExperimentOP126,Model511_Experiment_OP119,Model511_Experiment_OP120,Model511_Experiment_OP121,Model511_Experiment_OP122,Model511_Experiment_OP123,Model511_Experiment_OP124,Model511_Experiment_OP125,Model511_Experiment_OP126,Model511_Experiment_OP127,Model511_Experiment_OP128,Model511_Experiment_OP129,Model511_Experiment_OP130,Model511_Experiment_OP165,Model512Experiment_OP150,PowerControl,PowerControlOff,PumpCommand,PumpDisableDetailTrace,PumpEnableDetailTrace,PumpExperiment_OP69,PumpExperiment_OP70,PumpExperiment_OP71,PumpExperiment_OP72,PumpExperiment_OP73,PumpExperiment_OP75,PumpResume,PumpSuspend,PumpTraceSelect,PushACT,PushDOWN,PushEASY,PushESC,PushUP,Read128KMem,Read256KMem,ReadAlarms,ReadBGAlarmCLocks,ReadBGAlarmEnable,ReadBGReminderEnable,ReadBGTargets,ReadBGTargets515,ReadBGUnits,ReadBasalTemp,ReadBasalTemp508,ReadBatteryStatus,ReadBolusHistory,ReadBolusReminderEnable,ReadBolusReminders,ReadBolusWizardSetupStatus,ReadCalibrationFactor,ReadCarbRatios,ReadCarbRatios512,ReadCarbUnits,ReadContrast,ReadCurGlucosePageNumber,ReadCurPageNumber,ReadDailyTotals,ReadDetailTrace,ReadErrorStatus,ReadErrorStatus508,ReadFactoryParameters,ReadFirmwareVersion,ReadGlucoseHistory,ReadHistoryData,ReadISIGHistory,ReadInsulinSensitivities,ReadLanguage,ReadLogicLinkIDS,ReadNewTraceAlarm,ReadOldTraceAlarm,ReadOtherDevicesIDS,ReadPrimeBoluses,ReadProfileSets,ReadProfile_A512,ReadProfile_B512,ReadProfile_STD512,ReadProfiles511_A,ReadProfiles511_B,ReadProfiles511_STD,ReadPumpID,ReadPumpModel,ReadPumpState,ReadPumpStatus,ReadPumpTrace,ReadRTC,ReadRadioCtrlACL,ReadRemainingInsulin,ReadRemainingInsulin523,ReadRemoteControlID,ReadReservoirWarning,ReadSavedSettingsDate,ReadSensorHistoryData,ReadSensorSettings,ReadSettings,ReadSettings511,ReadSettings512,ReadSettings523,ReadTodayTotals508,ReadTotalsToday,ReadUserEvents,ReadVCNTRHistory,SelectBasalProfile,SelectBasalProfileA,SelectBasalProfileB,SelectBasalProfileSTD,SetAutoOff,SetBasalType,SetEnabledEasyBolus,SetSuspend,TempBasal,TempBasalPercent,WriteGlucoseHistoryTimestamp} Built-in commands to run after the main one.