Commit graph

52 commits

Author SHA1 Message Date
Andy Rozman
ba8c436136 - added battery display, should be done 2021-03-18 00:08:04 +00:00
Milos Kozak
8db8edc3f6 Careportal -> Room 2021-03-08 20:10:02 +01:00
Milos Kozak
b575c1b34c
Merge pull request #400 from andyrozman/bug138_tbr_for_high_values
Bug138 tbr for high values
2021-03-07 18:19:29 +01:00
Milos Kozak
563bee2faf PumpDescription -> kt 2021-03-07 15:19:51 +01:00
Milos Kozak
2ea423c704 PumpEnactResult -> kt 2021-03-07 13:31:11 +01:00
Andy Rozman
4232679c06 - small change (removed unneeded code) 2021-03-07 00:57:13 +00:00
Andy Rozman
2738cf7fce - TBR was incorrectly interpretted for high TBR values 2021-03-07 00:46:53 +00:00
Milos Kozak
3b5b945fea TemporaryTarget -> room database 2021-03-01 12:42:42 +01:00
Milos Kozak
beffe11190 RegExp lints fix 2021-02-24 13:51:31 +01:00
Milos Kozak
b9d03e4d00 make classes static where possible 2021-02-24 13:50:35 +01:00
Milos Kozak
fdb6bcc178 @NonNull lints 2021-02-24 13:46:38 +01:00
Milos Kozak
c501a41824 dependency injection and manifests cleanup 2021-02-21 20:11:22 +01:00
Milos Kozak
341a536011 PumpInterface -> kt 2021-02-16 21:30:47 +01:00
Milos Kozak
af1ee97d83 cleanup 2021-02-14 15:09:06 +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
ee6cd22d24 MedtronicFragment -> jetpack 2021-02-03 23:02:14 +01:00
Milos Kozak
2ab27f5eb9
Merge pull request #197 from AAPS-Omnipod/rl_battery_level_medtronic
Show RL battery level for Medtronic & add setting to enable battery change logging for Omnipod
2021-01-08 13:39:19 +01:00
Bart Sopers
169443e5f7 Also retrieve battery level for Medtronic and show it in RileyLink status fragment 2021-01-07 00:05:07 +01:00
Andy Rozman
d1fca8f37d Merge branch 'dev' into crashalytics_280_jan21 2021-01-05 20:54:47 +00:00
Andy Rozman
66db7bc89b - problems found on crashalytics 2021-01-05 20:52:45 +00:00
p5nbTgip0r
549745017b
Fix reservoir changes on MDT pumps being logged as cannula changes
When the cannula tubing is primed on Medtronic pumps (manual prime), the history entry that gets logged is the same type as a fixed-prime (for priming the cannula after it has been inserted) so any time the reservoir was replaced AAPS would log a site change which reset autosens unnecessarily and also led to inaccurate reporting of insulin/cannula changes in Nightscout.

This commit aims to fix that by checking the `FixedAmount` data entry of `Prime` history entries to detect whether the prime was a manual-prime (priming tubing) or fixed-prime (priming cannula) and skip logging a site change event if it is the former. In order to automatically log insulin reservoir replacements, this commit also adds a monitor for `Rewind` history entries which logs an `InsulinChange` event for them (similar to the priming monitor).
2020-12-28 18:19:57 -08:00
Bart Sopers
4ab0eab4a8 Also store and show RileyLink name 2020-12-26 13:47:55 +01:00
Milos Kozak
d035e13203
Merge pull request #141 from AAPS-Omnipod/omnipod_eros_dev_upstream_merge
Bugfixes and improvements in RileyLink selection, code cleanup in RileyLinkStatusFragmentGeneral
2020-12-25 14:33:05 +01:00
Bart Sopers
f596348d85 Workarounds for some bugs in RL scanning UI 2020-12-25 02:05:37 +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
Bart Sopers
cf7069e64b Omnipod: improve error messages and notifications and reorganize string resources 2020-09-24 22:52:21 +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
5b6ba9ea6d Remove unused methods 2020-08-21 22:52:35 +02:00
Bart Sopers
5d426bf697 Add some methods to RileyLinkPumpDevice interface to replace access to PumpStatus in RileyLink module 2020-08-21 21:16:24 +02:00
Steffen Müthing
eb909ab924 Turn RileyLinkMedtronicService into a singleton 2020-08-19 13:11:29 +02:00
Steffen Müthing
a42c5e701e Add @Inject to RileyLinkMedtronicService constructor
`@Inject`ed types should always have the annotation on their constructor,
otherwise dependency resolution might break.
2020-08-19 13:10:27 +02:00
Steffen Müthing
f3bb80c25b Use dagger to inject MedtronicCommunicationManager into RileyLinkMedtronicService 2020-08-19 13:10:02 +02:00
Steffen Müthing
303faf825a Clean up imports 2020-08-19 13:09:27 +02:00
Steffen Müthing
ba69b2ffd3 Turn MedtronicCommunicationManager into a singleton 2020-08-19 13:08:34 +02:00
Steffen Müthing
680f3f94d6 Inject AndroidInjector into RileyLinkCommunicationManager using dagger 2020-08-19 13:06:21 +02:00
Bart Sopers
e39c222203 Small Dagger improvements 2020-08-18 23:52:45 +02:00
Bart Sopers
4a0e8aa518 Refresh buttons in Pod Management fragment on EventRileyLinkDeviceStatusChange and indicate when we're still waiting for a RL connection 2020-08-18 19:15:35 +02:00
Steffen Müthing
e432346fc5 Turn RFSpy and RileyLinkBLE into Dagger singletons 2020-08-18 00:25:17 +02:00
Bart Sopers
7b9cbe7497 Restore RL history for Omnipod 2020-08-17 22:00:56 +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
Andy Rozman
cb674fb416 - fix to ChangeSensorSetup2 it has now two lengths for different models: 37, 41 2020-08-03 16:57:50 +01:00
Andy Rozman
557568b353 - fixed some cosmetical changes
- fixed problem with initialization, now MDT is initialized at once
2020-07-31 16:39:56 +01:00
Andy Rozman
8e438f05fe - some changes with package fixes 2020-07-25 00:39:56 +01:00