Skip to content
Commit 6f466cd7 authored by Robert Chou's avatar Robert Chou Committed by Jukka Rissanen
Browse files

net: coap: retransmission for four times

RFC 7252, sec 4.8 [https://tools.ietf.org/html/rfc7252#section-4.8

]
The default MAX_RETRANSMIT is 4, current implementation only
retry 3 times. Update next_timeout() to return one more retry.

Also, add a TODO for random generated initial ACK timeout

Signed-off-by: default avatarRobert Chou <robert.ch.chou@acer.com>
parent 8cdd9bed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment