uartReadTimeout - Test if UART is not transmitting
Assert that nothing is received on a UART port. If sendText is given, it is sent first; the step then passes if no data arrives before the timeout elapses, and fails if any data is received.
Usage:
- command: uartReadTimeout <uartPort> [<seconds> [<sendText>]]
[retry: <retryCount>]
Argument |
Description |
|---|---|
uartPort |
UART port name: |
seconds |
Number of seconds to wait for incoming data. If omitted, the timeout in effect from a prior step’s |
sendText |
Text to send before waiting. Prefix with |
retryCount |
Number of times to retry the test step (optional) |
The RX buffer is always flushed immediately before the silence-check begins, discarding any data received prior to the step (and prior to sending sendText, if given).