Commit graph

395 commits

Author SHA1 Message Date
Bart Sopers 93e7eb518f Use insulinNotDelivered field from StatusResponse to determine units delivered after cancelled bolus or pod fault 2020-01-22 21:14:41 +01:00
Bart Sopers 00eb07914f Add test for safety of future fix for reporting correct insulin delivered amount after cancel bolus 2020-01-20 20:43:40 +01:00
Andy Rozman d58075a93c - fixed problem parsing Bolus
- reworked storing of Profile, instead of Profile we use Profile.ProfileValue[]
2020-01-02 23:22:57 +01:00
Andy Rozman 5230a2dda0 - moved PumpHistoryEntryGroup to commons package
- added ProfileUtil with method to show basal profile so that we can display it
- changed PodHistoryActivity to display values (for Bolus, TBR and SetProfile)
2020-01-01 18:45:15 +01:00
Bart Sopers a79a1c1108 Rename PodInfo*HighFlashLogDump to PodInfo*PulseLog and don't show spaces in hex string when showing the response of these commands (as per suggested by @itsmojo) 2019-12-28 21:56:10 -05:00
Bart Sopers 1e003ad188 Fix PodSessionStateTest 2019-12-24 11:48:09 -05:00
Bart Sopers 91f6539328 Accept ACK responses for ConfigurePodCommand 2019-12-23 17:40:10 +01:00
Bart Sopers 78d789db4e Add time and time change tests for PodSessionState 2019-12-21 00:55:32 +01:00
Bart Sopers 0bcdf30a7e Improve basal schedule validation and add profile to basal schedule mapping tests 2019-12-20 23:07:38 +01:00
Bart Sopers 80c1feb1d2 Call podStateChangedHandler when setting fault event, rename FaultEventCode to FaultEventType 2019-12-15 23:42:46 +01:00
Bart Sopers 680a3922b8 Fix bug in alert configurations 2019-12-08 17:24:31 +01:00
Bart Sopers 52e0b0cf82 - Show active alerts
- Set low reservoir alert in pod
- Add some tests
2019-12-08 15:31:07 +01:00
Bart Sopers 4ce5600434 Fix compilation error in testcase 2019-12-01 02:27:49 +01:00
Bart Sopers b808bc3228 Merge branch 'dev' into omnipod_eros 2019-12-01 02:21:49 +01:00
Milos Kozak 6969dc4873
Merge pull request #2222 from MilosKozak/2186
New SMS commands
2019-11-25 22:40:00 +01:00
Milos Kozak c33e3994b6 some cleanup and kotlin conversion 2019-11-25 18:07:16 +01:00
fabriziocasellato f26e683dbe Removed + control for Phone Numbers, Added Tests for TT, Added TARGET STOP/CANCEL command 2019-11-22 15:58:03 +01:00
Milos Kozak 16038caed8
Merge branch 'sms' into 2186 2019-11-22 14:30:19 +01:00
fabriziocasellato ebc89e7526 New tests for SMS commands: TARGET MEAL/HYPO/ACTIVITY and SMS STOP/DISABLE 2019-11-22 12:31:59 +01:00
Milos Kozak 820b704bfe fix test 2019-11-22 11:40:51 +01:00
Milos Kozak 17ea3843ae SMS HELP command 2019-11-22 11:19:09 +01:00
Milos Kozak e9aa4835ed SBS CARBS command 2019-11-22 10:40:48 +01:00
Milos Kozak a62750c3a3 SmsCommunicatorFragment -> kt 2019-11-22 00:33:13 +01:00
Milos Kozak d227013496 SmsCommunicatorPlugin -> kt 2019-11-22 00:12:46 +01:00
Milos Kozak 9aa77122ba Use on Rx for NetworkChange 2019-11-21 00:07:50 +01:00
fabriziocasellato 1f4f3fb687 Added the new MEAL feature to tests 2019-11-20 16:44:33 +01:00
Milos Kozak c6bbc0fe8b
Merge pull request #2198 from jotomo/log-unhandled-exceptions-again
Log unhandled exceptions again
2019-11-14 22:40:15 +01:00
Johannes Mockenhaupt 94f10a44a5
Rethrow unhandled exceptions in tests as runtime exception. 2019-11-14 18:04:36 +01:00
Johannes Mockenhaupt b9d600edf4
Log unhandled exceptions as errors. 2019-11-14 17:50:32 +01:00
Milos Kozak 232555b407
Merge pull request #2195 from boc-the-git/rounding-changes
Rounding: Use BigDemical for more accurate comparison
2019-11-14 11:07:14 +01:00
Johannes Mockenhaupt cce3a77a37
Log unhandled exception rather than printing to stdout. 2019-11-12 13:41:36 +01:00
boc-the-git b682432ca0 Change roundTo method to use BigDecimal rather than Double for more accurate comparison. Update tests to introduce more scenarios where without the code change, they'd fail. 2019-11-12 15:39:42 +11:00
Andy Rozman ef50bc5365 Merge branch 'dev' into omnipod_eros_bart 2019-11-09 16:17:43 +00:00
AdrianLxM 3c4b16378b Merge branch 'master' into dev and update version 2019-11-01 00:22:06 +01:00
AdrianLxM d2b059fd6b
Update Tests for new versioning 2019-10-31 08:20:00 +01:00
Milos Kozak 0da6377687 SignatureVerifierPluginTest 2019-10-28 13:45:42 +01:00
Andy Rozman 6bdc01dded - commented out invalid "test" 2019-10-25 11:25:55 +01:00
Andy Rozman 9f8df64f45 Merge branch 'dev' into bug_2111_pump_stopped_when_not 2019-10-24 10:39:35 +01:00
Milos Kozak b5a1543b92 Merge branch 'dev' into signature 2019-10-22 15:24:44 +02:00
Milos Kozak ecbfd294a8 send hash to firebase 2019-10-22 15:24:37 +02:00
Milos Kozak d2a4aea9e2 remove MainApp::getSpecificPlugin 2019-10-18 13:12:45 +02:00
Andy Rozman 902422ddf0 Added BatteryChange event, as verification that pump is running. 2019-10-17 22:37:12 +01:00
Milos Kozak c42ef8e5ff Events to RxBus 2019-10-15 13:31:55 +02:00
Milos Kozak 64f16c5a7b Events to RxBus 2019-10-14 19:50:22 +02:00
Roumen Georgiev a81f607122 fix test 2019-10-07 11:09:34 +03:00
Roumen Georgiev 3f1f199690 renamed to TriggerPumpLastConnection 2019-10-07 10:45:26 +03:00
Milos Kozak b108f1fa78
Merge branch 'dev' into triggerPumpDisconnected 2019-10-04 19:34:54 +02:00
Roumen Georgiev c8443f1095 TriggerPumpDisconnected: Initial work 2019-10-04 15:16:57 +03:00
Roumen Georgiev e12217ae69 Copy&paste from ActionNotification 2019-10-04 10:55:33 +03:00
Milos Kozak 98f874d1fe use bolus size is DetailedBolusInfo search 2019-10-03 21:21:12 +02:00