Skip to content

Correctly handle multi-packet PAT#182

Open
julijane wants to merge 1 commit into
Comcast:masterfrom
julijane:juli/handle-multi-pkt-pat
Open

Correctly handle multi-packet PAT#182
julijane wants to merge 1 commit into
Comcast:masterfrom
julijane:juli/handle-multi-pkt-pat

Conversation

@julijane
Copy link
Copy Markdown

@julijane julijane commented May 27, 2026

The old code did not handle PAT which do not fit into single packet correctly. This adds a PAT accumulator and fixes ReadPAT to use that. A test using a multi packet PAT (real-world data) and tests for the accumulator were added.

The old code did not handle PAT which do not fit into single packet correctly. This adds a PAT accumulator and fixes ReadPAT to use that. A test using a multi packet PAT (real-world data) and tests for the accumulator were added.
@julijane julijane force-pushed the juli/handle-multi-pkt-pat branch from f2b94df to 9e6d28f Compare May 27, 2026 22:05
@julijane
Copy link
Copy Markdown
Author

julijane commented May 28, 2026

Question to the maintainers: The new accumulator function is not really something new, it is the same code as in PmtAccumulatorDoneFunc.

Instead of duplicating the code the existing function might be renamed maybe into for example PSIAccumulatorDoneFunc (or something similar) and then be used in multiple places. The existing PmtAccumulatorDoneFunc could be removed (breaking change) or just call the renamed function (and marked as deprecated, to be eventually removed).

WDYT?

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