Skip to content
Discussion options

You must be logged in to vote

Keep IXON | IXOFF — it is the right call, though for a different reason than the one you gave

The part that actually fixes 4b is IXON. On a Linux tty, IXON means "act on flow characters received from the peer": the tty pauses its own transmit on XOFF, resumes on XON, and — the part that matters here — consumes those 0x11/0x13 so they never reach otbr-agent's HDLC decoder. That is the "escape them properly" behaviour you are after, and IXON alone delivers it.

IXOFF is the other direction: it lets the host emit XOFF/XON to the radio when its own input buffer runs low (n_tty throttles when fewer than 128 bytes of the 4096-byte buffer are free). That is not needed to fix 4b — but it is not de…

Replies: 30 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@hlyi
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by hlyi
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants