UART RECV
With RECV command you can receive one or more ASCII characters from external UART of Carberry.
Synopsis
UART RECV [<LEN>]
RECV accepts an optional parameter indicating the maximum number of characters to read from UART.
Return
RECV command returns one (or more) line(s) containing the characters read from UART, followed by a line containing OK.
If there are no characters waiting for reading, the command returns only OK line.
Examples
Receiving some characters:
UART RECV Hello World! OK
UART RECV
OK
Receiving a maximum of eight characters at a time:
UART RECV 8 Hello Wo OK UART RECV 8 rld! OK
UART RECV 8 OK