Commit graph

30 commits

Author SHA1 Message Date
Johannes Mockenhaupt e9d3e90758
Some templating around setting time/date. 2017-11-08 23:33:41 +01:00
Johannes Mockenhaupt dd98d9f7ae
wip 2017-11-08 10:43:11 +01:00
Johannes Mockenhaupt be5f7e68a7
unsafe usage checks update. 2017-11-06 23:15:16 +01:00
Johannes Mockenhaupt 7c44761f25
WIP 2017-11-04 17:42:47 +01:00
Johannes Mockenhaupt 49885afb39
Refresh entire pump state when long-pressing Combo tab's refresh button. 2017-11-03 14:23:47 +01:00
Johannes Mockenhaupt fe3385cce8
Add Javadoc to RuffyCommands. 2017-11-01 23:54:18 +01:00
Johannes Mockenhaupt 4da160a951
Disable closed loop under unsafe conditions. 2017-11-01 10:55:09 +01:00
Johannes Mockenhaupt 8d3947dc7f
Initial bolus syncing. 2017-10-31 19:30:25 +01:00
Johannes Mockenhaupt 74bbab9cf1
More bolus work. 2017-10-31 14:46:46 +01:00
Johannes Mockenhaupt 9544b49a37
Small cleanups. 2017-10-31 11:10:49 +01:00
Johannes Mockenhaupt 4ffdae4a8c
RuffyScripter.readPumpStateInternal: read time. 2017-10-31 11:06:00 +01:00
Johannes Mockenhaupt 9121aa5217
Bolus cancellation for all stages. 2017-10-31 11:01:58 +01:00
Johannes Mockenhaupt a2460180f9
Remove unclear error message field from CommandResult, use codes from pump warnings/errors. 2017-10-29 21:19:03 +01:00
Johannes Mockenhaupt 6b6d252173
Day 1
* Some UI rework
* Start removing (retry) logic from ruffyscripter to ComboPlugin
* Cleanups all over
* Remove TDD stuff, this can be done independently of a pump
* New SPI/API methods confirmAlert, readReservoirLevelAndLastBolus
* Add warning and error codes from Combo manual
* Rework commands to just execute an action (verification will be in
  ComboPlugin eventually, together with retry logic)
* Rework commands to update state in field as command progresses
  rather than returnin/throwing.
* Initial version reading bolus and error history (no DB sync yet).
2017-10-29 11:36:35 +01:00
Johannes Mockenhaupt 394a42837a
Set source/target version to 1.8 for Java 8 features with Studio 3.0.
See https://developer.android.com/studio/write/java8-support.html
for what is supported with our currently used SDK 23 target.
2017-10-28 13:43:25 +02:00
Johannes Mockenhaupt 255e9d0dff
Move initialized flag to ComoPump class. 2017-10-28 13:12:55 +02:00
Johannes Mockenhaupt 4befa38d46
Close bolus progress dialog better in case of error. 2017-10-28 11:46:54 +02:00
Johannes Mockenhaupt eed3773b49
Combo i18n. 2017-10-27 17:19:10 +02:00
Johannes Mockenhaupt b47559647f
wip 2017-10-27 00:03:01 +02:00
Johannes Mockenhaupt 2d8b3a7cb8
wip 2017-10-22 10:40:24 +02:00
Johannes Mockenhaupt fc60edc15a
wip 2017-10-21 17:44:16 +02:00
Johannes Mockenhaupt 6ec1011bd7
ruffy: add empty battery symbol and parsing. 2017-10-21 11:22:40 +02:00
Johannes Mockenhaupt 87c1c4b112
More sync prototyping. 2017-10-20 18:51:15 +02:00
Johannes Mockenhaupt 491caadd71
Check for active alerts on the pump, confirm and re-raise in AAPS. 2017-10-20 15:23:16 +02:00
Johannes Mockenhaupt c29b4d13a3
Support pump suspend status (and misc other ...). 2017-10-19 21:31:10 +02:00
Johannes Mockenhaupt eb87dfb3f1
WIP scripter: reading history 2017-10-19 01:12:46 +02:00
Johannes Mockenhaupt dca219d900
Fix initializing ruffy service, read reservoir level on init. 2017-10-18 20:53:44 +02:00
Johannes Mockenhaupt 31a1811323
Add pairing methods. 2017-10-18 19:26:10 +02:00
Johannes Mockenhaupt ab4f46471b
Add RuffyCommands.readPumpState, cleanup, fix. 2017-10-18 18:29:29 +02:00
Johannes Mockenhaupt e4901f292f
Extract modules ruffy-spi, ruffyscripter. 2017-10-18 14:00:47 +02:00