uartExpect - Set expectation for uartAwait

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

Usage:

- command: uartExpect UART0|UART1 <expect> [noflush]
  [retry: <retryCount>]

Argument

Description

UART0, UART1

UART port

expect

String to expect with subsequent uartAwait command

noflush

Don’t flush receive buffer before extraction

retryCount

Number of times to retry the test step (optional)

Examples