-
Notifications
You must be signed in to change notification settings - Fork 46
Simultaneous alerts (Heltzel)
- Set 45U low reservoir alert set.
- Set suspend delivery for 1 hour.
- Set auto off to 1 hour, so it will alert soon after.
2018-07-08T16:48:07.021493 PDM
19 LL NNNNNNNN IVXX YYYY 0J0K
19 0a 8a57736b 4c00 01c2 0102
A $19
Configure Alerts command is being done
for alert #4 with the 'b' bit set for setting a standard
low reservoir alert for $1c2 = 450/10 = 45U.
2018-07-08T16:48:07.091271 POD
1d SS 0PPPSNNN SSTTTRRR
1d 19 0149a800 000077be
-
19
byte: bits abcdeeee- 0x10 - running basal
- 0x09 - reservoir < 50U
-
0PPPSNNN
dword =$0149a800
=0000|0001 0100 1001 1|010 1|000 0000 0000 0000
- 0: 4 bits of 0's
- PPP = $293: 13 bits total pulses = 659 x 0.05U/pulse = 32.95U
- S = 5: 4 bits (message sequence number)
- NNN = 0: 11 bits insulin pulses not delivered
-
SSTTTRRR
dword =$000077be
=0|000 0000 0|000 0000 0111 01|11 1011 1110
-
0
1 bit -
0
8 bits - TTT =
$01d
: 13 bits Pod time active in minutes = 29 - RRR =
$3be
: 10 bits reservoir level = 958 pulses x 0.05U/pulse = 47.9U
-
2018-07-08T16:50:28.710835 POD
1d SS 0PPPSNNN SSTTTTRR
1d 09 014a4800 00007fbd
-
09
byte: bits abcdeeee- 0x00 - insulin stopped
- 0x09 - reservoir < 50U
-
0PPPSNNN
dword =$014a4800
=0000|0001 0100 1010 0|100 1|000 0000 0000
- 0: 4 bits of 0's
- PPP = $294: 13 bits total pulses = 660 x 0.05U/pulse = 33.0U
- S = 9: 4 bits (message sequence number)
- NNN = 0: 11 bits insulin pulses not delivered
-
SSTTTRRR
dword =$00007fbd
=0|000 0000 0|000 0000 0111 11|11 1011 1101
-
0
1 bit -
0
8 bits - TTT =
$01f
: 13 bits Pod time active in minutes = 31 - RRR =
$3bd
: 10 bits Reservoir level = 957 pulses x 0.05U/pulse = 47.85U
-
2018-07-08T17:53:12.920468 PDM
Oe 01 TT
0e 01 01
The PDM requests a type 1 status and the Pod responses with a $02 status type 1 message:
2018-07-08T17:53:12.960572 POD
02 13 01 XXXX VVVV VVVV VVVV VVVV VVVV VVVV VVVV VVVV
02 13 01 0000 005b 0000 0000 0000 0000 002e 005b 0000
In this example,
alerts #0, #5 and #6 are active.
Alert #0 is used for Auto-Off while alerts #5 and #6 are used for suspend.
The VVVV
values indicate that alert #0 (Auto-Off)
occurred at $5b (91) minutes,
that alert #5 occurred at $2e (46) minutes,
and that alert #6 occurred at $5b (91) minutes.
2018-07-08T17:53:13.650285 PDM
19 LL NNNNNNNN IVXX YYYY 0J0K
19 0a 053d30ba 0a0f 003c 0202
The 0x2 bit (the 'c' bit) in 'V' indicates an Auto-off alert setup.
The XX of ff
is 15 minute limit for the alert beeping,
the YYYY of 003c
is a 60 minute alert,
and the 0J0K value of 0202
is beep repeat pattern 02
(repeat every minute for 15 minutes)
and beep type 02
(BipBeep BipBeep BipBeep BipBeep).
2018-07-08T17:53:13.722859 POD
1d SS 0PPPSNNN SSTTTTRR
1d 09 014a5800 20017bbd
-
09
byte: bits abcdeeee- 0x00 - insulin stopped
- 0x09 - reservoir < 50U
-
0PPPSNNN
dword =$014a5800
=0000|0001 0100 1010 0|101 1|000 0000 0000
- 0: 4 bits of 0's
- PPP = $294: 13 bits total pulses = 660 x 0.05U/pulse = 33.0U
- S = $b: 4 bits (message sequence number)
- NNN = 0: 11 bits insulin pulses not delivered
-
SSTTTRRR
dword =$20017bbd
=0|010 0000 0|000 0001 0111 10|11 1011 1101
-
0
1 bit -
010 0000 0
8 bits (Alarm to PDM: preemption): abcdefgh- b: Insulin Suspend Period Ended
-
0
8 bits - TTT =
$05e
: 13 bits Pod time active in minutes = 94 - RRR =
$3bd
: 10 bits reservoir level = 957 pulses x 0.05U/pulse = 47.85U
-
2018-07-08T17:55:05.494130 PDM
Oe 01 TT
0e 01 01
2018-07-08T17:55:06.655186 ID1:1f051708 PTYPE:CON SEQ:31
02 13 01 XXXX VVVV VVVV VVVV VVVV VVVV VVVV VVVV VVVV
CON:
02044e0121eac002d001312d00096000b71b00087001312d008380
Potential packet loss here as it is impossible to
tell what this CON packet was continued from!?!
A $0e
command with TT
of 01
should have generated a
$02 command type 1 response
(i.e., 02 13 01 XXXX VVVV...
).
2018-07-08T17:55:06.725730 ID1:1f051708 POD
1d SS 0PPPSNNN SSTTTTRR
1d 19 014a6800 200183bd
-
19
byte: bits abcdeeee- 0x10 - running
- 0x09 - reservoir < 50U
-
0PPPSNNN
dword =$014a6800
=0000|0001 0100 1010 0|110 1|000 0000 0000
- 0: 4 bits of 0's
- PPP = $294: 13 bits total pulses = 660 x 0.05U/pulse = 33.0U
- S = $d: 4 bits (message sequence number)
- NNN = 0: 11 bits insulin pulses not delivered
-
SSTTTRRR
dword =$200183bd
=0|010 0000 0|000 0001 1000 00|11 1011 1101
-
0
1 bit -
010 0000 0
8 bits (Alarm to PDM: preemption): abcdefgh- b: Insulin Suspend Period Ended
- TTT =
$060
: 13 bits Pod time active in minutes = 96 - RRR =
$3bd
: 10 bits reservoir level = 957 pulses x 0.05U/pulse = 47.85U
-
After the user clicks on OK, the PDM sends $19 Configure Alerts command as follows:
2018-07-08T17:55:07.367103 PDM
19 LL NNNNNNNN IVXX YYYY 0J0K IVXX YYYY 0J0K
19 10 31701b92 5000 0000 0000 6000 0000 0000
The double $19 Configure Alerts command with
5000 0000 0000 6000 0000 0000
is used to clear alert #5 (Suspend in Progress advisory alert)
and to clear alert #6 (Suspend Time Ended advisory alert).
2018-07-08T17:55:07.490656 PDM
1d SS 0PPPSNNN SSTTTTRR
1d 19 014a7800 000183bd
-
19
byte: bits abcdeeee- 0x10 - running normal basal
- 0x09 - reservoir < 50U
-
0PPPSNNN
dword =$014a7800
=0000|0001 0100 1010 0|111 1|000 0000 0000
- 0: 4 bits of 0's
- PPP = $294: 13 bits total pulses = 660 x 0.05U/pulse = 33.0U
- S = $f: 4 bits (message sequence number)
- NNN = 0: 11 bits insulin pulses not delivered
-
SSTTTRRR
dword =$000183bd
=0|000 0000 0|000 0001 1000 00|11 1011 1101
-
0
1 bit -
0
8 bits - TTT =
$060
: 13 bits Pod time active in minutes = 96 - RRR =
$3bd
: 10 bits reservoir level = 957 pulses x 0.05U/pulse = 47.85U
-
2018-07-08T17:55:56.805619 PDM
Oe 01 TT
0e 01 00
2018-07-08T17:55:56.931674 POD
1d SS 0PPPSNNN SSTTTTRR
1d 19 014a7800 000187bd
-
19
byte: bits abcdeeee- 0x10 - normal basal
- 0x09 - reservoir < 50U
-
0PPPSNNN
dword =$014a7800
=0000|0001 0100 1010 0|111 1|000 0000 0000
- 0: 4 bits of 0's
- PPP = $294: 13 bits total pulses = 660 x 0.05U/pulse = 33.0U
- S = $f: 4 bits (message sequence number)
- NNN = 0: 11 bits insulin pulses not delivered
-
SSTTTRRR
dword =$000187bd
=0|000 0000 0|000 0001 1000 01|11 1011 1101
-
0
1 bit -
0
8 bits - TTT =
$061
: 13 bits Pod time active in minutes = 97 - RRR =
$3bd
: 10 bits reservoir level = 957 pulses x 0.05U/pulse = 47.85U
-
2018-07-08T16:47:45.752916 ID1:1f051708 PTYPE:ACK SEQ:08 ID2:1f051708 CRC:5c
2018-07-08T16:48:07.021493 ID1:1f051708 PTYPE:PDM SEQ:09 ID2:1f051708 B9:14 BLEN:12 BODY:190a8a57736b4c0001c2010203bb CRC:6c
2018-07-08T16:48:07.091271 ID1:1f051708 PTYPE:POD SEQ:10 ID2:1f051708 B9:18 BLEN:10 BODY:1d190149a800000077be018f CRC:6d
2018-07-08T16:48:07.091939 ID1:1f051708 PTYPE:ACK SEQ:11 ID2:1f051708 CRC:fa
2018-07-08T16:50:11.158664 ID1:1f051708 PTYPE:POD SEQ:13 ID2:1f051708 B9:20 BLEN:10 BODY:1d19014a380000007fbd009f CRC:99
2018-07-08T16:50:11.159070 ID1:1f051708 PTYPE:ACK SEQ:14 ID2:1f051708 CRC:17
2018-07-08T16:50:28.383403 ID1:1f051708 PTYPE:ACK SEQ:16 ID2:1f051708 CRC:77
2018-07-08T16:50:28.586811 ID1:1f051708 PTYPE:POD SEQ:18 ID2:1f051708 B9:28 BLEN:10 BODY:1d09014a480000007fbd8063 CRC:57
2018-07-08T16:50:28.710835 ID1:1f051708 PTYPE:POD SEQ:18 ID2:1f051708 B9:28 BLEN:10 BODY:1d09014a480000007fbd8063 CRC:57
2018-07-08T16:50:28.746944 ID1:1f051708 PTYPE:ACK SEQ:19 ID2:1f051708 CRC:d1
2018-07-08T17:53:12.920468 ID1:1f051708 PTYPE:PDM SEQ:20 ID2:1f051708 B9:2c BLEN:3 BODY:0e01018351 CRC:fa
2018-07-08T17:53:12.960572 ID1:1f051708 PTYPE:POD SEQ:21 ID2:1f051708 B9:30 BLEN:21 BODY:0213010000005b0000000000000000002e005b0000037d CRC:60
2018-07-08T17:53:12.994348 ID1:1f051708 PTYPE:ACK SEQ:22 ID2:1f051708 CRC:3c
2018-07-08T17:53:13.329095 ID1:1f051708 PTYPE:PDM SEQ:23 ID2:1f051708 B9:2c BLEN:12 BODY:190a053d30ba0a0f003c02020279 CRC:60
2018-07-08T17:53:13.650285 ID1:1f051708 PTYPE:PDM SEQ:23 ID2:1f051708 B9:2c BLEN:12 BODY:190a053d30ba0a0f003c02020279 CRC:60
2018-07-08T17:53:13.722859 ID1:1f051708 PTYPE:POD SEQ:24 ID2:1f051708 B9:30 BLEN:10 BODY:1d09014a580020017bbd0184 CRC:37
2018-07-08T17:53:13.731772 ID1:1f051708 PTYPE:ACK SEQ:25 ID2:1f051708 CRC:0c
2018-07-08T17:55:05.494130 ID1:1f051708 PTYPE:PDM SEQ:26 ID2:1f051708 B9:34 BLEN:3 BODY:0e01010377 CRC:a8
2018-07-08T17:55:05.621495 ID1:1f051708 PTYPE:ACK SEQ:28 ID2:1f051708 CRC:e1
2018-07-08T17:55:06.479759 ID1:1f051708 PTYPE:ACK SEQ:30 ID2:1f051708 CRC:25
2018-07-08T17:55:06.655186 ID1:1f051708 PTYPE:CON SEQ:31 CON:02044e0121eac002d001312d00096000b71b00087001312d008380 CRC:95
2018-07-08T17:55:06.725730 ID1:1f051708 PTYPE:POD SEQ:00 ID2:1f051708 B9:38 BLEN:10 BODY:1d19014a6800200183bd8091 CRC:3e
2018-07-08T17:55:06.846010 ID1:1f051708 PTYPE:POD SEQ:00 ID2:1f051708 B9:38 BLEN:10 BODY:1d19014a6800200183bd8091 CRC:3e
2018-07-08T17:55:07.246074 ID1:1f051708 PTYPE:POD SEQ:00 ID2:1f051708 B9:38 BLEN:10 BODY:1d19014a6800200183bd8091 CRC:3e
2018-07-08T17:55:07.367103 ID1:1f051708 PTYPE:PDM SEQ:02 ID2:1f051708 B9:3c BLEN:18 BODY:191031701b92500000000000600000000000836c CRC:fe
2018-07-08T17:55:07.490656 ID1:1f051708 PTYPE:POD SEQ:03 ID2:1f051708 B9:00 BLEN:10 BODY:1d19014a7800000183bd0037 CRC:31
2018-07-08T17:55:07.491017 ID1:1f051708 PTYPE:ACK SEQ:04 ID2:1f051708 CRC:ca
2018-07-08T17:55:56.805619 ID1:1f051708 PTYPE:PDM SEQ:05 ID2:1f051708 B9:04 BLEN:3 BODY:0e010003c8 CRC:3c
2018-07-08T17:55:56.931674 ID1:1f051708 PTYPE:POD SEQ:06 ID2:1f051708 B9:08 BLEN:10 BODY:1d19014a7800000187bd83b4 CRC:da
2018-07-08T17:55:56.967640 ID1:1f051708 PTYPE:ACK SEQ:07 ID2:1f051708 CRC:6c