mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-16 21:28:33 +03:00
the waiting time (WT) is used to detect timeouts (e.g. for unresponsive card or just to signal an error/NAK). it is essential to detect to timeout to end current data transfer (e.g. change state). by default (after a reset) to timeout is 9600 ETU, but this can change at two places: - after the ATR using the value of TC2 (if present) - after a PPS (only F is used, and not D) because the timeout value can be larger than the 16-bit of the USART TO register, an external variable needs to be used for the count down. Change-Id: I9735660ffce161cec8d4e63fa60a66fc8ef57525