Table of Contents

UART SEND

With SEND command you can transmit an ASCII string to external UART of Carberry.
Optionally you can fit escape sequences into the string, to transmit special caracters.

Synopsis

UART SEND <ASCII_STRING>

Where <ASCII_STRING> is a maximum 256 characters len ASCII string.
Valid escape sequences are:

Sequence Meaning
\\ Transmit a literal backslash, '\'
\a Transmit Alert, ASCII code 7 (BEL)
\b Transmit Backspace, ASCII code 8 (BS)
\f Transmit Formfeed, ASCII code 12 (FF)
\n Transmit Newline, ASCII code 10 (LF)
\r Transmit Carriage return, ASCII code 13 (CR)
\t Transmit Horizontal TAB, ASCII code 9 (HT)
\v Transmit Vertical TAB, ASCII code 11 (VT)
\xhh Transmit the hexadecimal value hh, where hh stands for a sequence of hexadecimal digits ('0'–'9', and either 'A'–'F' or 'a'–'f').

Return

SEND command returns OK.

Examples

Transmitting a string terminating with Carriage Return plus Line Feed:

UART SEND Hello World!\r\n
OK

Transmitting a string terminating with HEX chars 0xF1 0xCA:

UART SEND Other Special Characters \xF1\xCA
OK