Repository navigation
Match replies by osc/xid - #12
Merged
Merged
Conversation
Varitras
commented
Nov 1, 2026
Owner
- Every value request carries a transaction id; a reply line with another id is a late answer and dropped. Error replies echo the id too (measured on both models).
- The stale-line drain now runs only after an answer matched by path, so it no longer costs 10 ms per request.
- Requests the id would push past the 29-token limit (20-band EQ sets) and the discovery's schema/limits walk go without one.
- Simulator: read-only fields answer 405 on LOCAL, error replies echo the xid, requests over 29 tokens get 413.
Measured on a KH 120 II: writability is checked before the CONTROL switch, so only a writable leaf gets 401.
Every value request carries a transaction id; a line with another id is a late answer and dropped, so the stale drain is only needed after an answer matched by path. Requests over the 29-token limit go without an id.
A firmware sending the xid before the value left the value line behind, to be taken as the answer to the next request. A JSON null with the own xid is the answer, not a gap.
Measured on both models: a flat 413 without an xid.
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.