-
Notifications
You must be signed in to change notification settings - Fork 46
2.25U temp basal every 1 minute for 30 minutes OmniKit
Joe Moran edited this page Apr 16, 2019
·
6 revisions
public func testingCommands() throws {
let setRate: Double
var count: Int8
let _ = try cancelDelivery(deliveryType: .tempBasal, beepType: .noBeep)
count = 0
setRate = 2.25
while count <= 30 {
let _ = try setTempBasal(rate: setRate, duration: .minutes(30), confidenceReminder: false, programReminderInterval: .minutes(0))
NSLog("send Rate: \(setRate)")
sleep(60)
count += 1
let _ = try cancelDelivery(deliveryType: .tempBasal, beepType: .noBeep)
sleep(5)
}
}
On the XXXXXXXX part, sometimes the xxxXXxx part is missing which shifts all following values
Time U/hr time 1a LL NNNNNNNN 01 CCCC HH SSSS PPPP napp 16 LL BO MM NNNN XXXXXXXX YYYY ZZZZZZZZ
PDM 2.25 0.5h 1a 0e f935d95f 01 00a5 01 3840 0016 0016 16 0e 3c 00 00e1 007a1200 00e1 007a1200
15:41:33.835 2.25 0.5h 1a 0e 9326b64e 01 00a5 01 3840 0016 16 0e 00 00 00e1 007a1200 00e1 007a1200
15:42:44.313 2.25 0.5h 1a 0e 344578ae 01 00a5 01 3840 0016 16 0e 00 00 00e1 007a1200 00e1 007a1200
15:43:54.388 2.25 0.5h 1a 0e 3d7edf55 01 00a5 01 3840 0016 16 0e 00 00 00e1 007a1200 00e1 007a1200
15:45:04.561 2.25 0.5h 1a 0e 012e8de3 01 00a5 01 3840 0016 16 0e 00 00 00e1 007a1200 00e1 007a1200
15:46:41.050 2.25 0.5h 1a 0e 581a5b02 01 00a5 01 3840 0016 16 0e 00 00 00e1 007a1200 00e1 007a1200
15:48:41.031 2.25 0.5h 1a 0e 91de8f04 01 00a5 01 3840 0016 16 0e 00 00 00e1 007a1200 00e1 007a1200
15:50:42.927 2.25 0.5h 1a 0e 2472a0c3 01 00a5 01 3840 0016 16 0e 00 00 00e1 007a1200 00e1 007a1200
15:52:44.521 2.25 0.5h 1a 0e 8ee06f4b 01 00a5 01 3840 0016 16 0e 00 00 00e1 007a1200 00e1 007a1200
15:54:46.114 2.25 0.5h 1a 0e 15ec780d 01 00a5 01 3840 0016 16 0e 00 00 00e1 007a0000 e100 7a120002
15:56:48.617 2.25 0.5h 1a 0e 35b7f79e 01 00a5 01 3840 0016 16 0e 00 00 00e1 007a1200 00e1 007a1200
15:58:50.717 2.25 0.5h 1a 0e b28e601b 01 00a5 01 3840 0016 16 0e 00 00 00e1 007a1200 00e1 007a1200
16:00:51.402 2.25 0.5h 1a 0e b4372ce9 01 00a5 01 3840 0016 16 0e 00 00 00e1 007a1200 00e1 007a1200
16:02:21.544 2.25 0.5h 1a 0e 030affed 01 00a5 01 3840 0016 16 0e 00 00 00e1 007a1200 00e1 007a1200
16:03:36.557 2.25 0.5h 1a 0e 527e681f 01 00a5 01 3840 0016 16 0e 00 00 00e1 007a1200 00e1 007a1200
16:04:47.633 2.25 0.5h 1a 0e 145a9b36 01 00a5 01 3840 0016 16 0e 00 00 00e1 007a1200 00e1 007a1200
16:05:57.508 2.25 0.5h 1a 0e fa8d190b 01 00a5 01 3840 0016 16 0e 00 00 00e1 007a0000 e100 7a120002
16:07:08.386 2.25 0.5h 1a 0e 2b2d518f 01 00a5 01 3840 0016 16 0e 00 00 00e1 007a1200 00e1 007a1200
16:08:19.164 2.25 0.5h 1a 0e a96f2dbb 01 00a5 01 3840 0016 16 0e 00 00 00e1 007a1200 00e1 007a1200
16:09:30.044 2.25 0.5h 1a 0e ebbf9fd2 01 00a5 01 3840 0016 16 0e 00 00 00e1 007a1200 00e1 007a1200
16:10:40.626 2.25 0.5h 1a 0e deb2bf92 01 00a5 01 3840 0016 16 0e 00 00 00e1 007a1200 00e1 007a1200
16:11:51.303 2.25 0.5h 1a 0e 67ef4231 01 00a5 01 3840 0016 16 0e 00 00 00e1 007a1200 00e1 007a1200
16:13:03.690 2.25 0.5h 1a 0e 153e3b66 01 00a5 01 3840 0016 16 0e 00 00 00e1 007a1200 00e1 007a1200
16:14:15.180 2.25 0.5h 1a 0e 655b5fca 01 00a5 01 3840 0016 16 0e 00 00 00e1 007a1200 00e1 007a1200
16:15:25.855 2.25 0.5h 1a 0e f25ff144 01 00a5 01 3840 0016 16 0e 00 00 00e1 007a1200 00e1 007a1200
16:16:35.832 2.25 0.5h 1a 0e 4e420fe2 01 00a5 01 3840 0016 16 0e 00 00 00e1 007a1200 00e1 007a1200
16:17:45.899 2.25 0.5h 1a 0e 233556bf 01 00a5 01 3840 0016 16 0e 00 00 00e1 007a1200 00e1 007a1200
16:18:56.075 2.25 0.5h 1a 0e 72afc901 01 00a5 01 3840 0016 16 0e 00 00 00e1 007a1200 00e1 007a1200
16:20:07.555 2.25 0.5h 1a 0e 503d6178 01 00a5 01 3840 0016 16 0e 00 00 00e1 007a0000 e100 7a120000
16:21:19.645 2.25 0.5h 1a 0e 461cf975 01 00a5 01 3840 0016 16 0e 00 00 00e1 007a0000 e100 7a120003
16:22:29.921 2.25 0.5h 1a 0e d183d5e5 01 00a5 01 3840 0016 16 0e 00 00 00e1 007a1200 00e1 007a1200
16:23:40.597 2.25 0.5h 1a 0e 2f39ff2a 01 00a5 01 3840 0016 16 0e 00 00 00e1 007a1200 00e1 007a1200