-
Notifications
You must be signed in to change notification settings - Fork 6.9k
feat: add DanaKit #247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add DanaKit #247
Conversation
I will test this again @bastiaanv |
Successful test on 26 April 2025:
Comment:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approve from code review and test.
Plan is to merge into feat/dana (at same level as dev) for final testing before doing a final merge to dev next. |
@bastiaanv I am testing in feat/dana branch. I was not expecting to run into problems. I am getting a threading violation:
![]() I was able to repeat this several times with the same results. I'm not sure if being shown the Dana-i (BLE5) is attached screen following addition of DanaRS-v3 is expected when using a simulator. |
SummaryI believe the problem is in DanaKit in commit Trouble Shooting:Last time I tested integration of DanaKit to LoopWorkspace was with DanaKit commit Problem SummaryThe current failure is:
The crash for both adding and deleting the pump is on line 2057 of LoopWorkspace/Loop/Loop/View Controllers/StatusTableViewController.swift Identify "problem" commitreview commit listLook at recent commits for DanaKit (full list at bottom of this comment): I was suspicious that this commit may have caused an issue with the LoopWorkspace implementation.
test with
|
I tested again with the fix to DanaKit dev branch from 9 August 2025. This was successful. I'll create a new PR using the updated version of LoopKit/LoopWorkspace feat/dana |
oops - I should have completed the test. The build of Loop using updated dev branch for DanaKit succeeded when adding the Dana pump, but failed when disconnecting the Dana pump.
Crashes at same place as was reported before. |
Following merge of PR #308, the LoopKit feat/dana branch works for iOS 18 phones and DanaKit pumps.
However, with the minimum deployment for DanaKitPlug (currently set to 18.1), Loop builds on iOS 15 and 16 phones, but the Dana plugin does not work. Investigating with @bastiaanv whether the minimum deployment for DanaKitPlugin can be changed to 15.6 without affecting the ability of this repository to also support Trio. In tests with the simulator, this modification still worked and enabled Loop to talk to the Dana simulator for iOS 15.8.4 and iOS 16.7.11 devices. |
feat: add DanaKit
After quite some development time and several fixes, I believe DanaKit is ready to merge to Loop!
ping @marionbarker