Commit graph

8707 commits

Author SHA1 Message Date
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
dd795463cf Update wizard pager dependency 2020-08-12 17:13:09 +02:00
Andy Rozman
6e8ff3326b Merge branch 'omnipod_eros_dev' of github.com:AAPS-Omnipod/AndroidAPS into omnipod_eros_dev 2020-08-12 13:52:57 +01:00
Andy Rozman
af18b2f642 - new version of wizard pager library 1.1.4 2020-08-12 13:52:35 +01: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
ef05654133 Update Wizardpager version in build.gradle 2020-08-11 21:04:58 +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
Andy Rozman
c40b64a6ac - added new library 1.1.3 (previous was 1.1.2 but had wrong number on it) 2020-08-11 18:57:40 +01: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
ae86e7fc06 - change version 2020-08-11 00:40:26 +01: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
bartsopers
4d04353e7b
Merge pull request #129 from AAPS-Omnipod/omnipod_eros_dev_podstate
Rework Pod state management
2020-08-09 21:06:39 +02:00
Bart Sopers
8ed802d91b Improve information on Pod tab 2020-08-09 21:03:40 +02:00
Bart Sopers
4724cf6048 Fix AapsPodStateManagerTest 2020-08-09 20:27:21 +02:00
Bart Sopers
e74e80a4ce Inject RileyLinkServiceData in SetPreamble command and remove some unused code 2020-08-09 19:11:00 +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
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
Andy Rozman
337c61d500 - added dependency 2020-08-08 15:16:50 +01: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
95ef79e8e0 - fix for FoodFragment (fixed by Adrian on dev) 2020-05-10 16:11:36 +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