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

net: coap: Rework pending retransmission logic



Introduce retransmission counter to the coap_pending structure. This
allows to simplify the retransmission logic and allows to keep track of
the number of remaining retranmissions.

Additionally, extend the `coap_pending_init()` function with `retries`
parameter, which allows to set the retransmission count individually for
each confirmable transaction.

Fixes #28117

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