- data link escape and start of headingīut what if the payload is binary data containing two consecutive bytes equivalent to DLE and ETX? how should those bytes be escaped?.The Wikipedia page on control characters says a packet could be sent like this: The problem: either I'm not understanding it correctly, or it's not capable of doing what I want. I would rather not re-invent the wheel, so I'm wondering if some ASCII implementation would work, using ASCII control characters in some standard way. I want a simple, light-weight way for two basic 8-bit MCUs to talk to each other over an 8-bit UART connection, sending both ASCII characters as 8-bit values, and binary data as 8-bit values.
0 Comments
Leave a Reply. |