Repository navigation
Add MMS association and report subscription runtime - #13
Merged
Merged
Conversation
masarray
marked this pull request as ready for review
August 6, 2026 10:01
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This was referenced Sep 16, 2026
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Supersedes #12 after Phase 4A was squash-merged to
main. This PR contains the same validated Phase 4B tree, rebuilt as one clean commit directly on top of the newmain.Scope
Phase 4B adds an application-injected MMS association lifecycle and IEC 61850 report subscription runtime above the merged Phase 4A offline reporting layer.
Association lifecycle
MmsByteTransportabstraction with connection, send, receive, close, deadline, and cancellation semantics.Report subscription runtime
Resv=truewhen required.DatSet,TrgOps, andOptFldsbefore enabling.RptEna=trueand optionally issue GI.std::stop_token, feeding report bytes through the Phase 4A decoder and bounded monitor.RptEnaand releasing only reservations acquired by this runtime.cleanup_requiredwhen the association disappears before cleanup and support retry after reconnect.Validation
Safety boundary
The core library does not provide or automatically create a TCP socket backend. Live network and IED access is possible only when an application deliberately supplies an
MmsByteTransportimplementation. IEC 61850 control services, BRCB EntryID resume, purge, replay, and overflow recovery remain outside Phase 4B.