Commit graph

84 commits

Author SHA1 Message Date
jbr7rr
9c34e15076 Revert "Overview model: RequireActivity instead of fragment"
This reverts commit d93cc51819.
2023-08-08 18:16:25 +02:00
jbr7rr
8647db878c Fix bolusStop(), some refactoring 2023-08-08 16:16:27 +02:00
jbr7rr
30c1c16cd0 disconnect on force deactivation when pump in error state 2023-08-06 14:21:21 +02:00
jbr7rr
826b0f3d8c Use medtrum icon 2023-08-05 15:58:10 +02:00
jbr7rr
fe9be2bbfa Only do connectNewPump() on sn change, only allow sn change when no patch is activated 2023-08-04 10:47:52 +02:00
jbr7rr
c738b1001f Implement tdd capability 2023-08-03 20:02:13 +02:00
jbr7rr
75f225fba2 Show toast when profile is not set 2023-07-21 08:54:30 +02:00
jbr7rr
1d58d85a71 Make incoming packets more readable in logs 2023-07-21 08:39:58 +02:00
jbr7rr
c0f1fcda0f Loosen time diff allowance 2023-07-21 06:42:56 +02:00
jbr7rr
da1319e7bf Add settings protection for change patch 2023-07-18 08:03:25 +02:00
jbr7rr
850f72924b Fix data comes from another pump after activation 2023-07-17 20:34:27 +02:00
jbr7rr
6a6af81ef7 Insert Announcement on pump alarm 2023-07-17 19:10:09 +02:00
jbr7rr
966939a9de Fix unit test, cleanup 2023-07-16 11:59:36 +02:00
jbr7rr
c0819cda06 get correct serial number in password reset 2023-07-16 10:59:34 +02:00
jbr7rr
f66afc8c02 Confirmation dialog for activation/deactivation cancel 2023-07-13 09:35:40 +02:00
jbr7rr
d93cc51819 Overview model: RequireActivity instead of fragment 2023-07-13 08:30:28 +02:00
jbr7rr
f24c872415 Set expiry to 72 hours 2023-07-11 15:37:18 +02:00
jbr7rr
2d8288d8d9 Add disconnecting state to make sure we don't get commands during disconnect 2023-07-11 15:32:26 +02:00
jbr7rr
a7d7f373de Fix bolus not properly updating for short bolus 2023-07-11 14:54:40 +02:00
jbr7rr
dda7fa6086 Use correct message for patch start time and patch age 2023-07-10 19:58:34 +02:00
jbr7rr
fb62b0d90c Removed unused code 2023-07-10 19:09:14 +02:00
jbr7rr
b3a83a720d Only show reset alarms when it's needed 2023-07-09 16:47:23 +02:00
jbr7rr
592a45612c Fix calling syncStopTemporaryBasalWithPumpId() twice 2023-07-09 09:47:58 +02:00
jbr7rr
c941926a7e Workaround for 0 duration TBR end not syncing 2023-07-02 21:00:27 +02:00
jbr7rr
09aa78f1d1 Recovery option when patch activation process is interrupted 2023-07-01 20:46:29 +02:00
jbr7rr
af7e38a6db Buttons with Icons in overview 2023-07-01 17:35:43 +02:00
jbr7rr
f52726128a Minor fixes;
Allow set of fake TBR when 0 temp is already running,
Automatically force deactivation when patch is in error state
2023-07-01 12:28:01 +02:00
jbr7rr
93dee4eb3c Only update time when diff 2023-06-27 20:19:49 +02:00
jbr7rr
345ae0f9b2 Early return on setBolus failure 2023-06-27 13:27:21 +02:00
jbr7rr
94e6189ab3 Add sendMessage retry counter, cleanup old comments 2023-06-27 12:56:54 +02:00
jbr7rr
ef2cc13dd8 Fix unit tests, small improvements 2023-06-26 20:44:14 +02:00
jbr7rr
19b9ca1da4 Automatic timeZone and DST handling 2023-06-25 21:52:01 +02:00
jbr7rr
201fb5768a Cleanup 2023-06-25 12:29:49 +02:00
jbr7rr
ac8b5b4a05 Confirmation dialog before activation 2023-06-25 10:51:12 +02:00
jbr7rr
895cf54a17 Implemented proper activation and deactivation screens 2023-06-25 10:21:47 +02:00
jbr7rr
3ffb78a7e8 Fix ANR, optimize write delay 2023-06-23 11:42:45 +02:00
jbr7rr
e9964604a1 Sync bolus initially when bolus command is accepted by pump 2023-06-22 18:55:58 +02:00
jbr7rr
17aecd912a Remove SynchronizePacket from some operations to improve stability 2023-06-22 16:02:19 +02:00
jbr7rr
bc8876b6dd BLEComm: Synchronize read and writes better 2023-06-20 12:00:04 +02:00
jbr7rr
2302711cdf Additional Notifications, handling sync of percentage TBR 2023-06-20 09:30:41 +02:00
jbr7rr
057b2e386e Add alarm states, show active alarms in overview 2023-06-18 20:36:44 +02:00
jbr7rr
996ef8e5ef Implement getJSONStatus() and shortStatus() 2023-06-17 15:29:35 +02:00
jbr7rr
082b365520 Added more info to overview 2023-06-17 08:44:04 +02:00
jbr7rr
c0138ffad8 Add lastConnection and expiry to overview 2023-06-16 21:12:33 +02:00
jbr7rr
7b53630947 Add Clear alarms, new overview layout 2023-06-16 21:12:33 +02:00
jbr7rr
3a33f46e2f Fix wrong notifications, and error on load 2023-06-15 18:52:55 +02:00
jbr7rr
49de6a9c32 Add settings, and setting sync with pump 2023-06-13 21:42:05 +02:00
jbr7rr
419def7f6b Notifications and fake TBR on state changes 2023-06-13 13:35:08 +02:00
jbr7rr
8caeb4a3e0 add loadEvents(), small improvements 2023-06-11 13:37:59 +02:00
jbr7rr
e568ab399f Force always to go to prepare patch on activation 2023-06-10 08:10:07 +02:00