Skip to content

Instantly share code, notes, and snippets.

@dtex
Created January 23, 2019 16:00
Show Gist options
  • Save dtex/77213ce6ebe9eb6c0a3435ba534273c3 to your computer and use it in GitHub Desktop.
Save dtex/77213ce6ebe9eb6c0a3435ba534273c3 to your computer and use it in GitHub Desktop.
SLIP Escaping

If your frame data is: [blah, blah, blah] send [blah, blah, blah, end]

If your frame data is: [blah, esc, blah] send [blah, esc, esc-esc, blah, end]

If your frame data is: [blah, end, blah] send [blah, esc, esc-end, blah, end]

If your frame data is: [blah, end, esc-end, blah] send [blah, esc, esc-end, esc-end, blah, end]

If your frame data is: [blah, esc, esc-esc, blah] send [blah, esc, esc-esc, esc-end, blah, end]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment