Properties
Link copied to clipboard
TCP connect timeout. A failed connect just feeds the reconnect/backoff loop, so it is not fatal.
Link copied to clipboard
Link copied to clipboard
Maximum reconnect retries. Set to Int.MAX_VALUE to retry indefinitely — the caller (TcpTransport.stop) owns the cancellation lifecycle.
Link copied to clipboard
Link copied to clipboard
Minimum session duration for backoff to reset. Sessions shorter than this that ended in peer-EOF are treated as transient firmware-side disconnects (e.g., ESP32 light sleep closing the TCP PhoneAPI session after a config dump) and do NOT reset the backoff — the growing delay gives the radio time to recover between attempts instead of hammering it at 1 Hz.
Link copied to clipboard
Link copied to clipboard
Per-read inactivity timeout. Combined with SOCKET_RETRIES this gives the 90s idle-disconnect window.
Link copied to clipboard