Skip to content

RileyLinkKit: High-level device interface#71

Merged
loudnate merged 10 commits into
bolus-basal-time-commandsfrom
loudnate/naterade-embedded-0.8
Apr 19, 2016
Merged

RileyLinkKit: High-level device interface#71
loudnate merged 10 commits into
bolus-basal-time-commandsfrom
loudnate/naterade-embedded-0.8

Conversation

@loudnate

Copy link
Copy Markdown
Collaborator

This is an nearly-exact port of the interfaces I've been using in Naterade since August of last year. It provides a high-level interface for working with RileyLink devices and running pump commands.

Here's an example of where my LoopDataManager enacts its recommended temp basal

@ps2

ps2 commented Apr 17, 2016

Copy link
Copy Markdown
Owner

Is this something that should eventually just be part of the RLBLE classes, or do you see it staying as a separate layer?

@ps2

ps2 commented Apr 17, 2016

Copy link
Copy Markdown
Owner

Ah, guessing keep it separate as it depends on MinimedKit. I can see the utility it provides. LGTM

@loudnate

Copy link
Copy Markdown
Collaborator Author

Yeah. I think we instruct folks to use the RileyLinkDeviceManager class if they're working with Minimed pumps, and update the RileyLink example app to follow.

I also plan to normalize both of our device utility interfaces into a single root view controller, and include them in RileyLinkKit.

On Apr 17, 2016, at 12:33 PM, Pete Schwamb notifications@github.com wrote:

Ah, guessing keep it separate as it depends on MinimedKit. I can see the utility it provides. LGTM


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

@loudnate loudnate merged commit f5db2da into bolus-basal-time-commands Apr 19, 2016
@loudnate loudnate deleted the loudnate/naterade-embedded-0.8 branch April 19, 2016 00:58
marionbarker added a commit to loopnlearn/rileylink_ios that referenced this pull request Oct 7, 2022
* Updates for improved commonality and to better match Loop
+ Message updates for Omnipod commonality and to match Loop
+ Improved BolusExtraCommand CustomDebugStringConvertible to match Loop
+ Rename StatusResponse insulin to insulinDelivered to match Loop
+ Make StatusResponse reservoirLevel non-optional to match Loop
+ Add additional StatusResponse initializers to match Loop
+ Rename DetailedStatus insulin to insulinDelivered to match Loop
+ Make DetailedStatus reservoirLevel non-optional to match Loop
+ Various UnfinalizedDose updates to better match Loop
+ Update updateFromStatusResponse() so insulin delivered never decreases
+ Derive StatusResponse from DetailedStatus when needed
+ Remove now uneeded updateFromDetailedStatusResponse()
+ Remove inconsistent termination of PodCommsError recovery strings

+ Rename VersionResponse pmVersion to firmwareVersion to match OmniBLE
+ Rename VersionResponse prVersion to iFirmwareVersion to match OmniBLE
+ Update PodState firmware ordering to match VersionResponse layout
+ Improved and cleaned up PodStateTests using more VersionResponse fields

* Various backports and additional updates
+ Fix calls to store() when comms were unsuccessful
+ Account for non-zero cannulaInsertionUnitsExtra in initial updates
+ Updated StatusResponse CustomDebugStringConvertible extension
+ Remove useless completionBeep options for basal enabling session funcs
+ Updated bolus timing
+ deactivatePod() cleanup
+ Add additional delivery state checking for failed setBasalSchedule
+ Updates to handle possible basal state mismatches
+ Improvements for uncertainly resolution in updateDeliveryStatus()
+ Only display DetailedStatus faultEventCode for actual pod faults
+ New convenience utility funcs for reservoirLevel checking & display
+ Rename pumpManager readPodStatus() to getDetailedStatus()
+ Improved and more consistent commenting

* Add back missing commands to end of MDT Pump Settings menu
Delete unreferenced RileyLinkMinimedDeviceTableViewController.swift

* Don't display a MySentry Pair command for non-MySentry pumps

Co-authored-by: Joe Moran <mojo@moranfoundation.org>
Co-authored-by: Marion Barker <marionbarker@earthlink.net>
loopkitdev pushed a commit to loopkitdev/RileyLinkKit that referenced this pull request Mar 12, 2026
loopkitdev pushed a commit to loopkitdev/RileyLinkKit that referenced this pull request Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants