Commit graph

5171 commits

Author SHA1 Message Date
Geoffrey Hansen 02f85398d7 cleanup 2020-09-03 21:22:33 +02:00
Geoffrey Hansen ae980e12f4 oh foreground worker and some edgecases 2020-09-03 19:39:43 +02:00
Geoffrey Hansen 8a6a3d2283 OH uploader enqueue Treatments and don_t load historical values 2020-09-03 18:01:42 +02:00
Geoffrey Hansen 2c2e01dee6 Merge remote-tracking branch 'origin/openhumans_old_db' into HEAD 2020-09-02 15:32:11 +02:00
Milos Kozak d7817792ca show correct constraint in loop plugin 2020-08-26 18:12:03 +02:00
Milos Kozak f2d89ac428 lint recommendations 2020-08-24 21:54:53 +02:00
Bart Sopers 1f3e8a4102 Merge remote-tracking branch 'upstream/2.7.0-rc4' into omnipod_eros_dev 2020-08-21 15:34:47 +02:00
Milos Kozak e7627f4f6c try to fix IllegalStateException 2020-08-21 13:41:48 +02:00
Milos Kozak 8c987c8be9 Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev 2020-08-21 10:30:41 +02:00
Milos Kozak 7282f460fc better synchronize graph rendering 2020-08-21 10:29:23 +02:00
Bart Sopers c22119bb85 Store LastRun SMB data in their dedicated fields instead of overwriting TBR fields 2020-08-20 18:39:16 +02:00
Steffen Müthing 75cbc87b4a Move SingleClickButton to core
SingleClickButton is a utility used in a number of modules and such should be
in core. While the app seems to built with the button in app, this wrong
structure should be fixed.

As the button is a UI element, the patch also moves the class to the package
info.nightscout.androidaps.utils.ui.
2020-08-18 15:09:14 +02:00
Bart Sopers 2a55c6413c Remove redundant DeviceCommandExecutor interface 2020-08-17 00:07:56 +02:00
Bart Sopers b5c46e3bcf WIP on moving Omnipod to a separate module 2020-08-16 23:54:41 +02:00
bartsopers a30ca700f7
Merge pull request #137 from smuething/protect-pod-management
Add protection to Pod management activity
2020-08-16 21:10:14 +02:00
Bart Sopers 100f8fe235 Some Omnipod cleanup after merge 2020-08-16 17:05:32 +02:00
Bart Sopers 5d3426dc70 Replace custom functional interfaces with built in types 2020-08-16 13:56:39 +02:00
Bart Sopers 5bd873cd0e Remove unused Dash code 2020-08-16 13:22:31 +02:00
Bart Sopers a3cb8ff648 Merge remote-tracking branch 'upstream/dev' into omnipod_eros_dev_merge_from_upstream 2020-08-16 12:37:28 +02:00
Steffen Müthing 1bae8526d0 Add protection to Pod management activity
Pod management should be protected, as it lets you stop the current
Pod. The available activities semm preferences-like to me, so that's
the protection type that I used.
2020-08-15 22:09:29 +02:00
Bart Sopers f37a2452fb Small cleanup and added some TODOs 2020-08-15 19:01:48 +02:00
Bart Sopers 59ad718969 Remove SetupProgress enum in favor of PodProgressStatus, which comes directly from the Pod 2020-08-15 11:23:45 +02:00
Milos Kozak d7f9208acf fix LP reset button 2020-08-14 17:22:06 +02:00
Philoul 5c7d0a8516 Replace Default Dia by profile Dia in extendedBolus Iob calculation 2020-08-14 10:00:53 +02:00
Milos Kozak f546fdf837 ignore Can not perform this action after onSaveInstanceState 2020-08-13 13:55:39 +02:00
Bart Sopers c56bc5ae61 Temporary workaround for pod activation and deactivation wizard crashes on rotation 2020-08-13 12:22:36 +02:00
Bart Sopers 159c1f941d Ignore IllegalPacketTypeException in AssignAddressAction if packetType is ACK and we already successfully assigned the address before 2020-08-12 18:30:57 +02:00
Bart Sopers 07d520313f Set String instead of int value for pod LOT in RileyLinkStatusGeneralFragment 2020-08-11 22:46:02 +02:00
Bart Sopers b5d55adb2e Store PodProgressStatus in PodState 2020-08-11 21:17:37 +02:00
Bart Sopers 0584cbd6af Use PodStateManager as a source for displaying info in Omnipod tab (and some other small changes) 2020-08-11 21:00:03 +02:00
Milos Kozak b8327f6b3a fix ABS IOB calculation 2020-08-11 14:32:48 +02:00
Bart Sopers 1b2c91a6f9 Fix message sequence numbers when resyncing nonce 2020-08-11 13:10:53 +02:00
Bart Sopers 84ce2d1790 Set pump driver to busy and set state to suspended when Pod has a fault event 2020-08-11 13:10:00 +02:00
Bart Sopers 1ba9244ecd Don't duplicately log request message when exchanging OmnipodMessage 2020-08-11 10:16:06 +02:00
Bart Sopers 0ba26e8b2c Update last failed communication time when an exception is thrown in OmnipodCommunicationManager.transportMessages and add log response from the Pod when exchanging messages 2020-08-11 10:16:05 +02:00
Andy Rozman 5e20444bf4 Merge branch 'omnipod_eros_dev' of github.com:AAPS-Omnipod/AndroidAPS into omnipod_eros_dev 2020-08-10 23:07:14 +01:00
Bart Sopers a55be8d33f - Fix local alerts
- Remove duplicate RL error from Pod tab
2020-08-10 22:27:52 +02:00
Bart Sopers 906b8c2585 Remove argument checks for piVersion in internal pod state representation 2020-08-10 20:49:48 +02:00
Bart Sopers 341474295f - Allow resetting pairingParameters in PodStateManager if the setup state is ADDRESS_ASSIGNED
- Improve pod status screen
- Improve event dispatching in AapsPodStateManager (send less events)
- Add more FIXMEs and TODOs
2020-08-10 20:15:52 +02:00
Bart Sopers a0ca8cf9cc - Partial fix for display of RL status
- Fix IllegalStateException when AssignAddressAction is executed when an address has already been assigned
- Improve (not yet used) custom unreachable alert check
- Remove hasFixedUnreachableAlert from PumpType
- Remove omnipodPumpStatus.podAvailable in favor of PodStateManager
- Remove some unused code / comments
- Add a bunch of TODOs
2020-08-10 17:58:54 +02:00
Andy Rozman 1ebb7144ec - reenable fabric events 2020-08-10 14:18:04 +01:00
Milos Kozak 4bacfad0db fix empty mgdl local profile 2020-08-10 13:06:27 +02:00
Bart Sopers 8ed802d91b Improve information on Pod tab 2020-08-09 21:03:40 +02:00
Bart Sopers e74e80a4ce Inject RileyLinkServiceData in SetPreamble command and remove some unused code 2020-08-09 19:11:00 +02:00
Milos Kozak 817ec086a1 prevent IndexOutOfBoundsException 2020-08-09 17:43:51 +02:00
Bart Sopers 1787afda98 Daggerize AapsPodStateManager 2020-08-09 16:41:16 +02:00
Bart Sopers da2c2110da Load pod state after initializing PodStateManager 2020-08-09 14:06:45 +02:00
Bart Sopers 050816ddf9 Restore accidentally removed code 2020-08-09 14:04:24 +02:00
Bart Sopers 62bda451a0 Prevent NPE 2020-08-09 13:36:08 +02:00
Bart Sopers e5274e2d3a - Extract abstract class for PodStateManager on driver level
- Remove PodStateChangedHandler
- Add new fields to PodState
- Add Lot, Tid and Firmware Version in Pod tab
- Various small improvements
- Add some FIXMEs
2020-08-09 13:24:48 +02:00