sendTimeout
Configure the per-send ACK timeout.
Unicast packets sent with wantAck = true are placed in SendState.Sent after the device acknowledges queuing, then the engine waits up to duration for a routing ACK back from the destination. If none arrives the handle transitions to SendState.Failed(SendFailure.AckTimeout). Broadcasts never receive a routing ACK and are not affected by this timeout.
Default: 30 seconds.
// Aggressive: fail fast in low-latency LANs.
.sendTimeout(5.seconds)
// Lenient: long mesh paths, sleepy nodes.
.sendTimeout(2.minutes)Content copied to clipboard