Support use of OmnipodKit#2426
Conversation
* when OmniBLE or OmniKit was used to start pod, this code allows OmnipodKit to control pod, * this is a one-way trip from OmniXXX to OmnipodKit for that pod
…ically transfer pod to OmnipodKit
Updated CommitThe last commit, ca7a4b2, makes it so the OmnipodKit pump manager only takes over control of the pod previously paired with OmniBLE or OmniKit for the case where the pump manager used for pairing is not included in the build but the OmnipodKit pump manager is included. For the case where all three pump managers are in the build, a pod started with a given pump manager will stay with that pump manager. |
Test CasesRepeat for each pod type:
|
Test✅ Successful Test.
ConfigurationAll tests are done with Loop 3.14.1 on an SE 2nd gen test phone running iOS 18.7.8. For each clone listed below, after setting up the desired branch, clean the build folder, close and reopen the workspace before the first build to ensure only the desired plugins are included. Set up three clones on my local disk (this makes switching between builds easier). Each clone has a nickname that will be used throughout this test:
To determine the name of the pump manager, Tap the pod icon to open the Omnipod screen, tap on Pod Diagnostics, Tap on Pump Manager Details, record the first line Test DASHTest No Transition when OmniBLE is presentPair an rPi DASH pod using Loop-dev
Test Automatic Transition when OmniBLE is NOT presentContinue with the same test configuration
Test completed successfully, deactivate the pod and delete the pump manager before going to the next test. Test ErosTest No Transition when OmniKit is presentPair an Eros pod using Loop-dev
Test Automatic Transition when OmniKit is NOT presentContinue with the same test configuration
|
Purpose
Allow the new pump manager, OmnipodKit, to work with an already paired pod using Loop.
Overview
OmnipodKit supports all pod types.
Eventually OmniBLE and OmniKit will be discarded.
Modification
This modification enables OmnpodKit pump manager to take over control of a Classic or DASH pod already paired with Loop for the case where OmniBLE and OmniKit have been removed as submodules in LoopWorkspace.
If the submodules for OmniBLE and/or OmniKit are present, then they continue controlling the pod even if OmnipodKit is available as a pump manager.
Warning
If you build a LoopWorkspace which has OmnipodKit but not OmniBLE and OmniKit, then it is a one-way trip for that pod.
You cannot go back to a build with does not have OmnipodKit installed without changing pods.