Commit graph

600 commits

Author SHA1 Message Date
Bart Sopers
31938547a5 Fixes for PodStateManager 2020-08-08 21:38:08 +02:00
Bart Sopers
10cde3e744 More improvements for PodStateManager 2020-08-08 19:05:36 +02:00
Bart Sopers
2a73127202 Small code improvements for PodStateManager 2020-08-08 18:52:49 +02:00
Bart Sopers
76d267dce4 Prevent NPE 2020-08-08 18:44:33 +02:00
Bart Sopers
3bc53544a2 Bug fixes and improvements in PodStateManager stuff 2020-08-08 18:37:10 +02:00
Bart Sopers
b50670cceb Replace PodState with PodStateManager 2020-08-08 18:16:37 +02:00
Bart Sopers
a06d78b0b7 Add dagger annotations in AapsPodStateManager 2020-08-08 15:42:53 +02:00
Bart Sopers
ffb518f50f Introduce PodStateManager 2020-08-08 15:26:51 +02:00
Bart Sopers
80e8d094df Improve pod status text 2020-08-06 23:01:28 +02:00
Bart Sopers
d446751d8a Correctly load Pod state from Shared Preferences after startup 2020-08-06 20:19:15 +02:00
Andy Rozman
eafb68d496 - small change init of RfSpyReader
- changed log in RfSpy
2020-08-02 15:28:07 +01:00
Andy Rozman
11c71149ad - added firmware versions
- changed faulty init in RadioResponse
- added some logging
2020-08-02 14:46:07 +01:00
Andy Rozman
faeb2576a9 - added real pod status to pod status 2020-08-01 19:54:58 +01:00
Andy Rozman
54d30cd8c4 - reverted some of my changes
- fixed problem that service doesn't start with AAPS, but with Tab click
2020-07-31 19:00:00 +01:00
Andy Rozman
19675b1951 - change onStart 2020-05-10 23:19:11 +01:00
Andy Rozman
80f5b3cf4b - changes on service starting (moved from cnst to onStart method)
- change RileyLinkBLE to stop reader
- added log for start and stop of service
2020-05-10 14:08:56 +01:00
Andy Rozman
c00d6344e5 - added some code to RileyLinkBLE 2020-05-09 12:09:47 +01:00
Andy Rozman
d177e08355 - changed build file
- some changes to RileyLinkBLE to handle displaying Error
- loadSessionState from util used
- remove driver specific identifier functionality from RileyLinkService
2020-05-09 12:03:17 +01:00
Andy Rozman
e2e4c6a17f - show RL status 2020-05-08 18:38:04 +01:00
Andy Rozman
480aac2d18 - RL status refresh 2020-05-08 15:23:02 +01:00
Andy Rozman
745b59cbed -initpodtask possible fix 2020-05-08 12:20:29 +01:00
Andy Rozman
bd39e246f3 - refactor OmnipodUIComm to support Dagger injections
- added DeviceCommandExecutor interface
- added method to interface RileyLinkPumpDevice
2020-05-07 22:41:24 +01:00
Andy Rozman
a915c279d4 Merge branch 'omnipod_eros_dev' of github.com:AAPS-Omnipod/AndroidAPS into omnipod_eros_dev 2020-05-07 21:22:22 +01:00
Andy Rozman
6f3379037b - added logging at RfSpy where we select frequency 2020-05-07 21:21:47 +01:00
Bart Sopers
4dc3440637 Restore null check in RuleyLinkCommunicationManager 2020-05-07 22:09:23 +02:00
Bart Sopers
c1fc6d4864 Merge branch 'dev' into omnipod_eros_dev 2020-05-07 21:11:12 +02:00
Andy Rozman
674cd1c0ae Merge branch 'omnipod_eros_dev' of github.com:AAPS-Omnipod/AndroidAPS into omnipod_eros_dev 2020-05-07 00:43:18 +01:00
Andy Rozman
4f79b49e10 - changed loader to OmnipodUtil
- Modules
2020-05-06 23:34:05 +01:00
Bart Sopers
bafffad44a Use transient keyword instead of Gson annotation for PodSessionState members that should be exluded of (de)serialization 2020-05-06 21:41:33 +02:00
Milos Kozak
bba7adc9aa fix Runnables after protection check, cleanup 2020-05-05 22:42:16 +02:00
Andy Rozman
f3c4b4e5e7 Merge branch 'omnipod_eros_dev' of github.com:AAPS-Omnipod/AndroidAPS into omnipod_eros_dev 2020-05-05 13:50:53 +01:00
Andy Rozman
e51e3daeb1 - added Expose attribute to all varaiables in PodSessionState
- OmnipodUtil: Gson now uses only Expose fields
2020-05-05 13:49:55 +01:00
Bart Sopers
9b089621fa Use allowed default for SP.getString in RileyLinkOmnipodService 2020-05-05 13:35:49 +02:00
Andy Rozman
2de1761555 - look at current pump service (either MDT or POD), RL Boradcast Receiver worked with internal instance, which wasn't correct, might need to refactor RileyLinkBroadcastReceiver further to be singelton... 2020-05-05 10:32:25 +01:00
Bart Sopers
32ce3ee18a enable PUMPBTCOMM by default for Omnipod branch 2020-05-05 02:34:08 +02:00
Bart Sopers
53e6cd4ef2 Apply several fixed from @andyrozman after Omnipod dagger merge 2020-05-05 02:03:01 +02:00
Bart Sopers
20f9f88d4b Use allowed default for SP.getString 2020-05-05 01:05:57 +02:00
Bart Sopers
f7f5e0ce19 Replace static reference with member reference 2020-05-05 00:28:27 +02:00
Andy Rozman
7db7e07a70 - added SP to OmnipodUtil 2020-05-04 23:25:03 +01:00
Bart Sopers
7fa1ebfe38 Merge branch 'omnipod_eros_dev' into omnipod_eros_dev_dagger_with_initialization_fixes 2020-05-05 00:15:44 +02:00
Bart Sopers
d8eb777b4c Restore more formatting 2020-05-04 23:36:00 +02:00
Bart Sopers
df2de82810 Apply @andyrozman's fixes for compilation errors 2020-05-04 23:06:15 +02:00
Bart Sopers
71d5409344 Revert "- removed dependencies to omnipod: Myprefernces, ActivitiesmOdules, AppComponent"
This reverts commit ea0b89cbf8.
2020-05-04 22:50:08 +02:00
Andy Rozman
ea0b89cbf8 - removed dependencies to omnipod: Myprefernces, ActivitiesmOdules, AppComponent
- fixed commpiling problem
- removed OmnipodService from Manifest
2020-05-04 17:51:06 +01:00
Bart Sopers
1798d260eb Merge branch 'dev' into omnipod_eros_dev_dagger_history_fix 2020-05-04 17:36:29 +02:00
Milos Kozak
7e6f82d068 Lgging cleanup 2020-05-04 00:14:23 +02:00
Andy Rozman
02366cad62 - small cosmetic change 2020-05-03 16:02:41 +01:00
Bart Sopers
57be461fd4 Don't keep next Pod address in AapsOmnipodManager 2020-05-03 13:59:33 +02:00
Bart Sopers
5b96e18234 Don't log full stack trace of ignored Exception in OmnipodCommunicationService.exchangePackets 2020-05-03 13:50:11 +02:00
Bart Sopers
b676638942 Remove next pod address after succesful pairing 2020-05-03 13:43:06 +02:00