Skip to content

"escape char" for text console? #55

Answered by terjeio
mfp20 asked this question in Q&A
Aug 11, 2021 · 2 comments · 29 replies
Discussion options

You must be logged in to vote

Which char isn't already in use?

Only CR and LF is used in the ASCII control character range, and no top bit set characters. The standard way of sending messages back is by enclosing them in square brackets and prefixing data, e.g [BD:<data>] CR LF Of course ], CR and LF cannot be present in the <data>.

Top bit set printable characters in ISO8859 encodings should not be used - they could be part of feedback messages in gcode.

Replies: 2 comments 29 replies

Comment options

You must be logged in to vote
5 replies
@mfp20
Comment options

@terjeio
Comment options

@mfp20
Comment options

@terjeio
Comment options

@mfp20
Comment options

Answer selected by mfp20
Comment options

You must be logged in to vote
24 replies
@terjeio
Comment options

@mfp20
Comment options

@terjeio
Comment options

@mfp20
Comment options

@terjeio
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants