Commit graph

193 commits

Author SHA1 Message Date
jbr7rr
ed5dd463ed Medtrum: Fix waiting too long for small bolus status 2023-10-10 14:40:37 +02:00
jbr7rr
100be23cf4 Medtrum: Improve failure modes;
- ReadDataPacket: Add crc check
- BLEComm: Differentiate between retryable and non-retryable error
- setBolus: Use readStatus to wait for bolus if any
2023-10-10 12:36:12 +02:00
jbr7rr
41afd7cb42 Medtrum: Force enable pump unreachable alarm 2023-10-09 20:08:00 +02:00
jbr7rr
aa4e75c264 Medtrum: Refactor Notification packet;
Reduce cognitive complexity
    add check for size of maskedMessage
2023-10-09 19:09:30 +02:00
Milos Kozak
68d227239b
Merge pull request #2885 from jbr7rr/medtrum-fixes
Medtrum: Defaults and notification on warning
2023-10-09 16:24:01 +02:00
Ryan Haining
270d6fbdd2 Rewrites SynchronizePacketTest with matchers
Issue #2745
2023-10-08 18:26:14 -07:00
Ryan Haining
b65512440c Rewrites SubscribePacketTest with matchers
Issue #2745
2023-10-08 18:23:16 -07:00
Ryan Haining
d24d97cc4b Rewrites StopPatchPacketTest with matchers
Issue #2745
2023-10-08 18:22:05 -07:00
Ryan Haining
d75bf0e611 Rewrites SetTimeZonePacketTest with matchers
Issue #2745
2023-10-08 18:20:33 -07:00
Ryan Haining
58dd9692de Rewrites SetTimePacketTest with matchers
Issue #2745
2023-10-08 18:17:44 -07:00
Ryan Haining
b560313e75 Rewrites SetTempBasalPacketTest with matchers
Issue #2745
2023-10-08 18:16:12 -07:00
Ryan Haining
5bfedf055c Rewrites SetPatchPacketTest with matchers
Issue #2745
2023-10-08 18:13:21 -07:00
Ryan Haining
8f34ca5d89 Rewrites SetBolusPacketTest with matchers
Issue #2745
2023-10-08 18:12:06 -07:00
Ryan Haining
efcc9baa66 Rewrites SetBolusMotorPacketTest with matchers
Issue #2745
2023-10-08 18:07:12 -07:00
Ryan Haining
a87ba8b708 Rewrites SetBasalProfilePacketTest with matchers
Issue #2745
2023-10-08 18:05:06 -07:00
Ryan Haining
7ebe8e1698 Rewrites ResumePumpPacket with matchers
Issue #2745
2023-10-08 17:58:09 -07:00
Ryan Haining
59d81e47de Rewrites ReadBolusStatePacketTest with matchers
Issue #2745
2023-10-08 17:58:09 -07:00
Ryan Haining
7055ced8db Rewrites PrimePacketTest with matchers
Issue #2745
2023-10-08 17:58:09 -07:00
Ryan Haining
eeb3a84b9c Rewrites PollPatchPacketTest with matchers
Issue #2745
2023-10-08 17:58:09 -07:00
Ryan Haining
8b85e00953 Rewrites NotificationPacketTest with matchers
Issue #2745
2023-10-08 17:58:09 -07:00
Ryan Haining
ed726a1d29 Rewrites MedtrumPacketTest with matchers
Issue #2745
2023-10-08 17:58:09 -07:00
Ryan Haining
764ae29e56 Rewrites GetTimePacketTest with matchers
Issue #2745
2023-10-08 17:58:09 -07:00
Ryan Haining
568b6cbcc5 Rewrites GetRecordPacketTest with matchers
Issue #2745
2023-10-08 17:58:09 -07:00
Ryan Haining
3e8455ad2e Rewrites GetDeviceTypePacketTest with matchers
Issue #2745
2023-10-08 17:58:09 -07:00
Ryan Haining
d39a23977d Rewrites CancelTempBasalPacketTest with matchers
Issue #2745
2023-10-08 17:58:09 -07:00
Ryan Haining
9cb7bed31a Rewrites ClearPumpAlarmPacketTest with matchers
Issue #2745
2023-10-08 17:58:09 -07:00
Ryan Haining
b1a2d20646 Rewrites CancelBolusPacketTest with matchers
Issue #2745
2023-10-08 17:58:01 -07:00
Ryan Haining
c95654c0ac Rewrites AuthorizePacketTest with matchers
Issue #2745
2023-10-08 17:53:29 -07:00
Ryan Haining
b83e19ea6a Rewrites ActivatePacketTest with matchers
Issue #2745
2023-10-08 16:44:57 -07:00
Ryan Haining
82731361c6 Rewrites WriteCommandPacketsTest with matchers
Issue #2745
2023-10-08 16:42:05 -07:00
Ryan Haining
4653541a7b Rewrites CryptTest with matchers
Also renames "expect" to "expected" since "expect" is a newer kotlin keyword.

Issue #2745
2023-10-08 16:39:34 -07:00
Ryan Haining
4d7897dace Rewrites MedtrumPumpTest with matchers
Issue #2745
2023-10-08 16:37:51 -07:00
jbr7rr
30db06af65 Medtrum: Do not clearAlarms on going to ACTIVE 2023-10-08 19:49:40 +02:00
jbr7rr
ccb7961e50 Medtrum: Option to show notification on non critical pump alerts 2023-10-08 12:16:09 +02:00
jbr7rr
5945aa40ab Medtrum: Do not spam event bus on bolus progress 2023-10-08 11:48:33 +02:00
jbr7rr
bface2a24d Medtrum: Patch expiration default to true 2023-10-08 08:41:38 +02:00
Milos Kozak
aaaa8b055b
New Crowdin updates (#2877)
* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations exam.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Slovak)

* New translations exam.xml (Slovak)

* New translations strings.xml (Slovak)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations exam.xml (Lithuanian)

* New translations strings.xml (Lithuanian)
2023-10-06 22:23:20 +02:00
Milos Kozak
fdc9ac1bf6 Remove no-rNO lang resources 2023-10-04 22:11:53 +02:00
Milos Kozak
9a58705e8d
New Crowdin updates (#2859)
* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations alert_codes.xml (Norwegian Bokmal)

* New translations alert_descriptions.xml (Norwegian Bokmal)

* New translations alert_titles.xml (Norwegian Bokmal)

* New translations exceptions.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations protection.xml (Norwegian Bokmal)

* New translations validator.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations exam.xml (Norwegian Bokmal)

* New translations objectives.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations oh_strings.xml (Norwegian Bokmal)

* New translations strings_alarm.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations arrays.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Norwegian Bokmal)
2023-10-04 22:06:15 +02:00
Milos Kozak
1504cfffef
New Crowdin updates (#2851)
* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations exam.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Dutch)

* New translations exam.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations exam.xml (Norwegian)
2023-10-03 08:33:57 +02:00
Milos Kozak
9d96219c67
New Crowdin updates (#2833)
* New translations strings.xml (Dutch)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* Update source file exam.xml

* New translations exam.xml (Czech)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations exam.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations exam.xml (Romanian)

* New translations objectives.xml (Romanian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Romanian)

* New translations strings.xml (Turkish)

* New translations exam.xml (Turkish)

* New translations objectives.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations oh_strings.xml (Romanian)

* New translations strings_alarm.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Turkish)

* New translations arrays.xml (Romanian)

* New translations strings.xml (Romanian)
2023-09-27 11:56:19 +02:00
Milos Kozak
38d3c0cc31 remove dependency 2023-09-26 21:51:59 +02:00
Milos Kozak
b982afbb49 :core:validators cleanup 2023-09-25 13:28:15 +02:00
Milos Kozak
ea9132bbe3 :core:utils cleanup 2023-09-25 12:34:13 +02:00
Milos Kozak
d7d01a0b3e :core:ui cleanup 2023-09-25 11:58:24 +02:00
Milos Kozak
e5f3545cd3 :core:interfaces unify package 2023-09-24 22:55:31 +02:00
Milos Kozak
2c5e2e3951 :core:main cleanup 2023-09-24 22:05:21 +02:00
Milos Kozak
31926f8835 :core:interfaces cleanup 2023-09-24 14:55:26 +02:00
Milos Kozak
bdfa4a98fc
New Crowdin updates (#2823)
* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Czech)
2023-09-24 12:22:26 +02:00
jbr7rr
dc71478b69 Medtrum: Fix setting timezone GMT + 13 and larger 2023-09-24 10:32:31 +02:00