Commit graph

3066 commits

Author SHA1 Message Date
Milos Kozak c5cd0e38ab
Merge pull request #496 from jotomo/fix-prefs-npe
Fix prefs NPE
2017-11-13 07:32:23 +01:00
Johannes Mockenhaupt e0df4646f9
Remove dead code. 2017-11-13 01:12:23 +01:00
Johannes Mockenhaupt 5839ad6a93
Ctors Android-style. 2017-11-13 01:12:15 +01:00
Johannes Mockenhaupt 9a4acbe052
Fix NPE initialising MyPreferencesFragment. 2017-11-13 01:12:05 +01:00
Andrew Warrington 45a26da8b3 Inclusion of the new watch face "AAPSv2" which: 1) has larger text, 2) shows COB, 3) allows to choose between showing phone battery level (AAPS) or rig battery level (OpenAPS) via watch Settings menu.
Most changes are either minor or are completely new files. The largest changes were to the WatchUpdaterService.java, which required several new blocks of code in order to expose COB, IOB, and current temp basal independently of the main status string.
2017-11-12 21:46:32 +01:00
Johannes Mockenhaupt f2bfc73b88
toString, equals. 2017-11-12 17:08:18 +01:00
Johannes Mockenhaupt 7b7bc6efb6
RuffyScripter: increase overall command timeout to 4m. 2017-11-12 17:07:59 +01:00
Johannes Mockenhaupt 1da8f2080f
Add document describes tests to perform. 2017-11-12 15:59:22 +01:00
Johannes Mockenhaupt ab8d3051b3
Untested: don't false trigger dynamic timeout in RS.runCommand. 2017-11-12 12:37:16 +01:00
Johannes Mockenhaupt 9606df13b7
Fix false error popup when cancelling bolus after confirmation on the pump, during the wait before delivery starts. 2017-11-12 02:06:32 +01:00
Johannes Mockenhaupt 11777f8b7f
Cleanups. 2017-11-12 00:58:16 +01:00
Johannes Mockenhaupt 02af439dd7
Minor tweaks. 2017-11-12 00:37:03 +01:00
Milos Kozak 7374545046 refactor all deliverTreatment 2017-11-12 00:08:25 +01:00
Johannes Mockenhaupt c11086d9ea
Stuff:
* Read all history
* Simple viewer for TDDs, errors
* Clean up cancelling TBR (incomplete)
* Initializing pump robustness
2017-11-12 00:01:01 +01:00
Milos Kozak 620a54a31b bolus from wizard to queue 2017-11-11 23:44:30 +01:00
Milos Kozak c7faf2a5e7 bolus progress dialog during connection 2017-11-11 23:03:31 +01:00
Milos Kozak 25aa5094a4 alarm for failed bolus 2017-11-11 22:32:00 +01:00
Johannes Mockenhaupt 3072a42cd7
Initial dialog to display pump alerts. 2017-11-11 21:44:00 +01:00
Johannes Mockenhaupt a1b0240088
Finish ReadHistoryCommand for TBR, TDD. 2017-11-11 21:40:50 +01:00
Johannes Mockenhaupt 89d5593a52
Notes 2017-11-11 17:29:44 +01:00
Johannes Mockenhaupt 9804f004f5
Remove unreachable code. 2017-11-11 17:29:39 +01:00
Johannes Mockenhaupt a9970a9efe
Cleanups 2017-11-11 16:52:07 +01:00
Johannes Mockenhaupt ee6f29dd75
Revert more local alerts 2017-11-11 16:29:46 +01:00
Milos Kozak a5227fc773 add bolus sound 2017-11-11 16:20:34 +01:00
Johannes Mockenhaupt a7e2224d2e
Typo. 2017-11-11 16:19:41 +01:00
Johannes Mockenhaupt 75afa4e0a1
Remove basal rate profile number, only using one. 2017-11-11 16:19:34 +01:00
Johannes Mockenhaupt d7e5a88757
Fake setting date/time and reading profile. 2017-11-11 16:19:17 +01:00
Johannes Mockenhaupt 97a5b5c411
Add TODO-Combo.md. 2017-11-11 16:16:54 +01:00
Johannes Mockenhaupt 2f8febabb8
Remove debris of localalerts to make upstream re-integration only a minor PITA, maybe. 2017-11-11 16:15:03 +01:00
Johannes Mockenhaupt fb65aca081
ComboFragment: hack to make battery display look pretty before init. 2017-11-11 16:13:06 +01:00
Johannes Mockenhaupt 355a973727
Empty activity instead of 'Idle' in combo tab. 2017-11-11 16:12:19 +01:00
Johannes Mockenhaupt 5e6b014ef4
Decrease connecting timeout. 2017-11-11 16:04:45 +01:00
Johannes Mockenhaupt 0a1b8f5b14
Better dection of a command hanging. 2017-11-11 16:04:33 +01:00
Milos Kozak 86b11edd58 RS connection and status reading 2017-11-11 14:05:29 +01:00
Johannes Mockenhaupt e6a29e5214
Reorder items in fragments. 2017-11-10 02:23:21 +01:00
Johannes Mockenhaupt 7163fbae54
ConfigBuilder.applyAPSRequest: set new TBR if current TBR expires before next loop iteration. 2017-11-10 01:26:17 +01:00
Johannes Mockenhaupt 5d077c329a
fix the fix with the fix from the fix that fixes the fix. 2017-11-10 01:16:01 +01:00
Johannes Mockenhaupt bfc6f0b618
another fi 2017-11-10 00:59:40 +01:00
Johannes Mockenhaupt 5ce956b5fc
quick fix for cancelling tbr to fake neutral temp. 2017-11-10 00:57:40 +01:00
Johannes Mockenhaupt 8983143bff
Cleanup. 2017-11-10 00:57:40 +01:00
Milos Kozak a186ce6468 more command queue code 2017-11-10 00:27:18 +01:00
AdrianLxM d0806802eb compile fixes 2017-11-10 00:19:13 +01:00
Johannes Mockenhaupt a17cff7adf
Some work around refreshing pump data. 2017-11-08 23:41:53 +01:00
Milos Kozak d40e0c97c4 simplify active pump access where possible 2017-11-08 23:40:54 +01:00
Johannes Mockenhaupt e9d3e90758
Some templating around setting time/date. 2017-11-08 23:33:41 +01:00
Johannes Mockenhaupt cc6db3a059
Some ComboFragment cleanups. 2017-11-08 23:31:40 +01:00
Milos Kozak 8bae1a18e4 CommandQueue 2017-11-08 22:22:51 +01:00
Milos Kozak 3a773feeeb RS fix last bolus time 2017-11-08 19:23:48 +01:00
Milos Kozak 676dfcc5d1 RS remove duplicated message 2017-11-08 19:18:17 +01:00
Milos Kozak 30f16c7d3e RS fix extended bolus result 2017-11-08 19:13:44 +01:00