Send String
Send an arbitrary string to the device. Operates in two modes:
- Hex Mode. If the string starts with “0x”, the rest of the string will be interpreted as hex. Spaces are allowed but ignored.
- Text Mode. The string will be processed to replace any backslash escapes and sent as text.
In text mode a Control-C character may be sent using any of the following strings:
^C
\d003
\x03
Escapes
Escape | Sends |
---|---|
\n | Line Feed (0x0A) |
\r | Carriage Return (0x0D) |
\e | Escape (0x1B) |
\ | Backslash (0x5C) |
\^ | Caret |
\d??? | The byte whose numerical value is given by ??? interpreted as a decimal number. Must pad to three digits. |
\x?? | The byte whose numerical value is given by ?? interpreted as a hexadecimal number. Must pad to two digits. |
^? | The control character represented by typing Ctrl-? on the keyboard. |