Repository navigation
Conversation
jphickey
force-pushed
the
fix-189-protocol-msg-encode
branch
2 times, most recently
from
December 3, 2026 20:41
5cfa4ac to
cd3b874
Compare
Define a C struct for each of the SBN protocol messages along with a dedicated encode/decode routine for that structure. Move all encode operations into the corresponding codec source unit, rather than being mixed with other logic.
jphickey
force-pushed
the
fix-189-protocol-msg-encode
branch
from
December 3, 2026 20:58
cd3b874 to
69db81a
Compare
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.
Describe the contribution
Define a C struct for each of the SBN protocol messages along with a dedicated encode/decode routine for that structure. Move all encode operations into the corresponding codec source unit, rather than being mixed with other logic.
Fixes #189
Testing performed
Run SBN with and without EDS, confirm normal operation in both cases
Expected behavior changes
Protocol message encode/decode is now well separated from the business logic of interpreting/generating that message.
System(s) tested on
Linux
Additional context
In EDS builds the encoding is done by EDS, which now permits the entire message payload to be encoded before sending to the peer. This permits use of SBN in heterogeneous environments by ensuring all network data has the proper byte order and padding, without platform-specific differences.
Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.