Last CoAP Send and the Final ACK Wait
Last CoAP Send and the Final ACK Wait
Last CoAP Send and the Final ACK Wait
Step-throughGiven the chapter's bounded CON retry case, locate the last send and the later failure deadline, and explain how an ACK during the final wait changes the outcome.
Worked case
Selected initial wait 2 s · retry limit four · same CON on each retry
Time-scaled CON waits (seconds)
Receipt state
Initial CON sent · awaiting acknowledgment during 2 s wait
Worked case
Selected initial wait 2 s · retry limit four · same CON on each retry
Time-scaled CON waits (seconds)
First retry at 2 s
Initial wait expired with no ACK. Send same CON. Doubled wait: 4 s.
Worked case
Selected initial wait 2 s · retry limit four · same CON on each retry
Time-scaled CON waits (seconds)
Retry at 6 s
Send the same CON again. Doubled wait: 8 s.
Worked case
Selected initial wait 2 s · retry limit four · same CON on each retry
Time-scaled CON waits (seconds)
Retry at 14 s
Send the same CON again. Doubled wait: 16 s.
Worked case
Selected initial wait 2 s · retry limit four · same CON on each retry
Time-scaled CON waits (seconds)
Last send at 30 s
Retries used up
Final ACK wait
Awaiting acknowledgment · 32 s
Time-scaled CON waits (seconds)
Baseline · no matching ACK or RST
Awaiting acknowledgment · deadline still pending
Alternative · matching empty ACK arrives during this wait
Expected receiver endpoint → Matching Message ID → Timer closed · deadline canceled Receipt confirmed · application result pending · physical outcome unknown
Energy audit assumption
The 50 ms radio-listen interval belongs to the device model.
Time-scaled CON waits (seconds)
Baseline at failure deadline
Delivery unconfirmed · receiver state unknown · follow application fallback policy
Alternative
Matching empty ACK closed the retry timer during the final wait.
The initial CON starts the wait. The retry limit counts later sends.
Technical boundaries. The worked case chooses a 2 s initial wait and four retries. The empty ACK branch marks a window of possible arrival times, leaving the exact instant unspecified. It confirms receipt while the application result is pending and the physical outcome remains unknown.