Skip to content

Instantly share code, notes, and snippets.

https://www.icloud.com/keynote/000mRNXHtLqlJ5-OXTp5SZ2pw#RileyLinkDemo
//
// PumpMessage.swift
// Naterade
//
// Created by Nathan Racklyeft on 9/2/15.
// Copyright © 2015 Nathan Racklyeft. All rights reserved.
//
import Foundation
Traceback (most recent call last):
File "/usr/bin/openaps-report", line 4, in <module>
__import__('pkg_resources').run_script('openaps==0.0.10', 'openaps-report')
File "/usr/lib/python2.7/site-packages/setuptools-19.7-py2.7.egg/pkg_resources/__init__.py", line 724, in run_script
File "/usr/lib/python2.7/site-packages/setuptools-19.7-py2.7.egg/pkg_resources/__init__.py", line 1650, in run_script
File "/usr/lib/python2.7/site-packages/openaps-0.0.10-py2.7.egg/EGG-INFO/scripts/openaps-report", line 82, in <module>
app( )
File "/usr/lib/python2.7/site-packages/openaps-0.0.10-py2.7.egg/openaps/cli/__init__.py", line 44, in __call__
Model508/Bolus (9) -> BolusNormal (13)
Model523/Bolus (13) -> BolusNormal (13)
Model508/Prime (10) -> Prime (10)
Model508/NoDelivery (9) -> AlarmPump (9)
Model508/MResultTotals (7) -> ResultDailyTotal (10)
Model523/MResultTotals (10) -> ResultDailyTotal (10)
Model508/ChangeBasalProfile_old_profile (152) -> ChangeBasalProfilePattern (152)
Model508/ChangeBasalProfile_new_profile (152) -> ChangeBasalProfile (152)
Model508/CalBGForPH (7) -> CalBgForPh (7)
Model508/SensorAlert (8) -> AlarmSensor (8)
@ps2
ps2 / gist:38b756db1be240b60b01
Created September 16, 2015 01:48
raw medtronic rf
20:42:12.001 | a9 68 e5 56 58 e5 56 65 55 3a 35 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 67 ad ef ff ff ff f6 08 e2 04 18 e2 00 00 00 00 19 b5 e4 03 80 84 40 3f 04 07 10 05 40 00 2f ff c4 9f ff f9 ca ff ff ff ff ff a4 c0 00 40 00 00 00 00 40 00 00 00 08 90 04 00 00 03 f6 5d c0 00 00 57 ff ff f7 | -65
20:42:12.182 | a9 68 e5 56 58 e5 5a 55 71 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 39 55 00 00 00 | -65
20:42:12.381 | a9 68 e5 56 58 e5 6a 35 55 6b 25 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 05 af bb 8e 9a d5 18 04 36 00 00 00 08 00 0c 01 ac 40 88 00 00 00 11 04 c0 00 00 02 fe bf fe 7f ff ff ff ff ff ff ff 71 50 00 00 00 02 84 4c 00 00 32 07 ff ff ff 7f f
{
type: "pumpSummary",
dateString: "2015-08-25T03:54:42.726Z",
pumpSummary: "something",
device: "rl://RileyLink",
pumpId: "123456",
date: 1440474882725.511,
iob: "1.5",
sensorAgeHours: "5",
sensorRemainingHours: "151",
@ps2
ps2 / gist:2eaafd0e3635b13a5c7c
Last active August 29, 2015 14:27
dump history medtronic pump carelink rf
meter a7 628077 5d 00 b7
meter a7 628077 5d 00 b7
meter a7 628077 5d 00 b7
meter a7 628077 5d 00 b7
meter a7 628077 5d 00 b7
meter a7 628077 5d 00 b7
meter a7 628077 5d 00 b7
meter a7 628077 5d 00 b7
meter a7 628077 5d 00 b7
meter a7 628077 5d 00 b7
@ps2
ps2 / enlite.txt
Created August 15, 2015 03:44
Enlite Sensor Packet Log
2015-08-15 03:26:17 +0000: Read packet (-81): ab0f24ef6d0d0e1b50144e1285004e50a011bf125512e412a812a011b4109400cbb6
2015-08-15 03:26:34 +0000: Read packet (-81): ab0f24ef6d0d0e1b51144e1285004e50a011bf125512e412a812a011b4109400fcb5
2015-08-15 03:31:02 +0000: Read packet (-81): ab0f24ef6d0d0e1b601542144e00424ea0128511bf125512e412a812a011b400293c
2015-08-15 03:31:14 +0000: Read packet (-82): ab0f24ef6d0d0e1b611542144e00424ea0128511bf125512e412a812a011b4001e3f
2015-08-15 03:35:45 +0000: Read packet (-84): ab0f24ef6d0d0e1b7015391542003d42a0144e128511bf125512e412a812a0008e3f
2015-08-15 03:36:01 +0000: Read packet (-84): ab0f24ef6d0d0e1b7115391542003d42a0144e128511bf125512e412a812a000b93c
2015-08-15 03:41:08 +0000: Read packet (-91): ab0f24ef6d0d0e1b001641153900403da01542144e128511bf125512e412a8002886
2015-08-15 03:41:20 +0000: Read packet (-91): ab0f24ef6d0d0e1b011641153900403da01542144e128511bf125512e412a8001f85
@ps2
ps2 / mysentry.log
Created August 14, 2015 04:16
Recording of MySentry pairing with Paradigm 523 pump.
2015-08-14 04:10:48 +0000: Read packet (-78): a235053509c1999999004e
2015-08-14 04:10:53 +0000: Read packet (-76): a235053509c1999999004e
2015-08-14 04:10:53 +0000: Read packet (-75): a235053509c299999900fa
2015-08-14 04:10:58 +0000: Read packet (-73): a235053509c3999999001f
2015-08-14 04:11:03 +0000: Read packet (-74): a235053509c3999999001f
2015-08-14 04:11:03 +0000: Read packet (-75): a235053509c49999990009
2015-08-14 04:11:08 +0000: Read packet (-75): a235053509c599999900ec
2015-08-14 04:11:13 +0000: Read packet (-75): a235053509c599999900ec
2015-08-14 04:11:13 +0000: Read packet (-75): a235053509c69999990058
2015-08-14 04:11:23 +0000: Read packet (-70): a235053509c89999990074
{
token: "1af9f0e14db6ee11f04ffe509f8a20280293fc929e7327f5229303249750ecf5499936b95c15e68b92ad16c7a7ec300e",
status: 1,
image_url: "http://www.timberland.com/templates/better-now/images/yellow-boot/boots/slides/A9.jpg",
signed_url: "",
contents: [
{
id: null,
externalID: null,
provider: "keywords",