Command 1E Beep Configure - openaps/openomni GitHub Wiki
0x1E Beep Config Command
Command 0x1E is used to set beep configurations for completion & interval reminder beeps as well as to set up an optional immediate test beep. The 0x1E beep config command will be used for the following PDM operations:
- Settings->System settings->Alerts/Reminders->Confirmation reminder
- Settings->System settings->Alerts/Reminders->Program reminder
- Settings->Diagnostics->Check alarms
The $1E Beep Configure Command has the following format:
1e 04 0ABBCCDD
1e
(1 byte): mtype of Beep Configure Command is $1E04
(1 byte): length (fixed)0ABBCCDD
(4 bytes)
The A
nibble is the beep type to be sounded immediately. Recordings for common beep values can be found in All Beep Types.
Values not listed for the A
beep type nibble will fail with an 0x6 Error Response, code 7.
0x1
BeepBeepBeepBeep0x2
BipBeep BipBeep BipBeep BipBeep0x3
BipBip0x4
Beep0x5
BeepBeepBeep0x6
Beeeeeep0x7
BipBipBip BipBipBip0x8
BeeepBeeep0xB
BeepBeep0xC
Beeep0xD
BipBeeeeep0xE
Continuous beep for 5 seconds if Pod is suspended0xF
No beep (silent)
The BB
byte corresponds to the BO
Beep-Options-byte & ~0x80 (i.e., 0crrrrrr
)
in the $13 Basal Schedule subcommand and can be used to set or clear the completion and interval beeps for any in-progress basal program.
The CC
byte corresponds to the BO
Beep-Options-byte & ~0x80 (i.e., 0crrrrrr
)
in the $16 Temp Basal subcommand and
can be used to set or clear the completion and interval beeps for any in-progress temporary basal.
The DD
byte corresponds to the BO
Beep-Option-byte & ~0x80 (i.e., 0crrrrrr
)
in the $17 Bolus Extra subcommand and
can be used to set or clear the completion and interval beeps for any in-progress immediate or extended bolus.
Some observed value are:
Check alarms when both Confidence reminders and Program reminders are On
1e 04 02407c7c
BipBeep BipBeep BipBeep BipBeep1e 04 0e407c7c
Continuous beep for 5 seconds
Check alarms when Confidence reminders are On and Program reminders are Off
1e 04 02404040
BipBeep BipBeep BipBeep BipBeep1e 04 0e404040
Continuous beep for 5 seconds
Switching Confirmation reminders settings
1e 04 0f404040
Confirmation reminders switched to On1e 04 0f400000
Confirmation reminders switched to Off
Switching Program reminders settings
1e 04 0f403c3c
Program reminders switched to On (sets a $3c=60 minute beep interval for any in progress temp basal and extended bolus)1e 04 0f400000
Program reminders switched to Off (sets all beep intervals to 0)
Program reminder on/off with new pod
1e 04 0f400000 // off
1e 04 0f403c3c // on
Confirmation reminder
Off
2018-06-18T01:09:32.643711 ID1:1f05e70a PTYPE:PDM SEQ:04 ID2:1f05e70a B9:20 BLEN:6 BODY:1e040f40000003e2 CRC:e2
2018-06-18T01:09:32.763665 ID1:1f05e70a PTYPE:POD SEQ:05 ID2:1f05e70a B9:24 BLEN:10 BODY:1d18002d40000018abff8303 CRC:c9
2018-06-18T01:09:32.764450 ID1:1f05e70a PTYPE:ACK SEQ:06 ID2:00000000 CRC:90
On
2018-06-18T01:09:58.385109 ID1:1f05e70a PTYPE:PDM SEQ:07 ID2:1f05e70a B9:28 BLEN:6 BODY:1e040f404040803a CRC:e1
2018-06-18T01:09:58.659311 ID1:1f05e70a PTYPE:PDM SEQ:07 ID2:1f05e70a B9:28 BLEN:6 BODY:1e040f404040803a CRC:e1
2018-06-18T01:09:58.775562 ID1:1f05e70a PTYPE:POD SEQ:08 ID2:1f05e70a B9:2c BLEN:10 BODY:1d18002d50000018afff00f3 CRC:e9
2018-06-18T01:09:58.775901 ID1:1f05e70a PTYPE:ACK SEQ:09 ID2:00000000 CRC:a0
Program reminder
Off
2018-06-16T23:01:35.550877 ID1:1f05e70a PTYPE:PDM SEQ:17 ID2:1f05e70a B9:10 BLEN:6 BODY:1e040f40000081ed CRC:ec
2018-06-16T23:05:43.660183 ID1:1f05e70a PTYPE:PDM SEQ:23 ID2:1f05e70a B9:20 BLEN:6 BODY:1e040f40000003e2 CRC:5b
2018-06-16T23:01:35.620822 ID1:1f05e70a PTYPE:POD SEQ:18 ID2:1f05e70a B9:14 BLEN:10 BODY:1d1800212000000027ff8315 CRC:28
2018-06-16T23:05:43.726745 ID1:1f05e70a PTYPE:POD SEQ:24 ID2:1f05e70a B9:24 BLEN:10 BODY:1d1800214000000037ff03ba CRC:88
On
2018-06-16T23:03:58.197667 ID1:1f05e70a PTYPE:PDM SEQ:20 ID2:1f05e70a B9:18 BLEN:6 BODY:1e040f403c3c0386 CRC:1a
2018-06-16T23:06:29.653897 ID1:1f05e70a PTYPE:PDM SEQ:26 ID2:1f05e70a B9:28 BLEN:6 BODY:1e040f403c3c8189 CRC:1e
2018-06-16T23:03:58.267884 ID1:1f05e70a PTYPE:POD SEQ:21 ID2:1f05e70a B9:1c BLEN:10 BODY:1d1800213000000033ff012f CRC:0b
2018-06-16T23:06:29.773413 ID1:1f05e70a PTYPE:POD SEQ:27 ID2:1f05e70a B9:2c BLEN:10 BODY:1d180021500000003bff8060 CRC:96
Confirmation reminder off
2018-06-16T23:09:39.238951 ID1:1f05e70a PTYPE:PDM SEQ:10 ID2:1f05e70a B9:08 BLEN:6 BODY:1e040f4040408241 CRC:52
2018-06-16T23:09:39.308667 ID1:1f05e70a PTYPE:POD SEQ:11 ID2:1f05e70a B9:0c BLEN:10 BODY:1d1800211000000047ff0306 CRC:9b
Test alarms
Replace sound (beep type 2)
2018-06-16T23:13:47.371034 ID1:1f05e70a PTYPE:PDM SEQ:26 ID2:1f05e70a B9:28 BLEN:6 BODY:1e040240404001ea CRC:03
2018-06-16T23:13:47.492896 ID1:1f05e70a PTYPE:POD SEQ:27 ID2:1f05e70a B9:2c BLEN:10 BODY:1d0800215000000057ff00aa CRC:12
2018-06-16T23:13:47.493569 ID1:1f05e70a PTYPE:ACK SEQ:28 ID2:1f05e70a CRC:14
2018-06-16T23:13:47.371034 ID1:1f05e70a PTYPE:PDM SEQ:26 ID2:1f05e70a B9:28 BLEN:6 BODY:1e040240404001ea CRC:03
2018-06-16T23:13:47.492896 ID1:1f05e70a PTYPE:POD SEQ:27 ID2:1f05e70a B9:2c BLEN:10 BODY:1d0800215000000057ff00aa CRC:12
2018-06-16T23:13:47.493569 ID1:1f05e70a PTYPE:ACK SEQ:28 ID2:1f05e70a CRC:14
Flatline sound (beep type 6)
2018-06-16T23:12:03.155785 ID1:1f05e70a PTYPE:PDM SEQ:23 ID2:1f05e70a B9:20 BLEN:6 BODY:1e040e40404000f8 CRC:16
2018-06-16T23:12:03.190095 ID1:1f05e70a PTYPE:POD SEQ:24 ID2:1f05e70a B9:24 BLEN:10 BODY:1d0800214000000053ff835a CRC:6a
2018-06-16T23:12:03.207168 ID1:1f05e70a PTYPE:ACK SEQ:25 ID2:1f05e70a CRC:f9
2018-06-16T23:13:49.810934 ID1:1f05e70a PTYPE:PDM SEQ:29 ID2:1f05e70a B9:30 BLEN:6 BODY:1e040e404040808c CRC:a7
2018-06-16T23:13:50.138448 ID1:1f05e70a PTYPE:PDM SEQ:29 ID2:1f05e70a B9:30 BLEN:6 BODY:1e040e404040808c CRC:a7
2018-06-16T23:13:50.204532 ID1:1f05e70a PTYPE:POD SEQ:30 ID2:1f05e70a B9:34 BLEN:10 BODY:1d080021600000005bff01cb CRC:56
Restrictions
This command can only be used when the current Pod Progress State is between 3 and 12.