Commit graph

166 commits

Author SHA1 Message Date
Andy Rozman 4917292806 Merge branch 'dev' into double_bolus_debug 2019-10-25 11:27:04 +01:00
Milos Kozak 68b0b25548
Merge pull request #2134 from andyrozman/bug_2080_rewind_via_pump
Bug 2080 rewind via pump
2019-10-24 23:14:58 +02:00
Milos Kozak c867ae1104 VirtualPumpFragment -> kotlin 2019-10-23 22:55:49 +02:00
Andy Rozman c1fe9e0954 Merge branch 'dev' into bug_2080_rewind_via_pump 2019-10-23 11:15:38 +01:00
Andy Rozman 66e7d0d29a - Added a lot of logging for Double Bolus problem...
- Found one small problem when calling update treatment (if called from NS)...
2019-10-23 11:14:04 +01:00
Milos Kozak d2a4aea9e2 remove MainApp::getSpecificPlugin 2019-10-18 13:12:45 +02:00
Andy Rozman 0fcad5646e Added processing of Prime records from Pump
- it only processes if record is less than 30 minutes old and if it was not processed already (we store last PrimeRecord)
2019-10-17 13:23:29 +01:00
Milos Kozak 6f03743ebc fix recreating tabs 2019-10-15 20:44:03 +02:00
Milos Kozak bc12e05b77
Merge pull request #2116 from MilosKozak/rxbus
RxBus
2019-10-15 17:12:04 +02:00
Milos Kozak 0d70102cab Fix Insight 0.02U/h bug 2019-10-15 16:37:45 +02:00
Milos Kozak c42ef8e5ff Events to RxBus 2019-10-15 13:31:55 +02:00
Milos Kozak 6044335b1d Events to RxBus 2019-10-15 09:52:48 +02:00
Milos Kozak 06f8af82d8 Events to RxBus 2019-10-15 00:54:30 +02:00
Milos Kozak 837cb0d4a2 Events to RxBus 2019-10-15 00:23:56 +02:00
Milos Kozak 30cf4f77da Events to RxBus 2019-10-14 23:16:51 +02:00
Milos Kozak 64f16c5a7b Events to RxBus 2019-10-14 19:50:22 +02:00
Milos Kozak ada6e38f5f Events to RxBus 2019-10-14 17:23:31 +02:00
Milos Kozak 98f874d1fe use bolus size is DetailedBolusInfo search 2019-10-03 21:21:12 +02:00
Milos Kozak 4642f0ab5b EventNewNotification, EventDismissNotification -> RxBus 2019-10-01 00:00:22 +02:00
Milos Kozak a8f68e1182
Merge pull request #2061 from andyrozman/bug_1969_error_decoding_basal_profile
Bug 1969 error decoding basal profile
2019-09-20 08:01:03 +02:00
Milos Kozak de5a41b196 remove pump.iob for pump status 2019-09-15 10:17:38 +02:00
Andy Rozman bdf65ab077 - fix for getting basal profile (getRawContentOfFrame needed to be rewritten to cut 1 character and then create fixed length of frame at 64 bytes (it seems that in some cases frame can contain crc at end) 2019-09-12 12:36:13 +01:00
Milos Kozak a3bc942cd7 R: handle not received time, refactor to kotlin, unify SerialIOThread 2019-09-08 14:17:41 +02:00
Milos Kozak 118b4bc0d1 RS: handle not received time 2019-09-08 10:39:32 +02:00
Andy Rozman d50d6087ea - changed PumpMessage to be get correct frame from 523 and 554 2019-08-31 17:32:09 +01:00
Andy Rozman b48fec4624 - changed bolus step to 0.05 for 523 and 554 2019-08-28 19:29:18 +01:00
Andy Rozman e1b24eb900 Merge branch 'dev' into bug_1954_mdt_wrong_min_bolus_for_554 2019-08-28 19:24:19 +01:00
Andy Rozman f0ccf57e69 - fixing reading profile 2019-08-28 14:10:28 +01:00
Milos Kozak 6f9aec95e5 fix NPE 2019-08-28 13:55:51 +02:00
Milos Kozak 46968aa597 fix NPE 2019-08-27 09:47:18 +02:00
Milos Kozak 1eff4697fa Fragments cleanup & Synchonized updateGui 2019-08-26 16:15:16 +02:00
Andy Rozman 2569e66bce - minor change. New absoluteValue is now put through pumpType.determineCorreectBasalValue method, so that we get correct value 2019-08-25 19:25:36 +01:00
Andy Rozman d4d1110d68 - added fake method TBR Percent. If pecent is 0, it calls absolute methods with 0, if not, it calculates value, writes log and then starts absolute method 2019-08-25 14:48:00 +01:00
Milos Kozak a6ea69bad0 Cleanup 2019-08-24 10:56:36 +02:00
Andy Rozman 7946e3ad73 - changed bolus configuration for 523 and 554 2019-08-20 09:00:34 +01:00
Andy Rozman b1486c5ed6 - fixing the problem with minimal bolus that can be used for Medtronic Pumps. 2019-08-18 09:16:16 +01:00
Milos Kozak bfedc3d9d7 MedtronicFragment synchronized 2019-08-15 17:11:07 +02:00
Milos Kozak b5bc80bc52 Merge branch 'pull/1956' into dev 2019-08-15 14:40:19 +02:00
Milos Kozak 56d6a04e2b MDT prefs translatable=false 2019-08-14 17:49:01 +02:00
Milos Kozak 156ff4ec93 Remove HandlerThread from MedtronicHistoryActivity 2019-08-13 08:20:20 +02:00
Milos Kozak d8795f4d80 Remove Sync button from DanaRHistoryActivity 2019-08-13 08:16:46 +02:00
Andy Rozman a1bbf29230 - added check before bolus is attempted, if we have enough in reservoir (from local info, we don't query the pump,
while this might not always be 100% correct, it is updated every hour (if under 50 U and every 4h if over
50U and every 15 minutes if under 20U, so it should be accurate, information is not accurate only if you cancel bolus midway...
2019-08-12 17:20:38 +01:00
Milos Kozak dd8229ef7d MedtronicHistoryActivity extends NoSplashActivity 2019-08-08 20:59:05 +02:00
Milos Kozak 2b3dc396fe EventMedtronicDeviceStatusChange fix 2019-08-08 18:48:16 +02:00
Milos Kozak 6802c0ea85 fix activities 2019-08-08 18:39:56 +02:00
Milos Kozak b653b5096d remove butterknife from gradle 2019-08-07 23:05:05 +02:00
Milos Kozak 829aa98097 MedtronicFragment -> kotlin 2019-08-07 23:00:02 +02:00
Milos Kozak 20859e9662 fix Fragment Rx lifecycle 2019-08-07 19:44:40 +02:00
Milos Kozak 858759873a MedtronicFragment remove static variables 2019-08-07 18:45:33 +02:00
Milos Kozak 607d7c4b24 Merge remote-tracking branch 'origin/dev' into loopkotlin 2019-08-07 16:23:03 +02:00