uartExpect - Set expectation for uartAwait

Set a UART response to wait for with the uartAwait command.

Usage:

- command: uartExpect <uartPort> <expect> [noflush]
  [retry: <retryCount>]

Argument

Description

uartPort

UART port name: UART0, UART1, UART2, etc.

expect

String to expect with subsequent uartAwait command. Prefix with ``hex `` to interpret as hex string.

noflush

Don’t flush receive buffer before extraction

retryCount

Number of times to retry the test step (optional)