审核、检查并指挥mm胰岛素泵。

decocare的Python项目详细描述


#解码carelink

有关简介,请参见
[insulaudit](https://github.com/bewest/insulaudit/tree/master/questions)。
我们希望帮助糖尿病患者独立复制对其美敦力胰岛素泵的治疗性审计。这个实验软件将下载泵设置和整个历史数据日志。

想要一个功能/工具来做些什么?
[请提交问题!](https://github.com/bewest/decoding carelink/issues)

*http://bewest.github.io/decoding-carelink/sphinx docs.
*https://gist.github.com/bewest/6330546一些图表

![概述](https://gist.github.com/bewest/6330546/raw/dffdb1e95ef9882e3957784f95db8c5c6705d/overview.seq.png)

包含泵为您执行的所有操作的日志:


*葡萄糖读数
*所有剂量、所有使用剂量向导
*未吸收胰岛素
*警报等。
*当前设置
*查询泵状态:正常、暂停、剂量
`./bin/mm set suspend.py`
*设置/编辑/查询临时基本速率
`./bin/mm temp basals.py`
*使用
`/bin/mm键按键盘上的任意按钮。py`
*调查任何命令的工作方式,生成新命令,下载任何命令
`./bin/mm-send-comm.py`
*bolus
`./bin/mm-bolus.py `



git克隆https://github.com/bewest/decoding carelink.git
cd decoding carelink
只有在很少使用python
sudo python setup.py develop
````

````````````
`````````````````贡献日志

fork the repo,create a new branch,send the results back to your branch.
将出现一个绿色的"create pull request button."您重新登录github将允许更多的人帮助解码结果。

``bash
git checkout-b myname/init用您的名字替换<;myname>;
/>插入Carelink U盘,然后运行以下命令:
``bash
dmesg\grep ttyusb\note the new ttyusb$x
sudo./insert.sh
````

t`被称为`/dev/tty.serial`或其他东西。
*在**windows上,`port`被称为`/dev/ttyusbx`或其他东西,
*在**linux上,`port`被称为`/dev/ttyusbx`或其他东西我会得到很多输出,特别是一些计数器,叫做interface stats

r/>mm-send-comm.py sleep 0
下面的过程使用git来存储最近的结果。你可以发邮件给我一个包,或者直接把你的分支推回到github上的fork上。

告诉我您的结果如下:
git bundle create myname-expr.bundle master..myname/init
y你可以用电子邮件给我发送myname-expr.bundle,甚至更好,[分叉回购](https://github.com/bewest/decoding carelink/fork)
,设置得更简单。
``bash
像这样添加分叉:
git remote rename origin author
git remote add origin git@github.com:<;我的使用r-name>;/解码carelink.git
git push-u origin myname/init
````



现在您可以轻松完成此操作:
``bash
/status-quo.sh/dev/ttyusb0<;pump serial>;;使用您的pump序列号
git commit-avm'对于@bewest,这些是@<;my name>;results'
git push-u origin myname/init
```

重复。最简单的方法是查看
explain.log,并使用"git diff"和"git show"。如上图所示,推到github将允许每个人一起讨论我们的分析。


为每个实验创建几个日志文件。



在网上和我的测试胰岛素泵交谈。

需要"socat"和"python 2.7"。脚本[`./bin/socat_run_app.sh`](https://github.com/bewest/decoding carelink/blob/master/bin/socat_run_app.sh)
将连接到我的服务器'bewest.io:8080',我的胰岛素测试泵,序列号'208850'正等着与您通话。


这里有一个使用我的脚本的示例:

``bash
$git checkout-b tester用您的东西创建一个新的分支,请
$。./bin/common导入一些方便的run函数
$。/bin/socat run app.sh&;从bewest获取我的测试胰岛素泵。io:8080
$ls carelink.ttyusb0创建这个东西
carelink.ttyusb0
$。/status.sh./carelink.ttyusb0
[…]
$port=./carelink.ttyusb0 serial=208850 run_下载
[…]

```
*[下载](https://raw.github.com/bewest/decoding carelink/tester/logs/download.log)
*[命令](https://github.com/bewest/decoding carelink/blob/tester/logs/commands.log)

尝试找出剂量命令。是否可以倒带
泵?是否可以输入新的配置文件和计划?

未来工作

*收集更多数据
*完成[分析胰岛素泵历史页面](https://github.com/bewest/decoding carelink/blob/rewriting/analysis/pages.markdown)
*https://github.com/bewest/decoding carelink/tree/rewriting/analysis/pages
**[分析胰岛素泵历史页面]MP Bolus记录](https://github.com/bewest/decoding carelink/blob/rewriting/analysis/bolus.markdown)
**[帮助分析基本事件](https://github.com/bewest/decoding carelink/blob/rewriting/ground-start-0/decoding prime events.markdown)
**[帮助分析泵午夜事件](https://github.com/bewest/decoding carelink/tree/rewriting/basal-hist-2006)

/>
``bash
fork the repo on github
[[<;path>;/dev/ttyusb0>;][<;serial>;208850]]例如:
$./status.sh/dev/ttyusb0 208850
$git commit-avm"这是我的数据<;yourname>;"
$git push-u origin<;yourname>;
````
谢谢!
如果您可以包含从CareLink导出的CSV,这将很有帮助。

r/>
将其与carelink csv导出列在一起可以揭示f的内容的本质进一步分析。

一旦我们可以解码所有记录,它应该对
糖尿病患者有用,以获得基本报告,或多或少与
供应商的解决方案相当。
我们将使用它来
[收集糖尿病数据](https://github.com/bewest/insulaudit/tree/master/hacking)
(https://github.com/bewest/decoding carelink/tree/rewriting/analysis/pages)
通过互联网,允许任何人独立审核他们的
治疗,然后将数据发送到他们首选的审核软件。


-bolus.py[-h][--serial][--port port][--no op]
[--skip prelude][--no rf prelude][--skip postlude[-v]
[--init](-515--strokes-strokes-strokes-u per-u)
units


单位注射量。

干运行,不要执行主功能
--跳过前奏不要执行正常前奏。
--没有rf前奏执行前奏,但不要查询泵。
--跳过后奏不要执行正常后奏。
-v,--冗长冗长
--初始化发送打开ctrl键初始化rf会话。
--515
--每个单元的笔划数

xxx:请小心!单位可能是错误的。保持与泵的断开连接
,直到您首先通过观察正确的数量来信任它。
+./bin/mm bolus.py
用法:mm-bolus.py[-h][--串行][--端口端口][--无操作]
[--跳过前奏][--无射频前奏][--跳过后奏][-v]
[--初始化](-515--每单位笔划笔划数(u)
单位
mm-bolus.py:错误:参数太少


+./bin/mm-bolus.py--515
用法:mm-bolus.py[-h][--串行][--端口端口][--无操作]
[--跳过前奏][--无射频前奏][--跳过后奏][-v]
[--init](--515——每单位笔划笔划数)
单位
mm-bolus.py:错误:参数太少



+./bin/mm-bolus.py——笔划10
用法:mm-bolus.py[-h][--serial serial][--port][--no op]
[--skip prelude][--no-射频前奏曲][--skip-postlude]-v]
[---init](-515——笔画笔画笔画单位)
units
mm-bolus.py:错误:参数太少
`````


` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` br/>```
+mm-send-comm.py-h
用法:mm-send-comm.py[-h][--serial serial][--port port][--no op]
[--skip prelude][--no rf prelude][--skip postlude]
[-v][--init][--prefix path prefix_path][--saveall]
[--prefix
{basecommand,键控按钮,电源控制,电源控制关闭,
泵命令,泵压力,泵消耗,readbasaltemp,
读取电池状态,读取对比度,读取curpageNumber,
读取错误状态,读取确认恢复,
readGlucoseHistory、readHistoryData、readPumpID、
readPumpModel、readPumpState、readPumpStatus、readRTC、
readRadioCtrLacl、readRemainingInInsulin、readSetting、
readTotalStoday、setSuspend、pushEasy、pushUp、pushDown、
pushact,pushesc,tempbasal,manualcommand,
readcurglucosepagenmber,readerrorstatus508,
readbolushistory,readdailytotals,readprimebolus,
readalarms,readprofileset,readuserevents,
readremotecontrolid,read128kmem,read256kmem,
readbasaltemp508,readtodaytotals508,
readsensorsettings,readsensorhistorydata,
readisighistory,filterhistory,filterglucose历史,
过滤历史,readprofiles511_std,
readprofiles511_a,readprofiles511_b,
511_testiop125,511_testiop126,
readsettings511,readpumptrace,readdetailtrace,
511_型实验_op165,readnewtracealarm,
readoldtracealarm,writeglucosehistory时间戳,
readlanguage,readboluswizardsetupstatus,readcarbunits,
readbgunits,readcarrbratio,readinsulinsensitivities,
readbgTargets,readbgAlarmClocks,readReservoirWarning,
readbgReminderable,readsettings512,
readprofile\u std512,readprofile\u a512,readprofile\u b512,
readlogicLinkID,512e型experiment_op150,
readbgalmarenable,guardensorsettings,
guardensorsettings,guardensordermographtimeout,
guardensorlararmsilence,
guardensorratechangealerts,readsavedsettingsdate,
readbolusReminderable,readbolusReminders,
readfactoryparameters,readcalibrationfactor,
readvcntrhistory,readotherdevicesids,pumptraceselect,
pumpabledetailtrace,pumpdisabledetailtrace,
实验室op161,实验室op162,
511室op119,511室op120,
511室op121,511室op122,
511室op123,511室op122_实验_op124,
511_实验_op125,511_实验_op126,
511_实验_op127,511_实验_op128,
511_实验_op129,511_实验_op130,
选择基础剖面图,选择basalprofilestd,
选择basalprofilea,选择basalprofileb,
泵试验室69,泵试验室70,
泵试验室71,泵试验室72,
泵试验室73,泵试验室nt_op75}]
[--postfix{basecommand,keypadpush,powercontrol,
powercontroloff,pumpcommand,pumpresume,pumpsuspend,
readbasaltemp,readbatterystatus,readcontrast,
readcurpagenumber,readerrorStatus,readFirmwareReversion,
读取葡萄糖历史,读取历史数据,读取PumpID,
读取PumpModel,读取PumpState,读取PumpStatus,读取RTC,
读取RadioCtrLacl,读取RemainingInInsulin,读取设置,
readtotalstoday,setsuspend,pusheasy,pushup,pushdown,
pushact,pushesc,tempbasal,manualcommand,
readcurglucosepagenumber,readerrorstatus508,
readbolushistory,readdailytotalytotals,readprimebolues,
readAlarms,readProfileSets,readUserEvents,
readRemoteControlID,read128kmem,read256kmem,
readBasalTemp508,readTodayTotalS508,
readSensorSetting,readSensorHistoryData,
readisighistory,过滤历史,过滤lucosehistory,
过滤历史,readprofiles511_std,
readprofiles511_a,readprofiles511_b,
511_实验125,511_实验126,
读取设置511,readpumptrace,readdetailtrace,
511_实验165,readnewtracealarm,
读取dtracealarm,writeglucosehistory时间戳,
readlanguage,readboluswizardsetupstatus,readcarbUnits,
readbUnits,readcarbRatios,readinsulinsensitivities,
readbTargets,readbAlarmClocks,readReservoirWarning,
readbReminderable、readsettings512、
readprofile\u std512、readprofile\u a512、readprofile\u b512、
readlogicLinkIDs、model512experiment\u op150、
readbAlarmenable、guardensorsettings、
监护者设置,监护者OrderMographTimeout,
监护者ArlarmSilence,
监护者ArrantChangeAlerts,ReadSavedSettingsDate,
ReadBolusReminderable,ReadBolusReminders,
readfactoryparameters,readcalibrationfactor,
readvcntrhistory,readotherdevicesids,pumptraceselect,
pumpabledetailtrace,pumpdisabledetailtrace,
实验单元op161,实验单元op162,
moDel511_实验_op119,511_实验_op120,
511_实验_op121,511_实验_op122,
511_实验_op123,511_实验_op124,
511_实验_op125,511_实验_op126,
511模型实验,511模型实验,op128,
511模型实验,op129,511模型实验,op130,
选择basalprofile,选择basalprofilestd,
选择basalprofilea,选择basalprofileb,
PumpExperiment_op69,PumpExperiment_op70,
PumpExperiment_op71,PumpExperiment_op72,
PumpExperiment_op73,PumpExperiment_op75}]
{睡眠,调整,手动命令}…

mm-send-comm.py-发送给我消息指向一个兼容的mm胰岛素泵

manualcommand自定义命令

nction
--跳过前奏不做正常的前奏。
--没有rf前奏做前奏,但不要查询泵。
--跳过后奏不做正常的后奏。
-v,--详细详细
--init发送功率控制来初始化rf会话。
--使用--save或
--save all时存储已保存文件的前缀path prefix\u path
--saveall无论是否保存所有响应。
--prefix{basecommand,keypadpush,powercontrol,powercontroloff,
pumpcommand,pumpresume,pumpsuspend,readbasaltemp,readbatterystatus,
readcontrast,readcurpagenumber,readerrorstatus,readfirmwareverversion,
readglucosehistory,readhistorydata,readpumpid,readpumpmodel,
readpumpstate,readpumpstatus,readrtc,readradioctrlacl,
readremaininginsulin、readsettings、readtotalstoday、setsupend、pusheasy、
上推、下推、pushact,pushesc,tempbasal,manualcommand,
readcurglucosepagenumber,readerrorstatus508,readbolushistory,
readdailytotals,readprimebolus,readalarms,readprofilesets,
readuserevents,readremotecontrolid,read128kmem,read256kmem,
readbasaltemp508,readtodaytotals508,readsensorsettings,
读取传感器历史数据,读取历史,过滤器历史,过滤器lucosehistory,
过滤器历史,读取配置文件511 std,读取配置文件511 a,读取配置文件511 b,
511模式实验op125,511模式实验op126,读取设置511,
读取PumpTrace,读取详细跟踪,511模式_实验_op165,readnewtracealarm,
readoldtracealarm,writeglucosehistory时间戳,readlanguage,
readboluswizardsetupstatus,readcarbunits,readbgunits,readcarrbratio,
readinsulinsensitivitives,readbgatargets,readbgalmarckclocks,
readreservoirwarning,readbgreminderable,readsettings512,
readprofile\u std512,readprofile\u a512,readprofile\u b512,readlogicallinkids,
512experiment\u op150,readbgarmenable,guardensorsettings,
guardensorsettings,guardensordemographtimeout,
guardensoralarmsilence,guardensorratechangealerts,
readSavedSettingsDate、readBolusReminderable、readBolusReminders、
readFactoryParameters、readCalibrationFactor、readVCNTRhistory、
readOtherDeviceSids、PumpTraceSelect、PumpableDetailTrace、
PumpDisabledeTailtrace、Experiment_、Experiment_、
511型号riment_op119,511_实验_op120,
511_实验_op121,511_实验_op122,
511_实验_op123,511_实验_op124,
511_实验_op125,511_实验_op126,
511_实验_op127,511_实验_op128,
511_exp实验_op129,511模型_op130,选择basalprofile,
选择basalprofilestd,选择basalprofilea,选择basalprofileb,
泵实验_op69,泵实验_op70,泵实验_op71,
泵实验_op72,泵实验_op73,泵实验_op75}
内置命令,在主命令之前运行。
--postfix{basecommand,keypadpush,powercontrol,powercontroloff,
pumpcommand,pumpresume,pumpsuspend,readbasaltemp,readbatterystatus,
readcontrast,readcurpagenumber,readerrorstatus,readfirmwareversion,
readglucosehistory,readhistorydata、readpumpid、readpumpmodel、
readpumpstate、readpumpstatus、readrtc、readradioctrlacl、
readremaininginsulin、readsettings、readtotalstoday、setsuspend、pusheasy、
上推、下推、pushact、pushesc、tempbase、manualcommand、
readcurglucosepagenumber、readerrorstatus508,readbolushistory,
readdailyTotals,readprimebolus,readalarms,readprofilesets,
readuserevents,readremotecontrolid,read128kmem,read256kmem,
readbasaltemp508,readtodaytotals508,readsensorsettings,
readsensorhistorydata,readisighistory,filterhistory,filter葡萄糖历史,
filterishistory,readprofiles511_std,readprofiles511_a,readprofiles511_b,
511_testiop125,511_testiop126,readsettings511,
readpumptrace,readdetailtrace,511_testiop165,readnewtracealarm,
readoldtracealarm,writeglucosehisToryTimeStamp,ReadLanguage,
ReadBolusWizardSetupStatus,ReadCarbUnits,ReadBGUnits,ReadCarbRatios,
ReadInsulInsensitivities,ReadBGTargets,ReadBGAlarmClocks,
ReadReservoirWarning,ReadBGReminderable,ReadSettings512,
ReadProfile\u std512,ReadProfile\u a512,ReadProfile\u b512,readlogicLinkID,
512experiment\u op150,readbgAlarmEnable,guardensorSetting,
guardensorSetting,guardensorDemographTimeout,
guardensorAlarmSilence,guardensorRartechangeAlerts,
readSavedSettingDate,readbolusReminderable,readbolusReminders,
readfactoryparameters、readcalibrationfactor、readvcntrhistory、
readotherdevicesids、pumptraceselect,pumpabledetailtrace,
pumpdisabledetailtrace,实验op161,实验op162,
511模型实验op119,511模型实验op120,
511模型实验op121,511模型实验op122,
511模型实验op123,511模型实验op124,
511模型实验op125,511模型,OP126实验,
511模型,OP127实验,511模型,OP128实验,
511模型,OP129实验,511模型,OP130实验,选择basalprofile,
选择basalprofilestd,选择basalprofilea,选择basalprofileb,
pumpexperiment,pumpexperiment,pumpexperiment op71,
pumpexperiment_op72,pumpexperiment_op73,pumpexperiment_op75}
内置命令,在主命令之后运行。

在不
的情况下,它是用来提供治疗的。
```


``mm-send-comm.py manualcommand-h`

````
+mm-send-comm.py manualcommand-h
用法:mm-send-comm.py manualcommand[-h][--params params][--descr descr]
[--name名称][--save]
[--effecttime effecttime]
[--maxrecords maxrecords]
[--bytesperecord bytesperecord]
code

s:
对要发送到泵的操作码进行编码。

建议的命令名
--在文件中保存保存响应。
--有效时间有效时间
响应消息前的睡眠时间,在
秒内浮动
--最大记录数
在组成有效负载的包中,响应
--bytesperecord bytesperecord
每帧字节数
````

```
``

+mm-send-comm.py sleep-h`
```

+mm-send-comm.py sleep-h
用法:mm-send-comm.py sleep[-h]超时

po位置参数:
在运行--prefix和--postfix之间睡眠超时

[--params params[--descr descr]
[--name name][--save][--effecttime effecttime]
[--maxrecords maxrecords]
[--bytesperecord bytesperecord[--page page]
[--begin begin][--end]

{basecommand,keypadpush,powercontrol,
powercontroloff,pumpcommand,pumpresume,
pumpsuspend,readbasaltemp,readbatterystatus,
readcontrast、readcurpagenumber、readerrorstatus、
readfirmwareverversion、readglucosehistory、
readhistorydata、readpumpid、readpumpmodel、
readpumpstate、readpumpstatus、readrtc、
readradioctrlacl,readremaininginsulin,
readsettings,readtotalstoday,setsuspend,
pusheasy,pushup,pushdown,pushact,pushesc,
tempbasal,manualcommand,
readcurglucosepagenumber,readerrorstatus508,
readbolushistory,readdailytotals,
readprimeboluses,readalarms,readprof文件集,
readuserevents,readremotecontrolid,read128kmem,
read256kmem,readbasaltemp508,readtodaytotals508,
readsensorsettings,readsensorhistorydata,
readisighistory,filterhistory,
filterglucosehistory,filterishistory,
readprofiles511_std,readprofiles511_a,
readprofiles511_b,511_testiop125,
511_testiop126,readsetings511,
readpumptrace,readdetailtrace,
511_型实验_op165,readnewtracealarm,
readoldtracealarm,writeglucosehistory timestamp,
readlanguage,readboluswizardsetupstatus,
readcarburunits,readbgunits,readcarrbratio,
readinsulinsensitiVities,readbTargets,
readbAlarmClocks,readReservoirWarning,
readbReminderable,readsettings512,
readprofile\u std512,readprofile\u a512,
readprofile\u b512,readlogicLinkID,
model512实验_op150,readbgalmarenable,
监护设置,监护设置,
监护顺序图像超时,
监护拉尔姆静音,
监护顺序更改警报,
readsa视频设置日期,ReadBolusReminderable,
ReadBolusReminders,ReadFactoryParameters,
ReadCalibrationFactor,ReadVCNTRhistory,
ReadOtherDeviceSids,PumptRaceSelect,
PumpableDetailTrace,PumpDisabledeTailtrace,
实验_op161,实验_op162,
511模型_op119,
511模型_op120,
511模型_op121,
511模型_op122,
511模型_experiment_op123,
511_实验_op124,
511_实验_op125,
511_实验_op126,
511_实验_op127,
511_实验_op128,
moDel511_实验_op129,
511_实验_op130,选择basalprofile,
选择basalprofilestd,选择basalprofilea,
选择basalprofileb,泵实验_op69,
泵实验_op70,泵实验_op71,
pumpexperiment_op72,pumpexperiment_op73,
pumpexperiment_op75}


位置参数:
{basecommand,keypadpush,powercontrol,powercontroloff,pumpcommand,
pumpresume,pumpsuspend,readbasaltemp,readbatterystatus,readcontrast,
readcurpagenumber,readerrorstatus,readfirmwareversion,readglucosehistory,
readhistorydata,readpumpid,readpumpmodel,readpumpstate,readpumpstatus,
readrtc,readradioctrlacl,readremaininginsulin,readsettings,
readtotalstoday,setsuspend,pusheasy,pushup,pushdown,pushact,pushesc,
tempbase,manualcommand,readcurglucosepagenumber,readerrorstatus508,
reADBOlushistory、ReadDailyTotals、ReadPrimeBoluses、ReadAlarms、
ReadProfileSets、ReadUserEvents、ReadRemoteControlID、Read128kmem、
Read256kmem、Readbasaltemp508,readtodaytotals508,readsensorsettings,
readsensorhistorydata,readisighistory,filterhistory,filterglucosehistory,
filterishistory,readprofiles511,readprofiles511,readprofiles511,readprofiles511,readb,
511模式实验op125,511模式实验op126,readsettings511,
readpumptrace,readdetailtrace,511_型实验机op165,readnewtracealarm,
readoldtracealarm,writeglucosehistory时间戳,readlanguage,
readboluswizardsetupstatus,readcarbunits,readbgunits,readcarrbratios,
readinsulinsensitivities,readbgtargets,readbgarmclocks,
readservoirwarning,readbReminderable,readsettings512,
readprofile\u std512,readprofile\u a512,readprofile\u b512,readlogicLinkID,
model512experiment\u op150,readbAlarmenable,guardensorsettings,
guardensorsettings,guardensordemographTimeout,
guardensoralArmSilence,监护人ArranTechChangeAlerts,
ReadSavedSettingsDate,ReadBolusReminderable,ReadBolusReminders,
ReadFactoryParameters,ReadCalibrationFactor,ReadvCntrHistory,
ReadOtherDeviceSids,PumpTraceSelect,PumpableDetailTrace,
PumpDisableDetalTrace,实验一61,实验室OP162,
511模型实验室OP119,511模型实验室OP120,
511模型实验室OP121,511模型实验室OP122,
511模型实验室OP123,511模型实验室OP124,
511模型实验室OP125,511模型实验室OP126,
511模型实验室OP127,模式l511_实验_op128,
511_实验_op129,511_实验_op130,选择basalprofile,
选择basalprofilestd,选择basalprofilea,选择basalprofileb,
泵实验_op69,泵实验_op70,泵实验_op71,
泵实验_op72,泵实验_op73,泵实验riment_op75}
要调整的命令。

命令的sed名称
--在文件中保存保存响应。
--有效时间效果时间
响应消息之前的睡眠时间,在
秒中浮动
--maxrecords maxrecords组成有效负载的数据包
响应
--bytesperecord bytesperecord
每帧字节数
--要提取的页页面(用于readhistorydata)
--筛选历史的开始开始日期
--结束结束日期ATE用于过滤历史
````

emp]
[--无存储库][--无状态]
[分钟]


mm-latest.py-获取最新活动


位置参数:
分钟[默认值:30]


可选参数:
-h,--帮助显示此帮助消息并退出
--泵的序列号[默认值:]
--设备的端口路径[默认值:]
--无操作干运行,不执行主功能
--跳过前奏不执行正常前奏。
--无射频前奏执行前奏,但不查询泵。
--跳过后奏不执行做正常的尾声。
-v,--冗余
--初始化发送功率控制以初始化射频会话。
--没有时钟也报告泵的当前时间。
--没有基本也报告基本速率。
--没有温度也报告温度基本速率。
--没有保留oir还报告贮存器中剩余的胰岛素。
--无状态也报告当前的暂停/注射状态


>查询最新活动的泵。
```




`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `}…]

c、向上、向下、简单地}
按[默认:动作]按钮


可选参数:
-h,--帮助显示此帮助消息并退出
--泵的序列号[默认值:
--设备的端口路径[默认值:
--无操作干运行,不执行主功能
-verbose-verbose-verbose
--init发送power ctrl对rf会话进行初始化。
```



` `.sh</dev/ttyusb0>;lt;serial>;`运行几个实验,如下所述。
每个实验都保存在由git跟踪的`/logs`目录中,并由git进行跟踪。





` ` ` ` ` ` ` ` ` ` ` ` `。bin/common`
source一堆助手函数,特别是:

`

##### `run_session`_
Runs `python decocare/session.py /dev/ttyUSB0 <SERIAL>`
and saves results in `logs/session.log`.

##### `run_commands`_
Runs `python decocare/commands.py /dev/ttyUSB0 <SERIAL>`
and saves results in `logs/commands.log`.

##### `run_download`_

Runs `python decocare/download.py/dev/ttyusb0<;serial>;`
并将结果保存在"logs/download.log"中。

下载脚本配置为将每一页历史数据保存为`./logs/`子目录中的原始二进制blob:
`./logs/readhistorydata page-$x.data`.

此脚本可能需要几分钟才能运行;它尝试下载
所有可用的数据页。


整个输出
保存在`./status-quo.log`.

b in/common`,`export serial=511888`与序列号一起。

r/>`list_history.py[--larger]。/logs/readhistory….page-0.data`
list/decode一页历史记录作为标记。


list__`list_opcodes.py`
`list_opcodes.py`
通过查找操作码列出二进制数据中找到的记录,以及与该长度相关的常规数据结构。至少包含
一个可变的停止长度强度。



35 35
list_dates.py`




35;一些更容易管理的东西。
$history
553./usblyzer_先试先试先试先试.csv
554 ls
555 git-mv-mv-first-run.csv-pcaps/first-run/first-run.csv
556./usblyzer-filter.sh-filter.sh-pcaps/first-run/first-run.csv
558 git-mv-mv-second-run.csv/first-run.csv>;pcaps/first-run/pcap.csv
/pcap.csv
/>558-558 git-mv-mv-mv-secsecond-run.csv-pcaps/secfilter.sh pcaps/秒运行/第二次运行.csv
560./usblyzer_filter.sh pcaps/second_run/second_run.csv>;pcaps/second_run/pcap.csv
561 git mv third_run.csv pcaps/third_run/
562./usblyzer_filter.sh pcaps/third_run/third_run.csv
563./usblyzer_filter.sh pcaps/third_run/third_run.csv>;pcaps/third_run/pcap.csv
bewest@paragon:~/src/decoding carelink$
````

-[贡献者](https://github.com/bewest/decoding-carelink/network/members)

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
JavaGWT:何时使用Lazydemelement?   Java中跟踪消失线程的多线程处理   java Springboot未能配置数据源:“url”,但我没有使用数据库   java为按钮生成随机位置   math Java:包含二项式系数计算的表达式   java通过AsyncTask传递参数   从路径错误创建java文件   高流量网站的性能播放框架、Java、Apache、PostgreSQL、JPA和Hibernate   java将4D矢量转换为长矢量   arraylist Java循环在没有任何错误的情况下终止   java正在制作一个计算器应用程序,希望在第二个片段中更新历史,但无法完成   java将信息从IntentService发送到Activity   java如何在游戏中插入大量实体!工作   javascript如何在ScriptEngineforJava中从数学中获得准确的结果?