Serial Timeouts and Retry Guidance
Recommended values:
- Frame payload read timeout:
5 s - Initial command response timeout:
30 s /checkpolling interval:1000-2000 ms
Retry guidance:
- If client did not receive response frame, operation state is unknown.
- If CRC check fails on a received frame, treat response as not received.
- Recover payment state via
/checkusing the samepay_idandtrans. - Do not blindly resend
/cancel,/refund, and/final_confirmon timeout. - For
/showqrcode, prefer/check-based recovery before retrying.