Skip to content
Commit 33677ef3 authored by Robert Lubos's avatar Robert Lubos Committed by Anas Nashif
Browse files

samples: net: coap_server: Fix retransmission mechanism



The retransmission handler only increased the retransmission count, w/o
sending the actual message again. Additionally, the next retransmission
time calculation was broken - it did not take into consideration the
time that has already passed since before retransmission, and re-applied
the entire timeout value.

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent 2e4eb781
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment