Commit graph

723 commits

Author SHA1 Message Date
Milos Kozak
3b5b945fea TemporaryTarget -> room database 2021-03-01 12:42:42 +01:00
Milos Kozak
0322dd48ac insight -> lib 2021-02-21 18:03:26 +01:00
Milos Kozak
32873e0730 combo -> new lib 2021-02-21 14:34:31 +01:00
Milos Kozak
f3fb533cf0 fix tests and dependencies 2021-02-18 21:38:36 +01:00
Milos Kozak
531c74de6a use fun instead of val in pump interface 2021-02-17 19:28:43 +01:00
Milos Kozak
0fc570780d MDIPlugin -> kt 2021-02-17 09:35:48 +01:00
Milos Kozak
749bc49ad5 more CommandQueue tests 2021-02-17 09:26:17 +01:00
Milos Kozak
341a536011 PumpInterface -> kt 2021-02-16 21:30:47 +01:00
Milos Kozak
6b9f62fbd5 plusAssign unify 2021-02-08 18:30:11 +01:00
Milos Kozak
cfe23cef96 AapsSchedulers 2021-02-04 20:54:09 +01:00
Milos Kozak
a15522fd50 VirtualPumpFragment -> jetpack 2021-01-26 15:44:14 +01:00
Milos Kozak
22f9ccab32 simplify code 2021-01-16 18:29:18 +01:00
Milos Kozak
f6dbb9e0e3
Merge pull request #121 from osodebailar/configbuilder_icons
Configbuilder icons for all plugins and further minor GUI changes
2020-12-18 23:46:03 +01:00
Bart Sopers
078eec82eb Acknowledge getPumpStatus request in Omnipod plugin when explicitly requested with SMS 2020-12-18 01:43:29 +01:00
osodebailar
39355a4b6f add configbuilder icons for all plugins. rearrange view 2020-12-17 12:07:34 +01:00
Milos Kozak
a5d9d25564
Merge pull request #98 from Rig22/pump_icons
SVG Icons for pumps fragment tab
2020-12-07 21:20:11 +01:00
osodebailar
634efad48f extend Plugin with icon resource for menue and config builder. Integrate plugin icon for pump selection into config builder 2020-12-07 18:51:16 +01:00
Milos Kozak
5f3aaf6b54 code cleanup 2020-12-06 15:09:32 +01:00
Milos Kozak
3f77496c88 automated copy of configuration AAPS -> NSCLIENT 2020-11-27 16:46:33 +01:00
Milos Kozak
b4ff088974 Allow configuring pump type in NSClient 2020-10-25 23:10:09 +01:00
Milos Kozak
154d2af774 activity -> FragmentActivity 2020-10-19 18:40:17 +02:00
Bart Sopers
adb26b3ccf Move CustomCommand interface to queue.commands package 2020-09-14 19:59:20 +02:00
Bart Sopers
feecfc5676 - Add custom queue command mechanism to replace abusing getPumpStatus for this purpose
- Display error and confirmation dialog for commands executed from the Omnipod tab
- Improve Exception logging in AapsOmnipodManager
- A few random improvements and bug fixes
2020-09-14 16:19:09 +02:00
Bart Sopers
cd5bc21b17 Add BatteryReplaceable PumpCapability and hide Battery change button in Actions tab for pumps without this capability (Omnipod); create battery change and insulin change careportal event after activating new Pod 2020-09-03 23:35:03 +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
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
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
Bart Sopers
8ed802d91b Improve information on Pod tab 2020-08-09 21:03:40 +02:00