uartExpect - Set expectation for uartAwait
Arm a UART response expectation to be waited on with a subsequent uartAwait - Await UART response command. This step itself does not block; it registers the expectation and returns immediately.
Usage:
- command: uartExpect <uartPort> <expect> [noflush]
[retry: <retryCount>]
Argument |
Description |
|---|---|
uartPort |
UART port name: |
expect |
String to expect with a subsequent |
|
Don’t flush the receive buffer before registering the expectation. |
retryCount |
Number of times to retry the test step (optional) |