Commit graph

5808 commits

Author SHA1 Message Date
Johannes Mockenhaupt 7996acceb7
RuffyScripter.isConnected: one millisecond is a long time.
(cherry picked from commit 796b9a0)
2017-12-17 18:50:56 +01:00
Johannes Mockenhaupt 3ac63a980c
Clean up Testing-Combo.md a bit. 2017-12-17 16:56:52 +01:00
AdrianLxM 00f13d0479 refactor cancelAlarm back to KeepAliveReceiver 2017-12-17 15:46:43 +01:00
AdrianLxM 9bd0a1f144 push next alert on read status 2017-12-17 15:46:33 +01:00
Johannes Mockenhaupt e0d77b9b0c
Don't bother setting a fake TBR if we waited for a TBR to run out.
(cherry picked from commit 3a5ecea)
2017-12-17 15:39:38 +01:00
Johannes Mockenhaupt 34f3428d99
ComboPlugin.setTempBasal: clean up, fix potential bug.
(cherry picked from commit 41c45a1)
2017-12-17 15:39:38 +01:00
Johannes Mockenhaupt 5f4a90d068
Explicit disconnect during recovery.
BT connection might still be there, but no menu updates coming in.
Thus, explicitely close the connection before attempting to
reconnect.
2017-12-17 15:39:38 +01:00
Johannes Mockenhaupt a85da1d9ec
README updates. 2017-12-17 15:38:33 +01:00
Johannes Mockenhaupt 4e526bba96
Merge pull request #23 from jotomo/alarmfix
Alarmfix
2017-12-17 15:34:59 +01:00
Andrew Warrington a0983a99b9 Merge remote-tracking branch 'origin/dev' into watchfaces 2017-12-17 11:52:34 +01:00
AdrianLxM ca9b68da0d refactor cancelAlarm back to KeepAliveReceiver 2017-12-17 01:40:27 +01:00
AdrianLxM 14810a142d push next alert on read status 2017-12-17 01:37:27 +01:00
Johannes Mockenhaupt da652c2e99
README-Combo.med: Add 'known issues' section. 2017-12-16 14:05:01 +01:00
Johannes Mockenhaupt fd71ab6b68
Update fake reservoir numbers to trigger default NS warnings.
(cherry picked from commit 6e5f9fc)
2017-12-16 12:09:44 +01:00
Johannes Mockenhaupt 92d0630c55
Fix partial bolus displayed in error popup. 2017-12-15 23:05:09 +01:00
Johannes Mockenhaupt 7e7b11ba14
Bolusing: make cancellation during 'confirmation wait window' robust. 2017-12-15 22:38:28 +01:00
Johannes Mockenhaupt b9f12aeddb
Fix formatting. 2017-12-15 21:53:33 +01:00
Johannes Mockenhaupt 1b5b06d349
BolusCommand: log steps. 2017-12-15 21:52:51 +01:00
Johannes Mockenhaupt a6a87d0790
Minor fixes and polish around bolus cancellation. 2017-12-15 10:41:07 +01:00
Johannes Mockenhaupt f0f34d03df
Merge pull request #20 from jotomo/recovery-fix
Make RuffyScripter.isConnected more robust, remove debug code.
2017-12-15 10:39:38 +01:00
Milos Kozak 8cb4921bab BG viewer 2017-12-15 01:03:31 +01:00
Milos Kozak a05c1f947e Merge branch 'nsoffline' into bgsource 2017-12-14 23:35:01 +01:00
Johannes Mockenhaupt cac38c2401
Make RuffyScripter.isConnected more robust, remove debug code. 2017-12-14 22:14:05 +01:00
Milos Kozak 5f60e7cf2b G5 upload to xdrip 2017-12-14 21:49:11 +01:00
AdrianLxM 9602bde6a1 fake Esel new file 2017-12-13 22:39:44 +01:00
AdrianLxM 0151dbd496 fake Esel 2017-12-13 22:14:47 +01:00
Johannes Mockenhaupt e7e7c2a18d
Merge pull request #18 from jotomo/bolus-delivery-failure-recovery
Bolus delivery failure recovery
2017-12-13 21:38:07 +01:00
Johannes Mockenhaupt b6bc957813
Minor tewaks and cleanups. 2017-12-13 21:37:44 +01:00
Johannes Mockenhaupt 618e00d71d
Update bolus progress dialog when recovery kicks in. 2017-12-13 21:22:13 +01:00
Johannes Mockenhaupt 97a9d65b52
Fix reading pump time. 2017-12-13 21:22:13 +01:00
Johannes Mockenhaupt 27922a045e
Log who requested the disconnect. 2017-12-13 20:42:43 +01:00
Johannes Mockenhaupt 67eb6b20ed
Handle errors when reading the history for verification fails. 2017-12-13 20:42:43 +01:00
Johannes Mockenhaupt 25f46fe601
Cleanup. 2017-12-13 20:42:43 +01:00
Johannes Mockenhaupt 7eb40653b2
The pump doesn't accept connections while a bolus delivery is in progress.
Remove the code which checked for a bolus delivery in progress
and waited.
2017-12-13 20:42:43 +01:00
Johannes Mockenhaupt 5654a8ee6e
Make RuffyScripter.readPumpStateInternal more robust. 2017-12-13 20:39:08 +01:00
Johannes Mockenhaupt a169245dc3
On bolusing failure, attempt verify by reading last bolus from history. 2017-12-13 20:39:08 +01:00
Milos Kozak fa4e80444d NSOffline remove from queue as well 2017-12-13 20:03:24 +01:00
Johannes Mockenhaupt 71355f0421
Typo that typo and other minor cleanups. 2017-12-13 16:29:53 +01:00
Johannes Mockenhaupt d0c494fb56
ReadHistoryCommand: minor cleanup. 2017-12-13 15:49:19 +01:00
Johannes Mockenhaupt 5072273599
Merge pull request #17 from jotomo/endings-and-new-beginnings
SetTbr: wait if an existing TBR is about to run out.
2017-12-13 15:45:49 +01:00
Johannes Mockenhaupt 03e75ab23f
Typos. 2017-12-13 15:44:07 +01:00
Johannes Mockenhaupt 5b31d39f28
Extract method checkAndWaitIfExistingTbrIsAboutToEnd. 2017-12-13 14:26:41 +01:00
Johannes Mockenhaupt 7ed64c5a7d
SetTbrCommand: verify current menu when checking running TBR. 2017-12-13 14:22:06 +01:00
Johannes Mockenhaupt 3156efaaf6
SetTbr: wait if an existing TBR is about to run out.
See code comment.
2017-12-13 13:17:04 +01:00
Johannes Mockenhaupt 536bd10e9b
Raise hard limit of max duration for zero-temp from 2h to 3h.
(cherry picked from commit 4bf6369)
2017-12-13 13:16:19 +01:00
Milos Kozak 2a284ce052
Merge pull request #532 from AdrianLxM/adrain156work01
remove wear-overview notifications as replaced by system notifications
2017-12-13 00:00:20 +01:00
Andrew Warrington 9e6f124097 Steampunk watchface (interim commit) 2017-12-12 23:17:25 +01:00
Johannes Mockenhaupt f6721f628c
Apply bolus constraint before applying. 2017-12-12 22:30:42 +01:00
Milos Kozak e14272c083 Rv2,RS: always load last 45 min 2017-12-12 18:18:41 +01:00
Andrew Warrington ac37d691ee Steampunk watch face addition of mmol/L drawable 2017-12-12 06:15:47 +01:00