UART RX
With RX command you can receive one or more bytes in HEX notation from external UART of Carberry.
Synopsis
UART RX [<LEN>]
RX accepts an optional parameter indicating the maximum number of data bytes to read from UART.
Return
RX command returns one (or more) bytes in HEX notation read from UART, followed by a line containing OK.
If there are no bytes waiting for reading, the command returns only OK line.
Examples
Receiving some data bytes:
UART RX 00112233445566778899AABBCCDDEEFF OK UART RX OK
Receiving a maximum of eight characters at a time:
UART RX 8 0011223344556677 OK UART RX 8 8899AABBCCDDEEFF OK UART RX 8 OK