Skip to content

Add what a receiver needs to refuse a remote command - #704

Open
bjorkert wants to merge 1 commit into
LoopKit:next-devfrom
bjorkert:remote-guard
Open

bjorkert wants to merge 1 commit into
LoopKit:next-devfrom
bjorkert:remote-guard

Conversation

@bjorkert

@bjorkert bjorkert commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Adds the send time, what the sender had seen, and a refusal whose text goes back to the sender. Context in LoopKit/LoopWorkspace#594.

RemoteCommandContext carries the send time of a remote bolus or carb command and the treatments the sender had seen. A receiver throws RemoteCommandRejection to refuse a command, and its replyText is sent back to the sender.
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.

1 participant