commit | 538e19ee2e2a8c2d463f1c03d2038e2d7161ae0e | [log] [tgz] |
---|---|---|
author | Robert Lubos <robert.lubos@nordicsemi.no> | Mon Jan 18 13:13:26 2021 +0100 |
committer | Anas Nashif <anas.nashif@intel.com> | Mon Jan 18 23:22:37 2021 -0500 |
tree | fe99c3795381a7e1c6fa5157b73e4fafe5e02961 | |
parent | 812914ff5d001fb6a905bdfa8a7bb31567b54b7b [diff] |
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: Robert Lubos <robert.lubos@nordicsemi.no>