-
Notifications
You must be signed in to change notification settings - Fork 46
Command 08 Configure Delivery Flags
Command 08 is a special command that can be used at Pod startup to configure a couple of internal delivery flags. This command is has not been seen to be used by the PDM.
The 08 Configure Delivery Flags command has the following format:
OFF 1 2 3 4 5 6 7
08 06 NNNNNNNN JJ KK
-
08
(1 byte) [0]: mtype value of08
is the Configure Delivery Flags command -
06
(1 byte) [1]: mlen for this command is always06
-
NNNNNNNN
(4 bytes) [2:5]: the Nonce, the 32-bit validator (random looking numbers) -
JJ
(1 byte) [6]: new Tab5[0x16] value, must be 0 or 1; Pod firmware 2.7.0 default value is 1 -
KK
(1 byte) [7]: new Tab5[0x17] value, must be 0 or 1; Pod firmware 2.7.0 default value is 0
The JJ
byte should be set to 00
to override the default Tab5[0x16] value of 1 which will
disable the default handling for the $5A, $60, $61, $62, $66, $67, $68, $69, $6A pump conditions
during a pulse delivery so that they will not generate a Pod fault if this condition
isn't found to be cleared in a subsequent pulse delivery in the next 30 minutes.
The KK
byte should be set to 00
to keep Tab5[0x17] at its default value of zero.
If this value is set to 01
, the Pod will make a number of adjustments to various
internal variables and a countdown timer which are used during the delivery of an immediate bolus.
08 06 NNNNNNNN JJ KK
08 06 e4ff3624 00 00
This command will set Tab5[0x16] to zero which will disable all $5A/$60/$61/$62/$66/$67/$68/$69/$6A pump delivery conditions from faulting and will leave Tab5[0x17] as 0 for the default immediate bolus handling.
The 08 Configure Delivery Flags command has not been seen being used by a PDM and as such cannot be assumed to be a stable interface across all versions of the Pod firmware. It has been verified to be present in at least firmware versions 2.6.0, 2.7.0 (reference firmware version manufactured in 2016), 2.8.0, 2.9.0, and 2.10.0.
All the implications of using this command with JJ
of 00
to disable possible
$5A/$60/$61/$62/$66/$67/$68/$69/$6A pump conditions from becoming Pod failures is not fully understood.
Use of this command with an KK
of 01
has not been investigated.
The 08 Configure Delivery Flags command can only be issued during Pod startup when the Pod is in the Pod Progress State of 3 (Pairing success) or the pod with fault. This is after the first pairing steps have been completed (i.e., Command 03 Setup Pod has been completed), but before the priming bolus command is issued.